minimax-usage
Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/thesethrose/minimax-usageMinimax Usage Skill
Monitor Minimax Coding Plan usage to stay within limits.
Setup
Create a .env file in the same directory as the script:
MINIMAX_CODING_API_KEY=your_api_key_here
MINIMAX_GROUP_ID=your_group_id_here
Get your GroupId from: https://platform.minimax.io/user-center/basic-information (under "Basic Information")
Usage
./minimax-usage.sh
Output Example
š Checking Minimax Coding Plan usage...
ā
Usage retrieved successfully:
š Coding Plan Status (MiniMax-M2):
Used: 255 / 1500 prompts (17%)
Remaining: 1245 prompts
Resets in: 3h 17m
š GREEN: 17% used. Plenty of buffer.
API Details
Endpoint:
GET https://platform.minimax.io/v1/api/openplatform/coding_plan/remains?GroupId={GROUP_ID}
Required Headers:
accept: application/json, text/plain, */*
authorization: Bearer {MINIMAX_CODING_API_KEY}
referer: https://platform.minimax.io/user-center/payment/coding-plan
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
Limits
| Metric | Value |
|---|---|
| Reset window | 5 hours (dynamic) |
| Max target | 60% usage |
| 1 prompt ā | 15 model calls |
Notes
- Coding Plan API key is exclusive to this plan (not interchangeable with standard API keys)
- Usage from 5+ hours ago is automatically released from the count
Metadata
Not sure this is the right skill?
Describe what you want to build ā we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-thesethrose-minimax-usage": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Agent Browser
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.
npm-search
Search npm packages. Use for finding Node.js/JavaScript packages, libraries, and tools.
marketing-mode
Marketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.
servicenow-agent
Read-only CLI access to ServiceNow Table, Attachment, Aggregate, and Service Catalog APIs; includes schema inspection and history retrieval (read-only).
context7
Context7 MCP - Intelligent documentation search and context for any library