extract-skill
Reverse-engineer design systems, tokens, and components from live products or screenshots
Thorough research across multiple sources — use for complex topics needing broad synthesis
$ npx -y skills add nyldn/claude-octopus --skill octopus-research --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/octopus-researchContext preview
The summary Claude sees to decide when to auto-load this skill.
Thorough research across multiple sources — use for complex topics needing broad synthesis
name: octopus-research description: "Thorough research across multiple sources — use for complex topics needing broad synthesis" disable-model-invocation: true
> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex. > Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands. > Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. > For host tool equivalents, see `skills/blocks/codex-host-adapter.md`.
<HARD-GATE> **CRITICAL: You MUST call orchestrate.sh via the native shell command tool. Do NOT research the topic yourself. Do NOT use Task agents, web search, or your own knowledge as a substitute. The ONLY valid execution path is: Bash → orchestrate.sh probe. If you produce research findings without a Bash call to orchestrate.sh, you have violated this contract.** </HARD-GATE>
This skill uses **ENFORCED execution mode**. You MUST follow this exact sequence.
**You MUST call AskUserQuestion with all 3 questions below BEFORE any other action.**
AskUserQuestion({
questions: [
{
question: "How deep should the research go?",
header: "Research Depth",
multiSelect: false,
options: [
{label: "Quick overview (Recommended)", description: "1-2 min, surface-level"},
{label: "Moderate depth", description: "2-3 min, standard"},
{label: "Comprehensive", description: "3-4 min, thorough"},
{label: "Deep dive", description: "4-5 min, exhaustive"}
]
},
{
question: "What's your primary focus area?",
header: "Primary Focus",
multiSelect: false,
options: [
{label: "Technical implementation (Recommended)", description: "Code patterns, APIs"},
{label: "Best practices", description: "Industry standards"},
{label: "Ecosystem & tools", description: "Libraries, community"},
{label: "Trade-offs & comparisons", description: "Pros/cons analysis"}
]
},
{
question: "How should the output be formatted?",
header: "Output Format",
multiSelect: false,
options: [
{label: "Detailed report (Recommended)", description: "Comprehensive write-up"},
{label: "Summary", description: "Concise findings"},
{label: "Comparison table", description: "Side-by-side analysis"},
{label: "Recommendations", description: "Actionable next steps"}
]
}
]
})**Capture user responses as:**
**DO NOT PROCEED TO STEP 2 until all questions are answered.**
**Optional**: If **claude-mem** is installed, use its MCP tools (`search`) to check for relevant past research on this topic before launching new research agents.
**Check provider availability:**
provider_status="$(bash "${HOME}/.claude-octopus/plugin/scripts/helpers/check-providers.sh")"
[[ $'\n'"$provider_status"$'\n' == *$'\ncodex:available\n'* ]] && codex_status="Available ✓" || codex_status="Not installed ✗"
[[ $'\n'"$provider_status"$'\n' == *$'\nagy:available\n'* ]] && agy_status="Available ✓" || agy_status="Not installed ✗"**Display this banner BEFORE orchestrate.sh execution:**
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode
🔍 Discover Phase: [Brief description of research topic]
Provider Availability:
🔴 Codex CLI: ${codex_status}
🟡 Antigravity CLI: ${agy_status}
🧭 Antigravity CLI: ${agy_status}
🔵 Claude: Available ✓ (Strategic synthesis)
Research Parameters:
📊 Depth: ${depth_choice}
🎯 Focus: ${focus_choice}
📝 Format: ${format_choice}
💰 Estimated Cost: $0.01-0.05
⏱️ Estimated Time: 2-5 minutes**Validation:**
**DO NOT PROCEED TO STEP 3 until banner displayed.**
**You MUST execute this command via the native shell command tool:**
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh probe "<user's research question>" \
--depth "${depth_choice}" \
--focus "${focus_choice}" \
--format "${format_choice}"**CRITICAL: You are PROHIBITED from:**
**This is NOT optional. You MUST use the native shell command tool to invoke orchestrate.sh.**
**After orchestrate.sh completes, verify it succeeded:**
# Find the latest synthesis file (created within last 10 minutes) SYNTHESIS_FILE=$(find ~/.claude-octopus/results -name "probe-synthesis-*.md" -mmin -10 2>/dev/null | head -n1) if [[ -z "$SYNTHESIS_FILE" ]]; then echo "❌ VALIDATION FAILED: No synthesis file found" echo "orchestrate.sh did not execute properly" exit 1 fi echo "✅ VALIDATION PASSED: $SYNTHESIS_FILE" cat "$SYNTHESIS_FILE"
**If validation fails:** 1. Report error to user 2. Show logs from `~/.claude-octopus/logs/` 3. DO NOT proceed with presenting results 4. DO NOT substitute with direct research
Read the synthesis file and format according to `format_choice`:
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
Repo: nyldn/claude-octopus
Reverse-engineer design systems, tokens, and components from live products or screenshots
Multi-AI requirements scoping using available external providers (Double Diamond Define phase). Priority triggers: octo define, octo scope, co-define,…
Multi-AI validation, scoring, and review using available external providers (Double Diamond Deliver phase)
Multi-AI implementation using available external providers (Double Diamond Develop phase). DO NOT use for simple code edits, reading/reviewing code, built-in…
Multi-AI research using available external providers (Double Diamond Discover phase)
Decompose and execute large changes, migrations, or multi-issue fixes in parallel with quality gates