国内Minimax Coding Plan订阅计划用量查询
Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 2 · 1.9k · 3 current installs · 3 all-time installs
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The skill's name and description align with fetching usage from Minimax. Asking for a MINIMAX_CODING_API_KEY and MINIMAX_GROUP_ID in SKILL.md is consistent with that purpose. However, the registry metadata claims no required environment variables while the runtime instructions explicitly require those two values — this mismatch is unexpected and reduces trust.
Instruction Scope
SKILL.md tells the user to create a .env with MINIMAX_CODING_API_KEY and MINIMAX_GROUP_ID and to run minimax-usage.sh. The instructions otherwise stay within scope (call the Minimax endpoint). But the agent/user is directed to store a secret in a local file (.env) and execute a provided shell script; the skill does not document what the script does in detail. Because the actual script content could read additional files, environment variables, or call other endpoints, the instructions grant broad discretion without transparency.
Install Mechanism
There is no install spec (instruction-only), but a bundled shell script (minimax-coding-plan-usage.sh) is included. Bundled executable scripts are fine if inspected, but the package provides no guidance to review or sandbox the script before running. Without reviewing the script, executing it could write files, run arbitrary commands, or send data elsewhere. The absence of a formal install mechanism means the user likely runs the script directly — review its contents first.
Credentials
The skill reasonably needs MINIMAX_CODING_API_KEY and MINIMAX_GROUP_ID to call the Minimax API. However, the registry metadata lists no required env vars or primary credential, which is inconsistent with the SKILL.md. This mismatch makes it unclear how the platform will surface or protect those credentials; the instructions also suggest storing the API key in a plain .env file (risk if accidentally committed).
Persistence & Privilege
No elevated privileges are requested: always is not set and model-invocation settings are default. The skill does not request permanent presence or unusual system access in the registry metadata.
What to consider before installing
Before installing or running this skill: (1) Inspect minimax-coding-plan-usage.sh line-by-line — confirm it only calls the documented Minimax endpoint and does not read unrelated files, call other domains, or exfiltrate data. (2) Prefer providing a scoped API key with minimal permissions; avoid using long-lived or broad keys. (3) Store secrets securely (not in a repo); if you must use a .env file, add it to .gitignore. (4) Ask the publisher why the registry metadata omits the required env vars and request explicit declaration of required credentials. (5) If unsure, run the script in a sandboxed environment or with network monitoring to observe outbound requests.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
📊 Clawdis
SKILL.md
Minimax 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.com/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.com/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.com/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
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
