/usage
[advanced] Per-provider, per-skill, and per-MCP-server cost and token breakdown (Claude Code /usage schema)
> /plugin marketplace add nyldn/claude-octopus
Command definition
usage.mdcommand: usage
disable-model-invocation: true
description: "[advanced] Per-provider, per-skill, and per-MCP-server cost and token breakdown (Claude Code /usage schema)"
allowed-tools: Bash, Read, Glob
Usage Report (/octo:usage)
**Your first output line MUST be:** `🐙 Octopus Usage Report`
Produce a per-provider, per-skill, and per-MCP-server cost and token breakdown from recorded Octopus usage artifacts. Output schema matches Claude Code's native `/usage` report (`claude-code/usage-v1`), so results can be compared or merged with the host session's own usage pane.
EXECUTION CONTRACT (Mandatory)
STEP 1: Run the report helper
OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
"$OCTO_ROOT/scripts/helpers/usage-report.sh" --view usage --format tableIf the user asked for machine-readable output (or passed `--format json`):
OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
"$OCTO_ROOT/scripts/helpers/usage-report.sh" --view usage --format jsonThe helper reads:
- `~/.claude-octopus/usage/*.jsonl` — JSONL records written by `hooks/subagent-stop-gate.sh` and provider adapters
- `~/.claude-octopus/results/**/summary.json` — council and workflow roster artifacts (query counts)
STEP 2: Present the breakdown
Show the helper's table output directly. Then add a one-paragraph interpretation:
- Which provider drove the most estimated cost
- Whether any external CLI seat (🔴 Codex, 🧭 Antigravity) dominates and could be swapped for an included provider
- Whether MCP server usage is material
STEP 3: Flag empty data honestly
If the helper prints `No usage records found`, say so and point the user at `OCTOPUS_SUBAGENT_GATE_STRICT` and the SubagentStop gate hook (`hooks/subagent-stop-gate.sh`), which populates the usage log as subagents complete. Do not fabricate numbers.
Cost reference
Rates come from `config/model-pricing.tsv`. The helper is the only calculator. Providers with subscription or local backends such as agy, Copilot, Ollama, Cursor Agent, and native OpenCode report 0.00 USD.
Read more
command: usage disable-model-invocation: true description: "[advanced] Per-provider, per-skill, and per-MCP-server cost and token breakdown (Claude Code /usage schema)" allowed-tools: Bash, Read, Glob
Usage Report (/octo:usage)
**Your first output line MUST be:** `🐙 Octopus Usage Report`
Produce a per-provider, per-skill, and per-MCP-server cost and token breakdown from recorded Octopus usage artifacts. Output schema matches Claude Code's native `/usage` report (`claude-code/usage-v1`), so results can be compared or merged with the host session's own usage pane.
EXECUTION CONTRACT (Mandatory)
STEP 1: Run the report helper
OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
"$OCTO_ROOT/scripts/helpers/usage-report.sh" --view usage --format tableIf the user asked for machine-readable output (or passed `--format json`):
OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
"$OCTO_ROOT/scripts/helpers/usage-report.sh" --view usage --format jsonThe helper reads:
- `~/.claude-octopus/usage/*.jsonl` — JSONL records written by `hooks/subagent-stop-gate.sh` and provider adapters
- `~/.claude-octopus/results/**/summary.json` — council and workflow roster artifacts (query counts)
STEP 2: Present the breakdown
Show the helper's table output directly. Then add a one-paragraph interpretation:
- Which provider drove the most estimated cost
- Whether any external CLI seat (🔴 Codex, 🧭 Antigravity) dominates and could be swapped for an included provider
- Whether MCP server usage is material
STEP 3: Flag empty data honestly
If the helper prints `No usage records found`, say so and point the user at `OCTOPUS_SUBAGENT_GATE_STRICT` and the SubagentStop gate hook (`hooks/subagent-stop-gate.sh`), which populates the usage log as subagents complete. Do not fabricate numbers.
Cost reference
Rates come from `config/model-pricing.tsv`. The helper is the only calculator. Providers with subscription or local backends such as agy, Copilot, Ollama, Cursor Agent, and native OpenCode report 0.00 USD.
Every AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code
Other commands on octo.
More commands from other plugins.
setup
CommandOne-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…
autoresearch
CommandAutonomous iteration loop: modify, verify, keep/discard against any metric
agent
Commandname: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

