← Back to Skills Marketplace
lanhaixuan

Minimax Usage Cn

by lanhaixuan · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
334
Downloads
1
Stars
1
Active Installs
7
Versions
Install in OpenClaw
/install minimax-usage-cn
Description
Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts. Use when checking API quota, monitoring...
Usage Guidance
This skill appears coherent and limited to querying the Minimax usage endpoint. Before installing: (1) Only provide the MINIMAX_API_KEY (do not reuse broader credentials). (2) If you add the cron example, review any notification webhook or email code you add — the example leaves webhook notification as a placeholder. (3) Confirm the endpoint (https://www.minimaxi.com) is the intended provider for your account. (4) Optionally inspect the included script to ensure logging or error handling meets your privacy needs (the script does not print the API key).
Capability Analysis
Type: OpenClaw Skill Name: minimax-usage-cn Version: 1.1.0 The skill is a utility designed to monitor Minimax API usage limits for the Chinese version of the service. It uses a shell script (minimax-usage.sh) to fetch quota data from the official Minimax endpoint and provides human-readable or JSON-formatted status reports. There is no evidence of data exfiltration, malicious execution, or prompt injection; the code logic is transparent and aligns with its stated purpose.
Capability Assessment
Purpose & Capability
Name/description match the actual behavior: the skill only needs curl and MINIMAX_API_KEY to call the documented Minimax endpoint and report usage. Nothing requested (no extra credentials, no unrelated binaries) appears out of scope.
Instruction Scope
SKILL.md and the included script instruct the agent to call the Minimax API endpoint, parse the JSON response, and optionally emit JSON or human-readable output. The instructions do not read unrelated system files or environment variables, nor do they send data to third-party endpoints beyond the Minimax API (example cron shows where a user could add a webhook, but no external webhook is hard-coded).
Install Mechanism
No install spec is provided (instruction-only with a bundled script), so nothing is downloaded or installed automatically. The included shell script runs locally and uses only curl and standard shell tools.
Credentials
Only MINIMAX_API_KEY is required and is declared as the primary credential. That key is appropriate and necessary for the described API calls; no unrelated secrets or config paths are requested.
Persistence & Privilege
The skill is user-invocable and not forced-always. It does not modify other skills or agent-wide settings. The README suggests a cron example (user-controlled) but the skill itself does not install persistence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install minimax-usage-cn
  3. After installation, invoke the skill by name or use /minimax-usage-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
minimax-usage-cn v1.1.0 introduces JSON output mode and cron usage guidance. - Added support for JSON output via --json or -j flag for easier scripting and integration. - Provided detailed instructions for cron job setup, including automated alert examples. - Enhanced documentation: removed trigger/example metadata, clarified usage scenarios, and simplified structure. - Updated requirements metadata: changed "tools" to "bins" for dependency listing. - Minor doc cleanups for clarity and actionable guidance.
v1.0.5
- Improved clarity and precision in API field definitions and usage formulas in SKILL.md. - Expanded documentation: added directory structure, reserved folders, and more detailed API response examples. - Enhanced metadata: included trigger keywords, category, tool requirements (curl), and usage examples for better discoverability. - Replaced minimax-usage.sh with scripts/minimax-usage.sh for code consistency. - Removed old/unneeded file and reserved space for future documentation and templates.
v1.0.4
- Updated API error handling section: now lists more specific error codes, meanings, and suggested solutions in a table. - No changes to logic or functionality; documentation improvement only.
v1.0.3
- Removed the _meta.json metadata file. - No changes to skill logic or documentation content. - Functionality and usage remain unchanged.
v1.0.2
- Removed references to overseas version API and clarified only domestic interface is supported - Streamlined documentation; moved important reminders to a concise Notes section - Dropped detailed explanations of sliding window, quota solutions, model list, and prompt calculation to keep the guide concise - Kept output format and error handling instructions for quick reference
v1.0.1
- Improved documentation for mainland China: clarified API endpoint is for www.minimaxi.com, not overseas. - Added Chinese-language sections, more explanations, and usage scenarios for the domestic version. - Introduced a new "Supported Models" table listing compatible models and their descriptions. - Expanded details on prompt calculation and the 5-hour sliding window reset mechanism, including practical examples. - Added a new section on quota limit solutions and clarified the differences between Coding Plan API Key and standard API Key. - Added references to official documentation and subscription management for easy access.
v1.0.0
- Initial release of minimax-usage-cn skill. - Monitors Minimax Coding Plan usage and alerts as you approach API limits. - Fetches real-time usage stats with status tiers (Green, Caution, Warning, Critical). - Suitable for checking quotas, monitoring 5-hour windows, and preemptive limit warnings. - Requires a dedicated Coding Plan API key (MINIMAX_API_KEY).
Metadata
Slug minimax-usage-cn
Version 1.1.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 7
Frequently Asked Questions

What is Minimax Usage Cn?

Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts. Use when checking API quota, monitoring... It is an AI Agent Skill for Claude Code / OpenClaw, with 334 downloads so far.

How do I install Minimax Usage Cn?

Run "/install minimax-usage-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Minimax Usage Cn free?

Yes, Minimax Usage Cn is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Minimax Usage Cn support?

Minimax Usage Cn is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Minimax Usage Cn?

It is built and maintained by lanhaixuan (@lanhaixuan); the current version is v1.1.0.

💬 Comments