agentsclimarketplace

Skill doctor

Skill Moliboy5000/.claude/plugins/cache/nyldn-plugins/octo/9.30.0/skills/skill-doctor

Claude dotfile containing skills, agents etc I use.

Install
npx -y skills add Moliboy5000/.claude --skill skill-doctor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Environment diagnostics — check providers, auth, config, hooks, scheduler, and more. Use when: AUTOMATICALLY ACTIVATE when user asks about:. "doctor" or "run doctor" or "diagnostics". "check my setup" or "is everything working"

SKILL.md

8.1 KB, ~1.9k tokens by cl100k_base, as published. Nobody here has run it

Environment Doctor

Overview

Run environment diagnostics across 11 check categories. Identifies misconfigured providers, stale state, 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: Run Full Diagnostics

cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor

This runs all 11 check categories and displays a formatted report.

Step 2: Filter by Category (Optional)

If the user asks about a specific area, filter:

cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor providers
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor auth
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor config
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor state
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor smoke
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor hooks
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor scheduler
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor skills
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor conflicts
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor agents
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor recurrence

Step 3: Check & Install Dependencies

Run the dependency checker to find missing CLIs, statusline config, and recommended plugins:

bash "${HOME}/.claude-octopus/plugin/scripts/install-deps.sh" check

If the check reports missing deps, offer to install them:

bash "${HOME}/.claude-octopus/plugin/scripts/install-deps.sh" install

This auto-installs: Codex CLI, Gemini CLI, jq, and the statusline resolver. For plugins (claude-mem, document-skills), it prints /plugin install commands the user must run manually.

Step 4: Verbose or JSON Output

# Detailed output for troubleshooting
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor --verbose

# Machine-readable output
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor --json

# Combine: specific category + verbose
cd "${HOME}/.claude-octopus/plugin" && bash scripts/orchestrate.sh doctor auth --verbose

Check Categories

CategoryWhat it checks
providersClaude Code version, Codex CLI installed, Gemini CLI installed, Perplexity API key, Ollama local LLM (server + models), circuit breaker status, provider fallback history
authAuthentication status for each provider
configPlugin version, install scope, feature flags
stateProject state.json, stale results, workspace writable
smokeSmoke test cache, model configuration
hookshooks.json validity, hook scripts
schedulerScheduler daemon, jobs, budget gates, kill switches
skillsSkill files loaded and valid
conflictsConflicting plugins detection
agentsAgent definitions, worktree isolation, CLI registration, version compatibility
recurrenceFailure pattern detection — flags repeated quality gate failures, source hotspots, 48h trends
depsSoftware dependencies — Node.js, jq, Codex/Gemini CLIs, RTK token compression, statusline resolver, recommended plugins

Interpreting Results

Healthy Output

All checks pass — no action needed.

Common Issues and Fixes

IssueFix
Codex CLI not foundnpm install -g @openai/codex or install via codex login
Gemini CLI not foundInstall Gemini CLI from Google
Perplexity not configuredexport PERPLEXITY_API_KEY="pplx-..." (optional)
Auth expiredRe-run codex login or gemini login
Circuit breaker OPENProvider had 3+ consecutive transient failures — wait for cooldown or check provider status
Stale stateDelete .octo/state.json and re-initialize
Invalid hooks.jsonCheck hooks.json syntax — must be valid JSON
RTK not installedbrew install rtk && rtk init -g (optional — saves 60-90% tokens on bash output)
Conflicting pluginsUninstall conflicting plugins or adjust scope

Integration with Other Skills

ScenarioRoute
Doctor finds missing providerSuggest /octo:setup to configure
Doctor finds stale project stateSuggest /octo:status to review
Doctor finds hook errorsGuide user to fix hooks.json
All checks pass, user still has issuesSuggest /octo:debug for deeper investigation

Hook Profile

Claude Octopus hooks can run in different profiles to balance cost and coverage.

Current profile: $OCTO_HOOK_PROFILE (default: standard)

Available profiles:

  • minimal — Only session lifecycle and cost tracking hooks (lowest overhead)
  • standard — All hooks except expensive review/security gates (default)
  • strict — All hooks enabled including quality and security gates

Override: Set OCTO_PROFILE=budget|balanced|quality or OCTO_DISABLED_HOOKS=hook1,hook2 to fine-tune. Legacy OCTO_HOOK_PROFILE still works (minimal→budget, standard→balanced, strict→quality).


Intensity Profile

The doctor reports the active intensity profile — a single knob controlling hook gating, model selection, phase skipping, and context verbosity.

What the Doctor Checks

  • Current profile: OCTO_PROFILE value (budget/balanced/quality, default: balanced)
  • Profile source: env var, legacy OCTO_HOOK_PROFILE, or auto-selected from intent
  • Hook gating: which hooks are enabled/disabled at this profile level
  • Model hints: which model (sonnet/opus) is recommended for each phase
  • Context verbosity: compressed/standard/full

Profile Summary

Dimensionbudgetbalancedquality
Hooksessential onlystandard (no quality gates)all hooks
ModelsSonnet everywhereSonnet + Opus for synthesisOpus for most phases
PhasesSkip discover if context givenSkip re-discoveryAll phases run
ContextCompressedStandardFull inlining

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.md and .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

User InputAction
/octo:doctorRun all 11 categories
/octo:doctor providersCheck provider installation only
/octo:doctor auth --verboseDetailed auth status
/octo:doctor --jsonMachine-readable output

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,970. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.