agentleFS
LarryStanleyLarryStanley/pi-delegate/skills/doctor/SKILL.md

doctor

Skill4 starsChanged 3 months agoMITView on GitHub

Check pi's dispatch environment (which provider/model a dispatch reaches, the thinking binding, the co-pilot guard)

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 9 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

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 72 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If problems are reported, explain each one's impact to the user before asking whether to act on it:

    line 16

“Common” is measured: kept by at least 6 in 10 of the 72 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Check first:

node "${CLAUDE_PLUGIN_ROOT}/bin/pi-doctor" --check

The effective block in the output is "who a dispatch will actually reach". Having no ~/.claude/pi-delegate/config.json is normal — it means a dispatch uses the user's own pi default model (defaultProvider / defaultModel in ~/.pi/agent/settings.json).

If problems are reported, explain each one's impact to the user before asking whether to act on it:

  • reasoning-missing / compat-missing — only shows up for a local OpenAI-compatible server (e.g. omlx, LM Studio, llama.cpp, vLLM): when a model is missing reasoning: true or the compat.chatTemplateKwargs.enable_thinking binding, --thinking off silently has no effect, and the model keeps thinking without ever acting. This class can be fixed automatically.
  • drafter-selected — the model about to be dispatched to looks like a speculative-decoding co-pilot (draft / assistant); calling it directly returns HTTP 500. Ask the user to switch to the target model; if it's a false positive, adjust drafter_patterns in the config. This class is never auto-fixed, because which model to use is the user's decision.

Once they agree, fix whatever can be fixed automatically (a backup is made first, as models.json.pi-delegate.bak):

node "${CLAUDE_PLUGIN_ROOT}/bin/pi-doctor" --fix

--fix only adds the thinking binding to a model that is already registered and confirmed to be a local chat-template endpoint. It never creates a provider, never inserts a model, and never touches other models — those need values only the user knows, and a guessed configuration is harder to debug than no configuration.

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.