minimax-coding-plan-usageMonitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.
Install via ClawdBot CLI:
clawdbot install franky0617/minimax-coding-plan-usageMonitor Minimax Coding Plan usage to stay within limits.
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")
./minimax-usage.sh
🔍 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.
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
| Metric | Value |
|--------|-------|
| Reset window | 5 hours (dynamic) |
| Max target | 60% usage |
| 1 prompt ≈ | 15 model calls |
Generated Mar 1, 2026
Small AI development teams use this skill to track daily API usage of their Minimax Coding Plan, ensuring they stay within the 60% usage threshold to avoid service interruptions. It helps them plan development sprints by monitoring prompt consumption and reset times, optimizing resource allocation for model testing and deployment.
Freelance developers integrate this skill into their workflow to monitor API usage across multiple client projects using the Minimax Coding Plan. It provides real-time alerts on usage percentages, allowing them to manage costs and avoid exceeding limits, ensuring continuous service delivery without unexpected downtime.
Universities and coding bootcamps use this skill in AI labs to track student usage of the Minimax Coding Plan during coursework and projects. It helps instructors monitor collective API consumption, set usage quotas, and teach students about resource management in AI development environments.
Early-stage startups leverage this skill to monitor Minimax API usage while building minimum viable products (MVPs). It enables them to track prompt usage against their plan limits, forecast scaling needs, and maintain budget control during rapid prototyping and initial user testing phases.
Offer a premium service that integrates this skill with automated alerts and detailed analytics dashboards for teams. Charge a monthly fee for enhanced features like usage forecasting, multi-account management, and integration with project management tools, targeting businesses reliant on Minimax APIs.
Provide a free version of this skill with basic usage tracking and a paid tier offering advanced features such as historical data analysis, custom alert thresholds, and API usage optimization recommendations. Monetize through upgrades and partnerships with AI platform providers.
Develop custom integrations of this skill into enterprise systems for large organizations using Minimax Coding Plans. Offer consulting and support services to embed usage monitoring into existing DevOps pipelines, ensuring compliance with internal resource policies and cost management frameworks.
💬 Integration Tip
Ensure the .env file is securely stored and not committed to version control, and verify the API key and Group ID are correctly set to avoid authentication errors during usage checks.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Gemini CLI for one-shot Q&A, summaries, and generation.
Research any topic from the last 30 days on Reddit + X + Web, synthesize findings, and write copy-paste-ready prompts. Use when the user wants recent social/web research on a topic, asks "what are people saying about X", or wants to learn current best practices. Requires OPENAI_API_KEY and/or XAI_API_KEY for full Reddit+X access, falls back to web search.
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.