Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.
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/nyldn/claude-octopusWrote 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/nyldn/claude-octopus/octo-km)<a href="https://agentmods.dev/commands/nyldn/claude-octopus/octo-km"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-km/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/nyldn/claude-octopus/octo-km"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-km.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.00014 | $0.00617 |
| Opus 5 | $0.00007 | $0.00309 |
| Sonnet 5 | $0.00003 | $0.00123 |
| Haiku 4.5 | $0.00001 | $0.00062 |
Grade A, and why
octo-km 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 7d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- km — 91% identical, 8 lines differ
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Knowledge Mode Toggle
Toggle between Dev Work Mode and Knowledge Work Mode.
Implementation Instructions
When this command is executed:
-
Parse the argument:
- No argument or "on" → target mode = Knowledge Work (
knowledge_mode: true) - "off" → target mode = Dev Work (
knowledge_mode: false)
- No argument or "on" → target mode = Knowledge Work (
-
Check current mode via
.claude/claude-octopus.local.md:- Target is Dev Work AND file does NOT exist → user is already in Dev Work Mode (default). Do not create the file. Show confirmation only, then exit.
- File exists AND current
knowledge_modealready equals the target → Do not rewrite the file. Show confirmation only, then exit. - Otherwise → proceed to step 3 (real transition needed).
-
Switch modes (only when a real transition is required):
- Before writing, state one sentence: "Switching to Knowledge Work — creating
.claude/claude-octopus.local.md(knowledge_mode: true)." (or the equivalent for Dev Work). - If the file does not exist, create it with minimal frontmatter containing only the fields being set.
- If the file exists, update only the
knowledge_modefield; preserve any other keys. - Confirm with the target mode's emoji (🎓 / 🔧) and active personas.
- Before writing, state one sentence: "Switching to Knowledge Work — creating
Rule (v9.30+): Never create or rewrite .claude/claude-octopus.local.md when the user is already in the target mode. The v9.29 behavior over-executed — it wrote config for a state the user was already in, without explanation. Skip the Write tool entirely when there's nothing to change. See agents/principles/write-intent.md for the general principle.
Usage
/octo:km # Switch to Knowledge Work mode (default action)
/octo:km on # Switch to Knowledge Work mode (explicit)
/octo:km off # Switch to Dev Work mode (same as /octo:dev)
Two Work Modes
Dev Work Mode 🔧 (default)
- Best for: Building features, debugging code, implementing APIs
- Personas: backend-architect, code-reviewer, debugger, test-automator
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.
- 7d ago First seen · 57 lines · 14 tokens per session scan A 575afd6cf5eb
octo-km is a command published in the GitHub repository nyldn/claude-octopus (4,061 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 617 once invoked, about $0.0001 per session on Opus 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-09-03.
Other commands, from other repositories
agent-triage
Find and triage Quickchat conversations that need a human.
help
How to configure Mr. Meeseeks (which sounds play, and how to mute them).
add-email-railway
Integrate email functionality using Nodemailer or Resend API. Set up SMTP configuration with environment variables. Create email templates using React Email for type-safe component-based emails. Implement send email API endpoint in Express. Add email validation and rate limiting. Handle delivery failures with retry…
tag
Switch the active time-keeper label (like start, but semantically a switch).
yank
Copy the last Claude response to clipboard.
checklist
Generate a custom checklist for the current feature based on user requirements.