# Send Minimax Usage to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "minimax-usage-2",
    "name": "Minimax Usage",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/khaney64/minimax-usage-2",
    "canonicalUrl": "https://clawhub.ai/khaney64/minimax-usage-2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/minimax-usage-2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=minimax-usage-2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/minimax-usage.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "minimax-usage-2",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T16:00:35.036Z",
      "expiresAt": "2026-05-12T16:00:35.036Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=minimax-usage-2",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=minimax-usage-2",
        "contentDisposition": "attachment; filename=\"minimax-usage-2-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "minimax-usage-2"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/minimax-usage-2"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/minimax-usage-2",
    "downloadUrl": "https://openagent3.xyz/downloads/minimax-usage-2",
    "agentUrl": "https://openagent3.xyz/skills/minimax-usage-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/minimax-usage-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/minimax-usage-2/agent.md"
  }
}
```
## Documentation

### MiniMax Usage

Check your MiniMax coding plan credits remaining.

### Usage

# Check remaining credits
minimax-usage.sh

# Only alert when remaining drops below 20%
minimax-usage.sh --threshold 20

### Options

FlagDescription--threshold <percent>Only output when remaining % is below this value. If omitted, always outputs.

### Output

Returns a Discord-formatted message:

Title with model name (warning icon when below threshold)
Remaining requests out of total with percentage
Reset time in Eastern Time
Time left in H:MM:SS

### Example: Below threshold alert

When remaining usage falls below the configured threshold:

⚠️ MiniMax Usage Alert — MiniMax-M1
Remaining: 42 of 500 requests (8.4%)
Resets: Feb 17, 2026 12:00 AM ET
Time left: 7:23:15

When above the threshold, the command produces no output and exits with code 0.

### Cron Job

The --threshold flag makes this ideal for a cron job that runs periodically and only sends an alert when available credits drop below a percentage:

# Check every 30 minutes, alert if below 20%
# Requires MINIMAX_API_KEY to be set in the cron environment
*/30 * * * * minimax-usage.sh --threshold 20 | discord-webhook

No output is produced when usage is above the threshold, so downstream commands (e.g. a webhook) are only triggered when credits are running low.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: khaney64
- Version: 0.1.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-05T16:00:35.036Z
- Expires at: 2026-05-12T16:00:35.036Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/minimax-usage-2)
- [Send to Agent page](https://openagent3.xyz/skills/minimax-usage-2/agent)
- [JSON manifest](https://openagent3.xyz/skills/minimax-usage-2/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/minimax-usage-2/agent.md)
- [Download page](https://openagent3.xyz/downloads/minimax-usage-2)