Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add humanerd-drew/opencode-drewgent --skill minimax-usagegit clone --depth 1 https://github.com/humanerd-drew/opencode-drewgentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/minimax-usage)<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/minimax-usage"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/minimax-usage/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/minimax-usage"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/minimax-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01799 |
| Opus 5.5 | $0.00000 | $0.00720 |
| Sonnet 5.5 | $0.00000 | $0.00360 |
| Haiku 4.5 | $0.00000 | $0.00180 |
Grade A, and why
minimax-usage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
name: minimax-usage description: Check MiniMax Token Plan usage, current 5h interval, and weekly remaining — terminal-friendly output (no browser/console). Use when the user asks about "Token Plan 남은거", "minimax 사용량", "리셋까지 얼마", "주간 한도", or wants a quick status check without opening platform.minimax.io/console. title: MiniMax Token Plan — Terminal Usage Check domain: devops space: growth type: workflow tags: [minimax, token-plan, api, usage, {{AGENT_NAME_LOWER}}] created: 2026-06-02 updated: 2026-06-02 links:
- "[[@memory/growth/INTEGRATION_PROTOCOL]]"
- "[[@identity/SELF_MODEL]]"
- "[[@identity/brain/rules]]"---
MiniMax Token Plan — Terminal Usage Check
Skip platform.minimax.io/console — query the Token Plan API directly from the terminal.
1. API Endpoint (discovered 2026-06-02)
GET https://api.minimax.io/v1/api/openplatform/coding_plan/remains
Authorization: Bearer ${MINIMAX_API_KEY}
Why GET, not POST: trial showed POST returns 404 page not found. GET returns JSON.
Auth source: MINIMAX_API_KEY from ~/.{{AGENT_NAME_LOWER}}/.env (also exported in ~/.zshrc).
2. Response Schema (important: percentages, not absolute counts)
{
"model_remains": [
{
"model_name": "general", // "general" = text models (M3, etc.), "video" = video gen
"start_time": 1780376400000, // interval start (ms epoch)
"end_time": 1780394400000, // interval end
"remains_time": 9819982, // ms until interval reset
"current_interval_remaining_percent": 49, // 0~100, percent REMAINING
"current_interval_status": 1, // 0=inactive, 1=active, 2=exhausted, 3=unlimited
"weekly_start_time": 1780272000000,
"weekly_end_time": 1780876800000, // weekly window = 7 days
"weekly_remains_time": 492219982, // ms until weekly reset
"current_weekly_remaining_percent": 48,
"current_weekly_status": 1,
"current_interval_total_count": 0, // ⚠ always 0 — see Pitfall P1
"current_interval_usage_count": 0 // ⚠ always 0
},
// {model_name: "video", ...} typically reports unlimited (status 3, percent 100)
],
"base_resp": { "status_code": 0, "status_msg": "success" }
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 125 lines · 0 tokens per session scan A 333b9e06e71f
minimax-usage is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (3 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,799 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
minimax-usage compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| minimax-usagehumanerd-drew/opencode-drewgent | Skill | 3 | 4mo ago | MIT | A | 0 | Claude Code, Codex |
| agent-platform-model-registrygoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-evaluationsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 25 | Claude Code |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | 2d ago | MIT | A | 35 | Claude Code |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 92 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 30 | Claude Code |