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
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the ariffazil profile repository. Use when the user asks to explain or design AAA, route agentic work, reduce chaos/entropy in an arifOS federation task, create AREP/task declarations, classify risk, plan multi-repo changes, review governance boundaries, or translate human intent into evidence-backed, authority-safe, recursively agentic workflows. Provides deterministic F1-F13 floor checking, bounded abduction, and FederationReceipt composition.
development
Check every skill’s “use when” and “do not use when” clauses for collisions, missing negatives, and vague verbs like “help,” “assist,” or “improve.” Load when linting, reviewing, or validating trigger boundaries.
development
Bootstrap, design, and package new skills. Load when capturing user intent for a new skill or drafting its initial instruction framework.
content-media
Diagnose which federation services are up, down, or drifting. Produce a prioritized remediation plan.