skills/mmx-quota-guard/SKILL.md
--- name: mmx-quota-guard description: Budget-aware governance for MiniMax CLI. Activates when: (1) before any mmx command runs; (2) when Arif asks about quota, cost, or budget; (3) before any multi-step multimodal session (image batch, video, music). Prevents ASI-speed runaway billing by enforcing hard budget bands per session. Uses mmx quota and mmx config show. metadata: {"openclaw": {"emoji": "💰"}} --- # MMX Quota Guard — Budget Governance for MiniMax ASI-speed generation without budget a
npx skillsauth add ariffazil/openclaw-workspace skills/mmx-quota-guardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ASI-speed generation without budget awareness = silent auto-burn. This skill enforces budget bands and will trigger HOLD if limits are approached.
mmx quota
mmx config show # check region, default model, token plan
| Band | Quota Status | Action | |---|---|---| | GREEN | > 50% remaining | Full operations, no restrictions | | YELLOW | 20-50% remaining | Warn before large jobs (video, batch image) | | ORANGE | 5-20% remaining | Downgrade model to highspeed, reduce batch size | | RED | < 5% remaining | HOLD all non-trivial mmx calls — Arif approval required | | EMPTY | 0% or error | VOID all mmx calls — do not proceed |
[ ] Run mmx quota — get current spend vs limit
[ ] Estimate cost of this command (see cost table below)
[ ] Check if command pushes band into ORANGE or RED
[ ] If ORANGE: announce degradation (highspeed model, single image)
[ ] If RED: trigger HOLD — do not proceed without Arif approval
[ ] Log: command, estimated cost, band before/after
| Command | Relative Cost | Notes |
|---|---|---|
| mmx search | 1x (cheapest) | Always safe unless RED |
| mmx text chat --stream | 1x | Safe even in YELLOW |
| mmx text chat --model MiniMax-Text-01 | 3x | Use highspeed in YELLOW+ |
| mmx image --n 1 | 5x | Reduce batch in YELLOW |
| mmx image --n 3+ | 15x | Only in GREEN |
| mmx speech synthesize | 2x | Safe in YELLOW |
| mmx music generate | 10x | Only in GREEN/YELLOW |
| mmx video generate | 50x (most expensive) | Only in GREEN, never in ORANGE+ |
When YELLOW:
--model MiniMax-M2.7-highspeed for text--n 1When ORANGE:
When RED:
mmx quota and mmx config show allowedMaintain in memory during session:
MMX SESSION BUDGET:
- Session start: [quota reading]
- Commands run this session: [count + estimated cost]
- Current band: [GREEN/YELLOW/ORANGE/RED]
- Remaining estimated: [compute from quota]
Every mmx command: log to memory/vault999-triage.md:
HH:MM UTC | mmx | [command type] | [estimated cost] | band: [before] → [after]
This gives Arif a running bill for the session.
When crossing into YELLOW or ORANGE, proactively announce:
⚠️ MMX BUDGET: [YELLOW/ORANGE] band. [Remaining]% quota left.
Degraded mode active: [what changed]
Do not wait to be asked.
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.