Claude-skill-registry audit

Generate usage report for MiniMax and token optimization Use when: (1) /audit is invoked, (2) task relates to audit functionality.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/audit" ~/.claude/skills/majiayu000-claude-skill-registry-audit && rm -rf "$T"
manifest: skills/data/audit/SKILL.md
source content

/audit

Generate usage and cost optimization report.

What it shows

  • Total queries by model (MiniMax M2.1, lightning, Claude)
  • Estimated cost savings from MiniMax usage
  • Usage trends (daily/weekly)
  • Optimization recommendations

Execution

# View stats
mmc --stats

# Detailed audit report
ralph audit

Cost Calculation

  • Claude Sonnet: $3.00/$15.00 per 1M tokens (input/output)
  • MiniMax M2.1: $0.30/$1.20 per 1M tokens (~92% savings)
  • MiniMax-lightning: $0.15/$0.60 per 1M tokens (~96% savings)

Example Output

=== MiniMax Usage Audit ===
Period: Last 7 days

Model Distribution:
  MiniMax M2.1:     45 queries (60%)
  MiniMax-lightning: 20 queries (27%)
  Claude Sonnet:    10 queries (13%)

Estimated Savings:
  If all queries used Claude: ~$X.XX
  Actual cost with MiniMax:   ~$X.XX
  Savings:                    ~XX%