doctor
Skill0 starsChanged 15 days agoApache-2.0View on GitHub
Run environment and workspace diagnostics, auto-fix what it can, and report blockers. Use at session start or when something seems broken.
- Installs packages
81 other projects use a version of this.
Adopted by
Most recently taken up by
- JanSzewczyk/spec-driven-developmenttheir own version, first seen Nov 8, 2026
- stunt-double/stuntdouble-mcptheir own version, first seen Nov 8, 2026
- aaroncohn/openspec-conductor-powerupstheir own version, first seen Nov 8, 2026
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- woosikkim/oh-my-claudecode-slimtheir own version, first seen Nov 8, 2026
- Ubuntu-Buddha/claude-code-stranger-dangertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use uninstall, cancel and 10 more.
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.
AnthropicSkilluninstall
Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.
Also in 6 projects that use this
woosikkimSkillcancel
Clear any stale OMC-Slim state
Also in 3 projects that use this
ibahgatSkillmode
Inspect or switch omi operating mode/profile for speed, depth, autonomy, or strict quality gates.
Also in 3 projects that use this
BlockSkillopen
Open markdown documents in Penpal for collaborative review. Use when you want a human to review a document, plan, or research artifact.
Also in 3 projects that use this
QinghongLinSkilleditor
Read analyst.json and detective.json, make all editorial decisions — what the blog argues, which findings matter, narrative arc and section structure. No visual design. Outputs editor.md (prose) and editor.json (structure with edt_xx IDs).
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 15 projects that use this
Other versions81 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 81
- Yeachan-Heo/oh-my-codex★ 34ksame name
- jihe520/MathModelAgent★ 6.2ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
- fakechris/obsidian_vault_pipeline★ 165same name
- NoobyGains/godmode★ 118same name
- Rich627/whatsapp-claude-plugin★ 114same name
- bluzir/claude-code-design★ 102same name
- jjanczur/tyran★ 81same name
- svy04/ballast★ 73same name
- Hainrixz/agente-pagokit★ 68same name
71 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 repository17 other files it gives its agents.
- check-inboxSkill
- check-inboxSkill
- debriefSkill
- debriefSkill
- doctorSkill
- oacpSkill
- oacpSkill
- org-memory-synthesisSkill
- org-memory-synthesisSkill
- review-loop-authorSkill
- review-loop-authorSkill
- review-loop-reviewerSkill
- review-loop-reviewerSkill
- self-improveSkill
- self-improveSkill
- wrap-upSkill
- wrap-upSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 5 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 61 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Run oacp doctor to check environment health, workspace structure, inbox state, YAML schemas, autonomy configs, agent status, and signing …
- Very specific: line 20
When the user runs /doctor, do the following:
- Distinctive: line 24
Before anything else, check that the CLI is available:
- Very specific: line 30
If not found, report immediately: "oacp CLI not found.
- Very specific: line 34
If --project was provided, use it directly.
- Very specific: line 40
If empty, ask the user which project to check.
- Very specific: line 44
Run the doctor command with --fix and --json for structured parsing:
- Very specific: line 50
If --project was not resolved, run without it and without --fix (fixes require a workspace target):
- Distinctive: line 58
If the output is not valid JSON, the CLI may have crashed.
- Distinctive: line 150
If no issues were found at all, report: "No issues found.
- Distinctive: line 155
If there are remaining errors, suggest the most impactful fix first:
- Distinctive: line 164
If all checks pass (including after auto-fixes), confirm the environment is ready.
- Very specific: line 172
Ensure your runtime has filesystem access to $OACP_HOME for reading workspace and agent directories
“Common” is measured: kept by at least 6 in 10 of the 61 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
/doctor — Environment & Workspace Diagnostics
Run oacp doctor to check environment health, workspace structure, inbox state, YAML schemas, autonomy configs, agent status, and signing trust roots. Auto-fixes safe issues and reports blockers that need human intervention.
Arguments
/doctor [--project <name>]--project <name>— Which project to check. Auto-detected from.oacpproject marker (may be a symlink toworkspace.json) if omitted.
Instructions
When the user runs /doctor, do the following:
1. Pre-flight: verify oacp CLI
Before anything else, check that the CLI is available:
command -v oacp >/dev/null 2>&1 || echo "NOT_FOUND"If not found, report immediately: "oacp CLI not found. Install: pip install 'oacp-cli[crypto]'" and stop. (The [crypto] extra enables the signing/trust checks; the base install runs everything else.)
2. Resolve project name
If --project was provided, use it directly. Otherwise auto-detect:
PROJECT=$(python3 -c "import json; print(json.load(open('.oacp'))['project_name'])" 2>/dev/null || echo "")If empty, ask the user which project to check. If the user only wants environment checks (no project), run without --project.
3. Run oacp doctor with --fix
Run the doctor command with --fix and --json for structured parsing:
oacp doctor --project "${PROJECT}" --fix --json 2>&1If --project was not resolved, run without it and without --fix (fixes require a workspace target):
oacp doctor --json 2>&1Capture both stdout (JSON) and the exit code. Exit code 1 means errors were found — this is expected, not a failure.
If the output is not valid JSON, the CLI may have crashed. Show the raw output to the user and report: "oacp doctor returned invalid output. Check CLI installation."
4. Parse the JSON output
The JSON output has this structure:
{
"has_errors": false,
"fixed": [
"Created claude/status.yaml",
"Updated codex/status.yaml timestamp"
],
"categories": [
{
"name": "Environment",
"worst_severity": "ok",
"results": [
{
"name": "git",
"severity": "ok",
"message": "git — git version 2.x.x"
},
{
"name": "pyyaml",
"severity": "warn",
"message": "pyyaml — not importable",
"fix_hint": "Install: pip install pyyaml"
}
]
}
]
}Severity levels:
ok— passed (or auto-fixed), no action neededwarn— non-blocking issue, should be addressederror— blocking issue, must be fixedskip— check was skipped (missing dependency)
The --fix flag auto-fixes these safe issues:
| Issue | Fix applied |
| Missing inbox directory | Creates the directory |
| Missing status.yaml | Creates from template |
| Stale status.yaml | Updates updated_at timestamp |
Fixed results appear as ok in the output with updated messages. The fixed array lists what was changed — it will be empty on a healthy workspace where nothing needs fixing.
Check categories (oacp-cli v0.4.x):
- Environment — required tools (git, gh, python, pyyaml) on PATH and importable
- Workspace —
workspace.jsonvalid,agents/present; per-agent profile completeness (an agent is more than a bare-mkdirinbox — config, status, audit scaffold) - Inbox Health — message counts, oldest-message staleness
- Schemas — inbox/outbox message YAML validates against the protocol schema
- Autonomy — receiver
config.yamlautonomy blocks parse and validate; signed policies verify (policy_auth), so a tampered policy is caught before the gate trusts it - Agent Status —
status.yamlpresence and staleness per agent - Trust (v0.4.1+) — signing trust-root health: catalog-vs-pins drift, per-receiver pin-completeness gaps, and enforce-readiness (every catalog identity carrying an active pin) for receivers configured with
verify_mode: enforce - Memory Sync (with
--memory) — advisory checks on the OACP_HOME memory git sync
5. Report results
Present a structured report to the user:
## Doctor Report
### Auto-Fixed
- Created claude/status.yaml
- Updated codex/status.yaml timestamp
### Warnings
- [!] Environment — pyyaml not importable (Install: pip install pyyaml)
- [!] Inbox Health — claude/inbox has 3 messages, oldest 48h stale
### Errors
- [x] Workspace — workspace.json not found (Run: oacp init <project>)
- [x] Environment — gh not found (Install gh and ensure it is on PATH)
### Summary
Environment: ok | Workspace: error | Inbox: warn | Schemas: ok | Agent Status: ok
Auto-fixed: 2 issue(s) | Remaining: 1 warning(s), 2 error(s)Reporting rules:
- List auto-fixes first (from the
fixedarray) so the user sees what changed - Group remaining issues by category: Environment, Workspace, Inbox Health, Schemas, Autonomy, Agent Status, Trust
- Include
fix_hintfor all warn/error results that have one — note thatfix_hinttext comes from the CLI and may referencemake initoroacp initdepending on the context - If no issues were found at all, report: "No issues found. Environment and workspace are healthy."
okandskipresults are not shown individually — only the category summary
6. Recommend next steps
If there are remaining errors, suggest the most impactful fix first:
- Missing tools: installation commands
- Missing workspace:
oacp init <project> - Invalid YAML: which file to fix and what's wrong
- Stale inbox messages: suggest running
/check-inboxto process them - Trust-pin gaps on an enforce-posture receiver:
oacp trust import <kid>.pub.json --project <project> --agent <receiver>for each missing peer — underverify_mode: enforce, an unpinned peer's messages quarantine instead of processing - Invalid policy signature (
policy_auth: invalid): re-sign the receiver's policy (oacp trust sign-policy) after confirming the config change was intentional
If all checks pass (including after auto-fixes), confirm the environment is ready.
Notes
oacp doctorexit code 1 means errors were found — parse the output normally, do not treat it as a command failure- The
--jsonflag is required for structured parsing; without it, output is human-readable but harder to parse - The CLI also supports
--oacp-dir <path>to override the OACP home directory if$OACP_HOMEis not set - For recurring health checks, pair with
/check-inboxat session start: run/doctorfirst to verify the environment, then/check-inboxto process pending messages - Ensure your runtime has filesystem access to
$OACP_HOMEfor reading workspace and agent directories
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.

