Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/CES-Ltd/LumiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ces-ltd/lumi/octo-costs)<a href="https://agentmods.dev/commands/ces-ltd/lumi/octo-costs"><img src="https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-costs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/ces-ltd/lumi/octo-costs"><img src="https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-costs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.01383 |
| Opus 5.5 | $0.00004 | $0.00553 |
| Sonnet 5.5 | $0.00002 | $0.00277 |
| Haiku 4.5 | $0.00001 | $0.00138 |
Grade A, and why
octo-costs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cost Dashboard (/octo:costs)
Your first output line MUST be: 🐙 Octopus Cost Dashboard
Display a cost breakdown by provider and workflow for the current session (and cumulative history).
EXECUTION CONTRACT (Mandatory)
When the user invokes /octo:costs, you MUST follow these steps in order.
STEP 1: Locate Usage Data
Search for session usage data in these locations (check all, use whichever exist):
~/.claude-octopus/usage/ # Per-session usage logs
~/.claude-octopus/routing.log # Routing decisions with timestamps
~/.claude-octopus/sessions/ # Session state files
.claude-octopus/ # Project-local usage data
Use the Bash tool to list and read files:
ls -la ~/.claude-octopus/usage/ 2>/dev/null || echo "No usage directory"
ls -la ~/.claude-octopus/routing.log 2>/dev/null || echo "No routing log"
ls -la ~/.claude-octopus/sessions/ 2>/dev/null || echo "No sessions directory"
ls -la .claude-octopus/ 2>/dev/null || echo "No project-local usage data"
STEP 2: Parse Provider Usage
For each provider found in the usage data, extract:
- Tokens in (input/prompt tokens)
- Tokens out (output/completion tokens)
- Query count (number of invocations)
- Estimated cost (calculated from the Cost Reference table below)
STEP 3: Display Per-Provider Breakdown
Format as a clean ASCII table:
Provider Cost Breakdown
============================================================
Provider Tokens In Tokens Out Queries Est Cost
------------------------------------------------------------
Claude Opus 4.6 45,200 12,800 3 $0.55
Claude Sonnet 4.6 128,000 34,500 12 $0.24
Codex CLI - - 8 $0.64
Gemini CLI - - 4 $0.08
Perplexity - - 2 $0.06
------------------------------------------------------------
TOTAL 29 $1.57
============================================================
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 159 lines · 11 tokens per session scan A 68de5a77a81b
octo-costs is a command published in the GitHub repository CES-Ltd/Lumi (42 stars, last pushed 6mo ago), licensed MIT. It adds 11 tokens to every session and 1,383 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
octo-costs compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| octo-costsCES-Ltd/Lumi | Command | 42 | 6mo ago | MIT | A | 11 | Claude Code |
| pull-repostravisjneuman/.claude | Command | 116 | today | MIT | A | 13 | Claude Code |
| create-task-list.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| update-check.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| landing-page-toggle.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| ccasp-panel.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| fixstefan-jansen/claude-code-toolkit | Command | 101 | 4mo ago | MIT | A | 9 | Claude Code |