Skip to content
Back to skills

Minimax Usage

ASecurity

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

  • 651 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 10, 2026
toolsgobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add sundial-org/awesome-openclaw-skills --skill minimax-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimax Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimax Usage
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-minimax-usage/badge)](https://www.skillsdirectory.com/skills/sundial-org-minimax-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.io/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.io/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.io/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

Files in this skill

  • SKILL.md1.5 KB
  • minimax-usage.sh2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.