minimax-usage

Check MiniMax coding plan usage/credits remaining. Requires MINIMAX_API_KEY environment variable.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "minimax-usage" with this command: npx skills add khaney64/minimax-usage-2

MiniMax Usage

Check your MiniMax coding plan credits remaining.

Usage

# Check remaining credits
bash /home/claw/.openclaw/workspace/skills/minimax-usage/scripts/minimax-usage.sh

# Only alert when remaining drops below 20%
bash /home/claw/.openclaw/workspace/skills/minimax-usage/scripts/minimax-usage.sh --threshold 20

Options

FlagDescription
--threshold <percent>Only output when remaining % is below this value. If omitted, always outputs.

Output

Returns a Discord-formatted message:

  • Title with model name (warning icon when below threshold)
  • Remaining requests out of total with percentage
  • Reset time in Eastern Time
  • Time left in H:MM:SS

Example: Below threshold alert

When remaining usage falls below the configured threshold:

⚠️ MiniMax Usage Alert — MiniMax-M1
Remaining: 42 of 500 requests (8.4%)
Resets: Feb 17, 2026 12:00 AM ET
Time left: 7:23:15

When above the threshold, the command produces no output and exits with code 0.

Cron Job

The --threshold flag makes this ideal for a cron job that runs periodically and only sends an alert when available credits drop below a percentage:

# Check every 30 minutes, alert if below 20%
# Requires MINIMAX_API_KEY to be set in the cron environment
*/30 * * * * bash /home/claw/.openclaw/workspace/skills/minimax-usage/scripts/minimax-usage.sh --threshold 20 | discord-webhook

No output is produced when usage is above the threshold, so downstream commands (e.g. a webhook) are only triggered when credits are running low.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Zoom

Zoom API integration with managed OAuth. Manage meetings, webinars, recordings, and user profiles. Use this skill when users want to schedule meetings, manag...

Registry SourceRecently Updated
General

Kleinanzeigen.de Helper

Erstelle und verwalte Verkaufsanzeigen speziell auf kleinanzeigen.de. Verwende diesen Skill wenn der Human sagt, er will etwas auf kleinanzeigen.de verkaufen...

Registry SourceRecently Updated
General

Poku

Sends and receives phone calls and messages (like SMS, WhatsApp, Slack), and reserves dedicated phone numbers using the Poku API. Example use cases: calling...

Registry SourceRecently Updated
General

IMAP/SMTP Email - Maddy Fix

Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Sup...

Registry SourceRecently Updated