Skip to content
Back to skills

Openclaw Skill Minimax Tracker

ASecurity

This skill provides real-time tracking for MiniMax API usage. It

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
ai-agentspythonbashgitapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-skill-minimax-tracker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Skill Minimax Tracker?

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

Security grade badge for Openclaw Skill Minimax Tracker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-skill-minimax-tracker/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-skill-minimax-tracker)

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: SKILL.md - MiniMax Usage Tracker
description: This skill provides real-time tracking for MiniMax API usage. It
  calculates usage based on prompts consumed, tracks remaining quota, and
  displays progress in a compact bar format. Designed for Open...
---

# SKILL.md - MiniMax Usage Tracker

## Skill Information

- **Skill Name**: openclaw-skill-minimax-tracker
- **Version**: 1.0.0
- **Author**: QiaoTuCodes (Weiran), Yanyan
- **Description**: Track and monitor MiniMax API usage with progress bars and reminders for OpenClaw
- **Repository**: https://github.com/QiaoTuCodes/openclaw-skill-minimax-tracker

## Overview

This skill provides real-time tracking for MiniMax API usage. It calculates usage based on prompts consumed, tracks remaining quota, and displays progress in a compact bar format. Designed for OpenClaw agents to monitor API usage between resets.

## Features

- Real-time prompts usage tracking
- Visual progress bar with key metrics (RST/TTL/PKG/USE/REM/NXT)
- Automatic reset time calculation (15:00-20:00 UTC+8)
- JSON-based persistent storage
- Cron-ready for scheduled reminders

## Usage

### Commands

```bash
# Add usage (after API call)
python3 minimax_tracker.py add [n]

# View detailed status
python3 minimax_tracker.py status

# View compact progress bar
python3 minimax_tracker.py compact
```

### Output Format

```
[████████████████████] 98% RST:18:00 TTL:1h40m PKG:Starter USE:2/40 REM:38 NXT:19:19
```

### Integration with OpenClaw

```python
# In your skill or agent code
import subprocess

# Track usage after each API call
result = subprocess.run(
    ["python3", "path/to/minimax_tracker.py", "add", "1"],
    capture_output=True, text=True
)
```

### Cron Setup (Every 3 Hours)

```json
{
  "name": "minimax-usage-check",
  "schedule": "0 */3 * * *",
  "payload": {
    "kind": "agentTurn",
    "message": "Run: python3 ~/openclaw-workspace/skills/openclaw-skill-minimax-tracker/minimax_tracker.py compact"
  }
}
```

## Configuration

Edit the CONFIG dict in minimax_tracker.py:

| Parameter | Default | Description |
|-----------|---------|-------------|
| max_prompts | 40 | Monthly prompts limit |
| reset_hour_start | 15 | Reset window start (UTC+8) |
| reset_hour_end | 20 | Reset window end (UTC+8) |
| check_interval_hours | 3 | Reminder interval |

## Data Storage

Usage data is stored in:
```
~/.openclaw/workspace/minimax_usage_data.json
```

Format:
```json
{
  "usage_records": [
    {"time": "2026-02-27T16:19:00", "prompts": 1}
  ],
  "current_usage": 2,
  "last_reset": "2026-02-27T18:00:00",
  "last_check": "2026-02-27T16:23:00"
}
```

## Dependencies

- Python 3.8+ (standard library only, no pip packages needed)

## Installation

```bash
# Copy to OpenClaw skills folder
cp -r openclaw-skill-minimax-tracker ~/openclaw-workspace/skills/
```

## License

MIT License - See LICENSE file

Files in this skill

  • README-CN.md4.3 KB
  • README.md4.7 KB
  • SKILL.md2.9 KB
  • minimax_tracker.py5.6 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…