๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ
ๅฐ้พ™่™พๅฐ้พ™่™พAI
๐Ÿค–

ๅ›ฝๅ†…Minimax Coding Plan่ฎข้˜…่ฎกๅˆ’็”จ้‡ๆŸฅ่ฏข

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

ไธ‹่ฝฝ3.4k
ๆ˜Ÿๆ ‡2
็‰ˆๆœฌ1.0.0
็ณป็ปŸๅทฅๅ…ท
ๅฎ‰ๅ…จ้€š่ฟ‡
๐Ÿ’ฌPrompt

ๆŠ€่ƒฝ่ฏดๆ˜Ž


name: minimax-usage description: Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts. metadata: {"clawdbot":{"emoji":"๐Ÿ“Š"}}

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

ๅฆ‚ไฝ•ไฝฟ็”จใ€Œๅ›ฝๅ†…Minimax Coding Plan่ฎข้˜…่ฎกๅˆ’็”จ้‡ๆŸฅ่ฏขใ€๏ผŸ

  1. ๆ‰“ๅผ€ๅฐ้พ™่™พAI๏ผˆWeb ๆˆ– iOS App๏ผ‰
  2. ็‚นๅ‡ปไธŠๆ–นใ€Œ็ซ‹ๅณไฝฟ็”จใ€ๆŒ‰้’ฎ๏ผŒๆˆ–ๅœจๅฏน่ฏๆก†ไธญ่พ“ๅ…ฅไปปๅŠกๆ่ฟฐ
  3. ๅฐ้พ™่™พAI ไผš่‡ชๅŠจๅŒน้…ๅนถ่ฐƒ็”จใ€Œๅ›ฝๅ†…Minimax Coding Plan่ฎข้˜…่ฎกๅˆ’็”จ้‡ๆŸฅ่ฏขใ€ๆŠ€่ƒฝๅฎŒๆˆไปปๅŠก
  4. ็ป“ๆžœๅณๆ—ถๅ‘ˆ็Žฐ๏ผŒๆ”ฏๆŒ็ปง็ปญๅฏน่ฏไผ˜ๅŒ–

็›ธๅ…ณๆŠ€่ƒฝ