skill-doctor
Skill4.2k starsChanged 4 months agoMITView on GitHub
Environment diagnostics — check providers, auth, config, hooks, scheduler, and more
- Reads credentials
- Installs packages
22 other projects use a version of this, 1 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- PaulRBerg/agent-skillstheir own version, first seen Oct 1, 2026
- compozy/compozytheir own version, first seen Oct 1, 2026
- warpdotdev/common-skillstheir own version, first seen Sep 16, 2026
- bmaltais/skillstheir own version, first seen Sep 6, 2026
- zhouycheng/skillstheir own version, first seen Sep 4, 2026
Who's talking about nyldn/claude-octopus
- hashgraph-online/awesome-codex-plugins“Add Claude Octopus — multi-LLM orchestration plugin”GitHub · Mar 29, 2026 · 3 reactions
- @andybrnr.bsky.social“Since individual models have their blind spots, ensembling different coding agents can lead to more robust …”Bluesky · Mar 31, 2026 · 2 likes
- A Hacker News story“Multi-tentacled orchestrator for Claude Code”Hacker News · Mar 18, 2026 · 1 points
- sudosubin/agents.nix“codex-plugins.github.nyldn.claude-octopus: init at 11.10.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-plugins.github.nyldn.claude-octopus: init at 11.10.0”GitHub · Oct 4, 2026
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub, Bluesky and Hacker News (36 times).
On GitHub · 33
- Mar 29, 2026Add Claude Octopus — multi-LLM orchestration plugin — hashgraph-online/awesome-codex-plugins3 reactions · 6 comments
- Oct 4, 2026codex-plugins.github.nyldn.claude-octopus: init at 11.10.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.nyldn.claude-octopus: init at 11.10.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.nyldn.claude-octopus: init at 11.10.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.nyldn.claude-octopus: 11.8.1 → 11.10.0 — sudosubin/agents.nix0 reactions
28 more on GitHub
- Oct 2, 2026Upstream sync — 2026-10-03 — AlobarQuest/claude-octopus0 reactions · 5 comments
- Sep 30, 2026agent-skills.github.nyldn.claude-octopus: init at 11.8.1 — sudosubin/agents.nix0 reactions
- Sep 26, 2026Upstream sync — 2026-10-01 — AlobarQuest/claude-octopus0 reactions · 13 comments
- Sep 24, 2026Upstream sync — 2026-09-24 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 23, 2026Upstream sync — 2026-09-23 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 22, 2026Upstream sync — 2026-09-22 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 21, 2026Upstream sync — 2026-09-21 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 20, 2026Upstream sync — 2026-09-20 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 19, 2026Upstream sync — 2026-09-19 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 18, 2026Upstream sync — 2026-09-18 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 8, 2026Upstream sync — 2026-09-13 — AlobarQuest/claude-octopus0 reactions
- Sep 7, 2026Upstream sync — 2026-09-07 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Aug 19, 2026[WR] implement claude octopus as a github action -- — midnghtsapphire/revvel-standards0 reactions · 27 comments
- Jul 9, 2026Update codex marketplace selector for octo — nyldn/plugins0 reactions · 1 comment
- Jun 30, 2026Upstream sync — 2026-09-06 — AlobarQuest/claude-octopus0 reactions · 37 comments
- Jun 19, 2026Upstream sync — 2026-06-27 — AlobarQuest/claude-octopus0 reactions · 11 comments
- Jun 15, 2026Upstream sync — 2026-06-19 — AlobarQuest/claude-octopus0 reactions · 1 comment
- Jun 14, 2026Upstream sync — 2026-06-14 — AlobarQuest/claude-octopus0 reactions
- Jun 12, 2026Upstream sync — 2026-06-13 — AlobarQuest/claude-octopus0 reactions · 1 comment
- Jun 10, 2026Upstream sync — 2026-06-11 — AlobarQuest/claude-octopus0 reactions
- Jun 9, 2026Upstream sync — 2026-06-09 — AlobarQuest/claude-octopus0 reactions
- May 7, 2026Add report: Analyzing Claude Octopus — zarguell/research-reports0 reactions
- Apr 24, 2026task: expose Codex/Gemini CLI runtime info like claude-octopus — pureliture/ai-cli-orch-wrapper0 reactions
- Apr 13, 2026Audit candidate: nyldn/claude-octopus — xiaolai/nlpm0 reactions · 8 comments
- Apr 6, 2026Audit candidate: nyldn/claude-octopus — xiaolai/nlpm0 reactions · 3 comments
- Mar 23, 2026Research: Notable concepts & workflows from the Claude Code plugin ecosystem — aiocean/claude-plugins0 reactions · 1 comment
- Jan 18, 2026feat: Add enhanced error messages with troubleshooting steps — wolverin0/claude-skills0 reactions · 1 comment
- Jan 18, 2026feat: Add atomic state writes with file locking — wolverin0/claude-skills0 reactions · 1 comment
On Bluesky · 2
- Mar 31, 2026Since individual models have their blind spots, ensembling different coding agents can lead to more robust results. See e.g. Claude… — @andybrnr.bsky.social2 likes and reposts
- Jun 11, 2026https://github.com/nyldn/claude-octopus — @tom-doerr.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 18, 2026Multi-tentacled orchestrator for Claude Code1 point
Used with
Projects with it also use grill-me and frontend-design.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 4 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- kannaka-labs/Kannaktopus★ 056% same
Wrote their own version · 21
- compozy/compozy★ 2.8ksame name
- warpdotdev/common-skills★ 604same name
- PaulRBerg/agent-skills★ 96same name
- mintuz/skills★ 29same name
- evilstar2016/skill-doctor★ 9same name
- liuchunming033/skill-doctor★ 3same name
- KyTiXo/skill-doctor★ 2same name
- qiangjiyi/jiyi-skills★ 2same name
- ssamba1/skill-doctor★ 2same name
- thesammykins/skills★ 2same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository123 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- skill-extractSkill
- flow-defineSkill
- flow-deliverSkill
- flow-developSkill
- flow-discoverSkill
- flow-parallelSkill
- flow-specSkill
- skill-agent-topologySkill
- octopus-architectureSkill
- skill-auditSkill
- skill-authoringSkill
- skill-code-reviewSkill
- skill-content-pipelineSkill
- skill-context-detectionSkill
- skill-copilot-providerSkill
- skill-cost-projectionsSkill
- skill-coverage-auditSkill
- skill-debateSkill
- skill-debugSkill
- skill-decision-supportSkill
- skill-deckSkill
- octopus-researchSkill
- skill-design-lineageSkill
- skill-doc-deliverySkill
- skill-doc-syncSkill
- skill-factorySkill
- skill-finish-branchSkill
- skill-intakeSkill
- skill-intent-contractSkill
- skill-issuesSkill
- skill-iterative-loopSkill
- skill-knowledge-workSkill
- skill-meta-promptSkill
- skill-native-escalation-routingSkill
- skill-parallel-agentsSkill
- skill-prdSkill
- skill-pressure-testSkill
- skill-prototypeSkill
- octopus-quickSkill
- skill-resumeSkill
- skill-review-responseSkill
- skill-rollbackSkill
- octopus-security-auditSkill
- skill-security-framingSkill
- skill-shipSkill
- skill-staged-reviewSkill
- skill-statusSkill
- skill-task-managementSkill
- skill-tddSkill
- skill-thought-partnerSkill
- octopus-ui-ux-designSkill
- skill-verification-gateSkill
- skill-visual-feedbackSkill
- skill-work-slicingSkill
- skill-writing-plansSkill
- sys-configureSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 12 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Run environment diagnostics across 15 check categories.
- Distinctive: line 38
After installing or updating the plugin
- Distinctive: line 39
Before a demo or important workflow run
- Distinctive: line 54
Use this resolver before running Octopus scripts.
- Very specific: line 108
If the user asks about a specific area, reuse the resolver from Step 1 and replace its final doctor --verbose invocation with one of these …
- Distinctive: line 141
If the check reports missing deps, offer to install them:
- Distinctive: line 189
After running diagnostics, if ANY fixable issues are found, you MUST use AskUserQuestion to offer fixes.
- Distinctive: line 200
Only after the user authorizes that exact repair may you run:
- Distinctive: line 206
Never recreate the stable link in the resolver or as an automatic doctor follow-up.
- Distinctive: line 210
Before each accepted repair, restate the exact target and action.
- Distinctive: line 234
If user chooses install, run it, then offer hook setup.
- Distinctive: line 309
All checks pass — no action needed.
- Very specific: line 402
If unset, show OCTO_TIER=unset and suggest setting it only when the project has a stable risk profile.
- Very specific: line 408
If CLAUDE_CODE_REMOTE=true or OCTOPUS_REMOTE_SESSION=true, report:
- Very specific: line 427
If missing, suggest creating one from the template: cp "${HOME}/.claude-octopus/plugin/config/templates/RUNTIME.md" ./RUNTIME.md
- Distinctive: line 428
If present, confirm it contains at least one populated section (not just the template defaults)
- Very specific: line 450
If the octopus CLI is not on PATH, resolve and export OCTO_PLUGIN_ROOT with the Step 1 resolver, then run the equivalent …
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Environment Doctor
Overview
Run environment diagnostics across 15 check categories. Doctor 2.0 identifies misconfigured providers, stale loaded or cached plugin versions, invalid plugin assembly, unwritable state, non-terminal run records, orphan process evidence, broken hooks, and other issues that prevent Claude Octopus from working correctly.
Core principle: Detect problems before they surface in workflows.
When to Use
Use this skill when:
- Something isn't working and you're not sure why
- After installing or updating the plugin
- Before a demo or important workflow run
- Checking if providers are properly authenticated
- Verifying scheduler, hooks, or skills are correctly configured
Do NOT use for:
- First-time setup (use
/octo:setup— it guides configuration) - Project workflow status (use
/octo:status) - Debugging application code (use
/octo:debug)
The Process
Step 1: Resolve Plugin Root and Run Full Diagnostics
Use this resolver before running Octopus scripts. Prefer the active host root, then the stable root or the installed CLI. Do not create or replace a stable link while collecting diagnostics. Run this as a single Bash call.
OCTO_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-}}"
if [[ -z "$OCTO_PLUGIN_ROOT" || ! -x "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" ]]; then
OCTO_PLUGIN_ROOT="${HOME}/.claude-octopus/plugin"
fi
if [[ ! -x "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" ]] && command -v octopus >/dev/null 2>&1; then
OCTO_BIN="$(command -v octopus)"
OCTO_LINK_HOPS=0
while [[ -L "$OCTO_BIN" ]]; do
OCTO_LINK_HOPS=$((OCTO_LINK_HOPS + 1))
if [[ "$OCTO_LINK_HOPS" -le 40 ]]; then
OCTO_BIN_DIR="$(cd -P "$(dirname "$OCTO_BIN")" 2>/dev/null && pwd -P)" || { OCTO_BIN=""; break; }
OCTO_LINK_TARGET="$(readlink "$OCTO_BIN")" || { OCTO_BIN=""; break; }
case "$OCTO_LINK_TARGET" in
/*) OCTO_BIN="$OCTO_LINK_TARGET" ;;
*) OCTO_BIN="$OCTO_BIN_DIR/$OCTO_LINK_TARGET" ;;
esac
else
OCTO_BIN=""
break
fi
done
if [[ -n "$OCTO_BIN" ]]; then
OCTO_BIN_DIR="$(cd -P "$(dirname "$OCTO_BIN")" 2>/dev/null && pwd -P)" || OCTO_BIN_DIR=""
[[ -z "$OCTO_BIN_DIR" ]] || OCTO_PLUGIN_ROOT="$(cd "$OCTO_BIN_DIR/.." 2>/dev/null && pwd -P)"
fi
fi
if [[ ! -x "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" ]]; then
OCTO_PLUGIN_ROOT="$(
find "${HOME}/.claude/plugins" -type f -path "*/scripts/orchestrate.sh" -print 2>/dev/null \
| sed 's#/scripts/orchestrate.sh$##' \
| { grep -E '(nyldn-plugins|claude-octopus|/octo(/[0-9]|$))' || true; } \
| sort \
| tail -1
)"
fi
if [[ -z "$OCTO_PLUGIN_ROOT" || ! -x "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" ]]; then
echo "Claude Octopus plugin root not found. Reinstall the octo plugin, then retry doctor diagnostics."
exit 1
fi
export OCTO_PLUGIN_ROOT
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor --verboseThis runs all 15 check categories and displays a formatted report. The installation category reports a missing or mismatched stable root; it does not repair it.
Step 2: Filter by Category (Optional)
If the user asks about a specific area, reuse the resolver from Step 1 and
replace its final doctor --verbose invocation with one of these lines. These
are replacement lines, not standalone shell calls; OCTO_PLUGIN_ROOT must be
resolved in the same Bash call.
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor providers
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor providers --live
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor companions
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor auth
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor config
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor updates
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor state
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor smoke
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor hooks
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor scheduler
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor skills
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor conflicts
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor agents
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor recurrence
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor cache
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor installationStep 3: Check & Install Dependencies
Reuse the Step 1 resolver and replace its final invocation with the dependency checker to find missing CLIs, statusline config, and recommended plugins:
bash "$OCTO_PLUGIN_ROOT/scripts/install-deps.sh" checkIf the check reports missing deps, offer to install them:
bash "$OCTO_PLUGIN_ROOT/scripts/install-deps.sh" installThis auto-installs Codex CLI, jq, and the statusline resolver. Antigravity CLI (agy) setup is detected and reported with install guidance. For plugins (claude-mem, document-skills), it prints /plugin install commands the user must run manually.
Step 4: Verbose or JSON Output
As above, run these as the final line of the Step 1 resolver call:
# Detailed output for troubleshooting
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor --verbose
# Machine-readable output
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor --json
# Combine: specific category + verbose
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor auth --verboseDoctor 2.0 JSON always uses this outer contract:
{
"schema_version": "10.0",
"summary": {"passed": 0, "warnings": 0, "failures": 0, "exit_code": 0},
"results": []
}A check with status fail makes both summary.exit_code and the process exit
code 1, while stdout remains valid JSON. Warnings remain structured but do not
make the command fail. Unknown flags, unknown categories, and multiple category
arguments are usage errors with exit code 2; do not retry them as full scans.
The providers --live variant is an explicit, bounded AGY capability check. It
uses one small real request to verify the CLI version, live model catalog and
keyring authentication, configured model, and print-mode dispatch. Do not run
it from startup hooks or routine preflight. If its catalog/auth stage fails,
tell the user to launch plain agy and complete the browser sign-in; AGY has no
separate login shell subcommand. On macOS keyring errors, direct them to Keychain
Access, the Antigravity CLI item, and its Access Control settings.
Step 5: Interactive Remediation (MANDATORY for fixable issues)
After running diagnostics, if ANY fixable issues are found, you MUST use AskUserQuestion to offer fixes. Do not just print instructions. Offer to execute them.
Stable-root repair is bounded and requires explicit authorization. First show the proposed change with:
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" repair --dry-runOnly after the user authorizes that exact repair may you run:
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" repair --applyNever recreate the stable link in the resolver or as an automatic doctor follow-up. Cache cleanup, stale PID cleanup, login flows, package installation, and plugin updates also require explicit confirmation.
Before each accepted repair, restate the exact target and action. Configuration repairs must use a validated sibling temporary file and atomic rename; if any step fails, keep the original and report the failure. Cache cleanup, stale PID cleanup, login flows, package installation, and plugin updates always require explicit confirmation. After repair, rerun only the affected category first, then offer a full scan.
RTK not installed:
AskUserQuestion({
questions: [{
question: "RTK saves 60-90% on bash output tokens. Install it now?",
header: "Install RTK",
multiSelect: false,
options: [
{label: "Install via brew (Recommended)", description: "brew install rtk — fast, macOS"},
{label: "Install via cargo", description: "cargo install rtk-token-killer"},
{label: "Skip", description: "Continue without RTK"}
]
}]
})If user chooses install, run it, then offer hook setup.
RTK installed but hook not configured on macOS/Linux:
On Windows Git Bash, do not offer rtk init -g. RTK uses CLAUDE.md injection
mode there, so report the hook check as skipped.
AskUserQuestion({
questions: [{
question: "RTK is installed but the Claude Code hook isn't active. Configure it?",
header: "RTK Hook",
multiSelect: false,
options: [
{label: "Run rtk init -g (Recommended)", description: "Auto-installs Claude Code bash hook on macOS/Linux"},
{label: "Skip", description: "I'll configure it later"}
]
}]
})Missing optional providers:
AskUserQuestion({
questions: [{
question: "Some providers are missing. Install them?",
header: "Providers",
multiSelect: true,
options: [
{label: "Codex CLI", description: "npm install -g @openai/codex"},
{label: "Antigravity CLI", description: "Install agy, then verify with agy --version && agy models"},
{label: "Skip all", description: "Continue with available providers"}
]
}]
})Auth expired: Offer to run the login command for the expired provider.
Multiple fixable issues: Batch them into a single AskUserQuestion with multiSelect where appropriate, rather than asking one at a time.
Check Categories
| Category | What it checks |
providers | Claude Code version, Codex CLI installed, Antigravity CLI installed, Perplexity API key, Ollama local LLM (server + models), circuit breaker status, provider fallback history |
companions | Optional companion tools and integrations |
auth | Authentication status for each provider |
config | Plugin version, install scope, feature flags, strict claude plugin validate result |
updates | Loaded, installed, catalog, and cache versions; Claude marketplace auto-update; reload requirement |
state | Project state.json, workspace and probe-cache writability, stale results, non-terminal runs, orphan and stale PID evidence |
smoke | Smoke test cache, model configuration |
hooks | hooks.json validity, hook scripts |
scheduler | Scheduler daemon, jobs, budget gates, kill switches |
skills | Skill files loaded and valid |
conflicts | Conflicting plugins detection |
agents | Agent definitions, worktree isolation, CLI registration, version compatibility |
recurrence | Failure pattern detection — flags repeated quality gate failures, source hotspots, 48h trends |
cache | Cache size, freshness, and hygiene |
installation | Loaded plugin root, stable root, host-scoped install metadata, and context profile |
Software dependency installation is checked separately by
scripts/install-deps.sh check in Step 3, including Node.js, jq, provider CLIs,
RTK token compression, the statusline resolver, and recommended plugins.
Interpreting Results
Healthy Output
All checks pass — no action needed.
Common Issues and Fixes
| Issue | Fix |
| Codex CLI not found | npm install -g @openai/codex or install via codex login |
| Antigravity CLI not found | Install agy, then verify with agy --version and agy models |
| Perplexity not configured | export PERPLEXITY_API_KEY="pplx-..." (optional) |
| Auth expired | Re-run codex login; for AGY, launch plain agy and complete its browser sign-in |
| Circuit breaker OPEN | Provider had 3+ consecutive transient failures — wait for cooldown or check provider status |
| Stale state | Delete .octo/state.json and re-initialize |
| Invalid hooks.json | Check hooks.json syntax — must be valid JSON |
| RTK not installed | Offer to install: brew install rtk && rtk init -g (saves 60-90% tokens). Use AskUserQuestion to offer brew vs cargo install. |
| RTK installed but hook not configured | On macOS/Linux, offer rtk init -g; on Windows Git Bash, report skipped because RTK uses CLAUDE.md injection mode |
| RTK gain stats unavailable | Run some bash commands first, then check rtk gain to see token savings |
| Conflicting plugins | Uninstall conflicting plugins or adjust scope |
Integration with Other Skills
| Scenario | Route |
| Doctor finds missing provider | Suggest /octo:setup to configure |
| Doctor finds stale project state | Suggest /octo:status to review |
| Doctor finds hook errors | Guide user to fix hooks.json |
| All checks pass, user still has issues | Suggest /octo:debug for deeper investigation |
Context and intensity profiles
The installation report exposes two optional context settings:
OCTOPUS_CONTEXT_PROFILEselectscore,orchestration, orfullcontext behavior. Theoctopus profilecommand reads and writes this setting.OCTOPUS_HOOK_PROFILEcan override the optional context-hook profile withcore,orchestration, orfull.
These settings control optional context work only. They never disable safety or lifecycle hooks. A missing or invalid hook-profile registry fails closed.
OCTO_PROFILE is a separate legacy intensity setting with budget,
balanced, and quality values. It is not an alias for either context
setting, and it must not be used to claim that safety hooks are disabled.
Legacy intensity profile
Some older workflow paths use OCTO_PROFILE as an intensity setting for model
selection, phase skipping, and context verbosity. This setting is separate
from the optional context-hook profiles above.
What the Doctor Checks
- Context profile:
OCTOPUS_CONTEXT_PROFILEvalue, defaultcore - Optional hook profile:
OCTOPUS_HOOK_PROFILEwhen set, otherwise the context profile - Legacy intensity:
OCTO_PROFILEwhen a legacy workflow reads it - Hook gating: optional context hooks only; safety and lifecycle hooks remain active
- Model hints: which model (sonnet/opus) is recommended for each phase
- Context verbosity: compressed/standard/full
Legacy intensity summary
| Dimension | budget | balanced | quality |
| Models | Sonnet everywhere | Sonnet + Opus for synthesis | Opus for most phases |
| Phases | Skip discover if context given | Skip re-discovery | All phases run |
| Context | Compressed | Standard | Full inlining |
Optional context profile summary
| Dimension | core | orchestration | full |
| Optional context hooks | Off | Workflow context only | All profile-managed context hooks |
| Safety and lifecycle hooks | Active | Active | Active |
Project Tier Hint
Also report OCTO_TIER when set. This is a recommendation hint, not a hard policy.
| Tier | Doctor guidance |
prototype | Prefer faster checks and warn before high-cost provider fanout |
mvp | Use balanced defaults and consensus on risky changes |
production | Recommend full verification, security review, and stricter release gates |
If unset, show OCTO_TIER=unset and suggest setting it only when the project has a stable risk profile.
Remote Session Checks
If CLAUDE_CODE_REMOTE=true or OCTOPUS_REMOTE_SESSION=true, report:
- remote session detected
- autonomous mode default active when no explicit autonomy is set
- provider probes skipped to conserve time/quota
- full HUD disabled unless
OCTOPUS_REMOTE_STATUSLINE=full - provider CLIs may need to be installed in the cloud setup script
Suggest /octo:setup only for configuration guidance; do not recommend interactive provider logins inside the remote session.
Runtime Context
The doctor checks for project-level RUNTIME.md — a file that provides project-specific context (API endpoints, env vars, test commands, build steps) to orchestration prompts.
What the Doctor Checks
- RUNTIME.md exists in the project root (also checks
.octopus/RUNTIME.mdand.claude-octopus/RUNTIME.md) - If missing, suggest creating one from the template:
cp "${HOME}/.claude-octopus/plugin/config/templates/RUNTIME.md" ./RUNTIME.md - If present, confirm it contains at least one populated section (not just the template defaults)
Why It Matters
Without a RUNTIME.md, orchestration prompts lack project-specific details — leading to generic advice about test commands, environment variables, and build steps. A populated RUNTIME.md makes every workflow more accurate.
Quick Reference
/octo:doctor was removed in v9.41.0 to preserve Claude Code's native /doctor command.
Invoke this manual skill explicitly, or run the CLI directly:
| What to say / run | Action |
/octo:skill-doctor | Run all 15 categories inside Claude Code |
octopus doctor providers | Check provider installation only |
octopus doctor auth --verbose | Detailed auth status |
octopus doctor --json | Machine-readable output |
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor auth --verbose | Detailed auth status when the CLI is unavailable |
bash "$OCTO_PLUGIN_ROOT/scripts/orchestrate.sh" doctor --json | Machine-readable output when the CLI is unavailable |
If the octopus CLI is not on PATH, resolve and export OCTO_PLUGIN_ROOT
with the Step 1 resolver, then run the equivalent scripts/orchestrate.sh
command directly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

