minimax-usage

Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "minimax-usage" with this command: npx skills add franky0617/minimax-coding-plan-usage

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

MetricValue
Reset window5 hours (dynamic)
Max target60% 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ksdsl-skilll

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...

Registry SourceRecently Updated
3640f1zzyw
General

Openclaw Skill Intelligence Ingestion

Auto-analyze URLs/info for OpenClaw strategic value, classify, create Obsidian notes, update memory. Use when user shares a URL, article, tweet, or any exter...

Registry SourceRecently Updated
General

Truth first

Evidence-first verification for status, config, file contents, actions, connectivity, mounts, and model selection. Use before answering any such claim.

Registry SourceRecently Updated
General

http-retry

Automatically retries HTTP requests with exponential backoff, timeout control, and connection pooling to handle network errors and rate limits.

Registry SourceRecently Updated