minimax-usage
Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install openclaw-skills-minimax-coding-plan-usage
Repository
Skill path: skills/franky0617/minimax-coding-plan-usage
Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack, Backend.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: openclaw.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install minimax-usage into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/openclaw/skills before adding minimax-usage to shared team environments
- Use minimax-usage for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
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:
```bash
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
```bash
./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
---
## Skill Companion Files
> Additional files collected from the skill directory layout.
### _meta.json
```json
{
"owner": "franky0617",
"slug": "minimax-coding-plan-usage",
"displayName": "国内Minimax Coding Plan订阅计划用量查询",
"latest": {
"version": "1.0.0",
"publishedAt": 1769686163598,
"commit": "https://github.com/clawdbot/skills/commit/d6bd1daa579538ec433ded49816c748f5c80e42a"
},
"history": []
}
```