agentleFS
Ian-LouwIan-Louw/potion/skills/doctor/SKILL.md

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

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.
  • AnthropicSkill

    uninstall

    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

  • woosikkimSkill

    cancel

    Clear any stale OMC-Slim state

    Also in 4 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 3 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • Arman-KudaibergenovSkill

    inspect

    Этот скилл 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

The file

Files
SKILL.md

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

  1. 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: a RESULT line printed.

  2. Show the output verbatim — every OK|WARN|FAIL <id> — <detail> line and the RESULT line, in a code block. Never summarize a line away. Done when: the user can see the full output.
  3. 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.

    idFix
    potion-dir/potion:init — this repo has no .potion/STATE.md
    plugin-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 plugin
    state-capstrim STATE.md to gist-and-link form (≤60 lines, ≤12000 bytes)
    state-phaserewrite the Phase line as - Phase: N of M — NN-slug
    grammar/potion:update
    repo-mirrorsh ${CLAUDE_PLUGIN_ROOT}/scripts/install-repo-hooks.sh
    escalationsthe 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").

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.