From octo
Analyzes natural language queries to detect intent via keyword matching and routes to optimal Claude Octopus workflows like debug, TDD, research, or spec writing.
How this command is triggered — by the user, by Claude, or both
Slash command
/octo:autocommands/The summary Claude sees in its command listing — used to decide when to auto-load this command
# Smart Router (/octo:auto) Single entry point for all Claude Octopus workflows. Analyzes your natural language request and routes to the optimal workflow automatically. All `/octo:*` commands also work directly, bypassing the router. --- ## EXECUTION CONTRACT (Mandatory) When the user invokes `/octo:auto <query>` or says `octo <query>`, you MUST follow these steps in order: ### STEP 1: Input Validation If the query exceeds 500 characters, use only the first 500 characters for intent analysis. Pass the full original query to the target workflow. ### STEP 2: Meta Command Check If ...
Single entry point for all Claude Octopus workflows. Analyzes your natural language request and routes to the optimal workflow automatically.
/octo:auto research OAuth authentication patterns
/octo:auto debug the failing test in auth.ts
/octo:auto should we use Redis or Memcached?
/octo:auto write tests for the payment module
/octo:auto create a complete e-commerce platform
All /octo:* commands also work directly, bypassing the router.
When the user invokes /octo:auto <query> or says octo <query>, you MUST follow these steps in order:
If the query exceeds 500 characters, use only the first 500 characters for intent analysis. Pass the full original query to the target workflow.
If the query matches any of: help, list, commands, what can you do, capabilities, options, workflows:
Match the query against keywords below. Check categories in priority order — higher priority wins when intents conflict.
| Intent | Trigger Keywords | Routes To |
|---|---|---|
| Lifecycle | end-to-end, complete lifecycle, full workflow, entire project, whole system | octo:embrace |
| Multi-LLM | multi, multi-llm, multi-provider, all providers, force multi, cross-model | octo:multi |
| Parallel | parallel, team of teams, decompose, work packages, split into | octo:parallel |
| Specification | spec, nlspec, specification, requirements doc, define scope, write spec | octo:spec |
| Security | security audit, OWASP, vulnerability, pentest, threat model, CVE, attack surface | octo:security |
| TDD | TDD, test-driven, write tests, test first, unit test, test coverage | octo:tdd |
| Debug | debug, fix bug, troubleshoot, broken, error trace, stacktrace, failing, crash | octo:debug |
| Design | UI design, UX design, wireframe, mockup, design system, layout, prototype | octo:design-ui-ux |
| PRD | PRD, product requirements, product spec, feature requirements | octo:prd |
| Brainstorm | brainstorm, ideate, ideas, creative, thought experiment, what if | octo:brainstorm |
| Deck | presentation, slides, deck, pitch deck, slide deck | octo:deck |
| Docs | document, documentation, README, API docs, write docs, docstring | octo:docs |
| Intent | Trigger Keywords | Routes To |
|---|---|---|
| Research | research, investigate, explore, study, understand patterns, analyze ecosystem | octo:discover |
| Review | validate, review code, check quality, audit code, inspect, verify, code review | octo:review |
| Debate | should we, X vs Y, compare, versus, decide between, which is better, trade-off | octo:debate |
| Intent | Trigger Keywords | Routes To |
|---|---|---|
| Build (Clear) | build X, create X, implement X, develop X — where X is a specific target noun | octo:develop |
| Build (Vague) | build, create, make — without a clear target noun | octo:plan |
| Quick | quick, just do it, simple, fast, straightforward | octo:quick |
Priority resolution: When keywords from multiple intents match, the highest-priority intent wins. Example: "analyze the security of our API" matches both Research ("analyze") and Security ("security") — Security wins because Priority 1 > Priority 2.
Apply this decision tree (NOT percentage-based scoring):
Single intent matched + specific target noun present
→ HIGH confidence
Single intent matched + target is vague or absent
→ MEDIUM confidence
Multiple intents matched + resolved by priority ordering
→ HIGH confidence (route to the higher-priority intent)
Multiple intents matched at same priority level
→ MEDIUM confidence (present top 2 candidates)
No explicit intent + query asks between two named technologies/options (`X or Y`, `X vs Y`, two code-formatted names)
→ MEDIUM confidence debate candidate (`octo:debate`)
No explicit intent + substantial what/how/why/which question (40+ characters)
→ MEDIUM confidence research candidate (`octo:discover`)
No intent keywords matched
→ LOW confidence
STEP 5a — HIGH confidence (auto-route):
Display:
Routing to [Workflow Name] (/octo:[command])
Then display the visual indicator banner (STEP 6) and invoke:
Skill(skill: "octo:[command]", args: "<full user query>")
STEP 5b — MEDIUM confidence (confirm first):
Display:
I detected [intent]. Route to:
[Primary] (/octo:[command]) — [one-line description]
[Alternative] (/octo:[command]) — [one-line description]
Which would you prefer, or rephrase your request?
Wait for user confirmation before invoking the Skill tool.
STEP 5c — LOW confidence (show complete menu):
Display:
Which workflow would you like?
Core Workflows:
1. Research (/octo:discover) — Multi-AI research and exploration
2. Build (/octo:develop) — Implementation with quality gates
3. Plan (/octo:plan) — Clarify requirements before building
4. Review (/octo:review) — Code quality assurance and validation
5. Debate (/octo:debate) — Multi-AI structured deliberation
6. Embrace (/octo:embrace) — Full 4-phase lifecycle workflow
Engineering:
7. Debug (/octo:debug) — Systematic multi-provider debugging
8. Security (/octo:security) — Security audit with OWASP coverage
9. TDD (/octo:tdd) — Test-driven development workflow
10. Spec (/octo:spec) — NLSpec structured authoring
11. Multi-LLM (/octo:multi) — Force all providers on any task
12. Parallel (/octo:parallel) — Team of Teams decomposition
Creative & Documentation:
12. Design (/octo:design-ui-ux) — UI/UX design workflow
13. PRD (/octo:prd) — Product requirements document
14. Docs (/octo:docs) — Documentation delivery
15. Brainstorm (/octo:brainstorm) — Creative ideation
16. Deck (/octo:deck) — Slide deck generation
Quick:
17. Quick (/octo:quick) — Fast ad-hoc execution
MANDATORY: For multi-AI workflows, you MUST use the Bash tool to check provider availability BEFORE displaying the banner:
echo "PROVIDER_CHECK_START"
printf "codex:%s\n" "$(command -v codex >/dev/null 2>&1 && echo available || echo missing)"
printf "gemini:%s\n" "$(command -v gemini >/dev/null 2>&1 && echo available || echo missing)"
printf "perplexity:%s\n" "$([ -n "${PERPLEXITY_API_KEY:-}" ] && echo available || echo missing)"
printf "opencode:%s\n" "$(command -v opencode >/dev/null 2>&1 && echo available || echo missing)"
printf "copilot:%s\n" "$(command -v copilot >/dev/null 2>&1 && echo available || echo missing)"
printf "qwen:%s\n" "$(command -v qwen >/dev/null 2>&1 && echo available || echo missing)"
printf "ollama:%s\n" "$(command -v ollama >/dev/null 2>&1 && curl -sf http://localhost:11434/api/tags >/dev/null 2>&1 && echo available || echo missing)"
printf "openrouter:%s\n" "$([ -n "${OPENROUTER_API_KEY:-}" ] && echo available || echo missing)"
echo "PROVIDER_CHECK_END"
Then display the banner with ACTUAL results — list ALL providers with their real status:
🐙 **CLAUDE OCTOPUS ACTIVATED** - [Workflow Type]
[Phase Emoji] [Phase Name]: [Brief description]
Providers:
🔴 Codex CLI: [Available ✓ / Not installed ✗] - [role in this workflow]
🟡 Gemini CLI: [Available ✓ / Not installed ✗] - [role in this workflow]
🟤 OpenCode: [Available ✓ / Not installed ✗] - [role in this workflow]
🔵 Claude: Available ✓ - [your role]
PROHIBITED: Displaying only "🔵 Claude: Available ✓" without checking and listing other providers.
After successful routing, append a log entry using the Bash tool:
mkdir -p ~/.claude-octopus && echo "[$(date +%Y-%m-%d\ %H:%M:%S)] intent=<matched_intent> confidence=<HIGH|MEDIUM|LOW> routed_to=<command>" >> ~/.claude-octopus/routing.log
If the user rejects a routing suggestion or says "no, I meant X":
search("routing correction") to inform future routingThis allows the router to learn user preferences over time.
npx claudepluginhub toininoi/claude-octopus5plugins reuse this command
First indexed May 8, 2026
/autoAnalyzes natural language input and routes to the optimal Claude Octopus workflow. Supports specialized workflows for lifecycle, multi-LLM, parallel execution, security, TDD, debugging, design, and more.
/sc-recommendRecommends optimal SuperClaude commands matching user input or request. Detects English/Turkish, extracts keywords for categories like ML, web dev, errors, performance.
/spartanDetects project context, git branch, active sessions, and user intent; routes to the best Spartan AI Toolkit workflow leader or command.
/recommendRecommends the most suitable SuperClaude commands for any user input, with automatic Turkish/English language detection and persona-based matching.
/ask-allDispatches a question to GPT, Gemini, Grok, and OpenRouter models in parallel for independent second opinions, then synthesizes and compares the responses.