doctor
Skill1 starsChanged 6 days agoMITView on GitHub
Use when potion seems off or before a long unattended run — when the user says "potion doctor", "check potion", "is potion set up right", "why didn't the hook fire", or when a POTION GRAMMAR DRIFT notice points here. Read-only.
96 other projects use a version of this.
Adopted by
Most recently taken up by
- biliboss/skillstheir own version, first seen Nov 29, 2026
- vale-cli/agent-toolstheir own version, first seen Nov 29, 2026
- tusharsrivastava/shark-skillstheir own version, first seen Nov 29, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 29, 2026
- nrzz/claude-code-glowtheir own version, first seen Nov 29, 2026
- DKutzen22/synapsetheir own version, first seen Nov 29, 2026
Used with
Projects with it also use uninstall, cancel and 8 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 4 projects that use this
ibahgatSkillhud
Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.
Also in 3 projects that use this
ibahgatSkillralplan
Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.
Also in 3 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
Arman-KudaibergenovSkillinspect
Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных СКД (skd-info), макет табличного документа MXL (mxl-info), подсистема (subsystem-info), роль и права (role-info). SHOULD вызывать как подготовительный шаг перед любой модификацией объекта. Do NOT использовать для модификации — для изменений используй соответствующие edit/compile скиллы.
Also in 4 projects that use this
- +1 more from ibahgat
Other versions96 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 96
- Yeachan-Heo/oh-my-codex★ 34ksame name
- jihe520/MathModelAgent★ 6.2ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
- codewithmukesh/dotnet-agent-kit★ 853same name
- codewithmukesh/dotnet-claude-kit★ 853same name
- fakechris/obsidian_vault_pipeline★ 175same name
- NoobyGains/godmode★ 140same name
- Rich627/whatsapp-claude-plugin★ 114same name
- bluzir/claude-code-design★ 102same name
- jjanczur/tyran★ 78same name
86 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.
The file
Files
Potion Doctor
Inherit ${CLAUDE_PLUGIN_ROOT}/core/CORE.md. One preflight for the repo and
the install: every check in one place, nothing changed on disk.
Steps
From the target repo's root, run:
node ${CLAUDE_PLUGIN_ROOT}/scripts/doctor.js(
--repo <path>checks another repo.) Exit 1 means at least one FAIL — that is a finding, not a tool error. Done when: aRESULTline printed.- Show the output verbatim — every
OK|WARN|FAIL <id> — <detail>line and theRESULTline, in a code block. Never summarize a line away. Done when: the user can see the full output. For each WARN or FAIL, give the one fixing command from the table. An id printed twice gets one row. Done when: every non-OK line has its fix beside it.
id Fix potion-dir/potion:init— this repo has no.potion/STATE.mdplugin-versionreinstall or update the plugin so the install record matches the source hooks-registeredrestore the missing hook file under ${CLAUDE_PLUGIN_ROOT}/hooks/, or reinstall the pluginstate-capstrim STATE.md to gist-and-link form (≤60 lines, ≤12000 bytes) state-phaserewrite the Phase line as - Phase: N of M — NN-sluggrammar/potion:updaterepo-mirrorsh ${CLAUDE_PLUGIN_ROOT}/scripts/install-repo-hooks.shescalationsthe human decides or renews each expired escalation decision-queuethe human decides or renews each expired entry phase-artifactsstale draft: the human confirms, then deletes it; orphan SUMMARY: check its number against the plans permission-modestart the session in a mode other than bypass before an agent loop check errored(any id)report the message as-is; a broken check is a potion bug
Rule
Doctor never fixes anything itself. It reports; the human or the named skill acts. No edits, no commits, no installs from this skill — even when the fix is one command and obviously right.
Exit
One line: the RESULT line, plus the first fix to run (or "all clear").
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.

