Minimax Usage Monitor for Openclaw

A specialized monitoring utility to track Minimax Coding Plan prompt usage and stay within API limits.

franky0617
v1.0.0
Jan 29, 2026
2
3.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install minimax-coding-plan-usage

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install minimax-coding-plan-usage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Minimax Usage Monitor?

The Minimax Usage skill is a technical utility designed for developers who need real-time visibility into their Minimax Coding Plan consumption. As you deploy various Openclaw Skills, maintaining awareness of API quotas is essential for stable development environments. This skill fetches precise usage statistics, including used prompts, remaining buffer, and the time remaining until the 5-hour rolling reset window clears your usage history.

By providing clear status alerts and usage percentages, it ensures that your AI-assisted coding workflows remain uninterrupted. It is specifically optimized for the MiniMax-M2 coding plan, allowing users to track their activity against the recommended 60% usage threshold to avoid rate limiting or service degradation.

Minimax Usage Monitor Use Cases

  • Prevent API lockout by checking prompt consumption before starting large-scale automated coding tasks.
  • Monitor resource allocation across different Openclaw Skills that rely on the Minimax platform.
  • Implement a visual early-warning system to identify when usage approaches the 60% safety target.
  • Track the dynamic 5-hour reset window to optimize the timing of high-intensity AI operations.

How Minimax Usage Monitor Works

  1. The skill initializes by loading credentials from a local environment configuration.
  2. It performs an authenticated GET request to the Minimax Open Platform coding plan API.
  3. The system parses the remaining prompt data and calculates the percentage of the 1500-prompt limit currently consumed.
  4. It evaluates the usage against safety thresholds to generate a color-coded status report (Green, Yellow, or Red).
  5. The tool calculates and displays the time remaining until the oldest usage data is released from the 5-hour rolling window.

Minimax Usage Monitor Setup

To integrate this monitoring tool into your Openclaw Skills workflow, configure your environment variables in a .env file:

MINIMAX_CODING_API_KEY=your_api_key_here
MINIMAX_GROUP_ID=your_group_id_here

Ensure you use the specific Coding Plan API key, which is distinct from standard Minimax API keys. Run the monitoring script using the following command:

./minimax-usage.sh

Minimax Usage Monitor Data Schema & Taxonomy

The skill processes and displays data according to the following schema:

Metric Description Logic
Used Prompts Current prompt count 1 prompt ≈ 15 model calls
Reset Window 5-hour rolling window Usage released automatically after 5 hours
Usage Limit 1500 Prompts The hard cap for the MiniMax-M2 plan
Target Buffer 60% Usage Recommended maximum to maintain optimal performance

All data is fetched directly from the v1 api openplatform coding_plan endpoint.

Minimax Usage Monitor Advanced Features

  • Real-time status alerts providing instant visual feedback on API health.
  • Dynamic calculation of the 5-hour usage release window for better task scheduling.
  • Support for Group ID multi-tenancy as required by the Minimax enterprise platform.
  • Seamless integration with other Openclaw Skills that require robust API rate limit management.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*