Install
openclaw skills install minimax-usage-monitorMonitor MiniMax Coding Plan usage via API to track total, used, remaining prompts, reset time, and receive alerts above 80% usage.
openclaw skills install minimax-usage-monitorMonitor MiniMax Coding Plan usage via API. Check remaining prompts, usage percentage, and reset time.
This skill provides a command-line tool to query your MiniMax Coding Plan usage through the official API. It displays:
requests libraryWindows PowerShell (User-level, permanent):
[System.Environment]::SetEnvironmentVariable("MINIMAX_CODING_KEY", "your-api-key-here", "User")
Windows PowerShell (Session-level, temporary):
$env:MINIMAX_CODING_KEY = "your-api-key-here"
Linux/Mac:
export MINIMAX_CODING_KEY="your-api-key-here"
pip install requests
python check_minimax.py
python check_minimax.py --notify
python check_minimax.py --json
=== MiniMax Coding Plan Usage ===
Model: MiniMax-M2
Total Available: 1,500 prompts
Used (all windows): 500 (33.3%)
Remaining: 1,000 prompts (66.7%)
Reset in: 2h 30m
Status: [OK]
In your HEARTBEAT.md:
### MiniMax Usage Check (Hourly)
- Run: python scripts/check_minimax.py --notify
- Alert: Less than 20% remaining
# Add to crontab
0 * * * * /path/to/check_minimax.py --notify
https://www.minimaxi.com/v1/api/openplatform/coding_plan/remainsusage_count as REMAINING prompts, not used!minimax-usage/
├── SKILL.md # This file
├── README.md # Setup guide
├── check_minimax.py # Main script
└── requirements.txt # Python dependencies
MIT