/kraft:doctorfrom kraft
Diagnoses an unhealthy Kraft server and applies reload, restart, or update. Use when the server is degraded, unresponsive, or a config change needs applying.
Ships in kraft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Kraft's tools come from the kraft MCP server. If kraft is not on PATH, this
plugin has been installed without the program it drives: say so and point at
https://kraft-sdlc.dev/get-started/install rather than reporting a
connection error.
This is the server's health, not one work item's or one repo's. A repo that
will not connect is kraft:onboard; a stopped item is kraft:triage.
kraft admin health # exit 1 when degraded
kraft admin doctor # every check at once; exit 1 on any
Run both and report every FAIL and warn row, and the version row,
verbatim. Paraphrasing loses the check name, and the check name is what the
fix is keyed on.
"Nothing is being picked up" is not always a health failure: Kraft files items
paused unless they were created with --autostart. If both checks pass, run
kraft view list --all --status=paused and hand what you find to kraft:gates.
| Situation | Action |
|---|---|
Edited the template library, policy.yaml or intake.yaml | kraft admin reload: rereads from disk, no restart |
server fails | kraft admin start --detach: restart refuses when there is nothing to restart |
Server wedged, or restart warns it runs old code | kraft admin restart: stops, then starts it the way it was running. A server running in a terminal is only stopped: kraft admin start --detach, or ask the person to run kraft there |
version says a newer release is available | kraft admin update [--restart] |
mcp server not ok | Install the Kraft plugin, or kraft admin init for a terminal-only setup; then doctor again |
A repo <name> row not ok | kraft:onboard |
A kraft-default row that warns, or a chains, agent: <profile>, capabilities or setup <repo> row not ok | That is config drift, not server health: hand it to kraft:check |
| Any other row | Its entry at https://kraft-sdlc.dev/troubleshooting/doctor-failures; run nothing outside this table without asking |
reload is safe to run. Ask before restart and update: run kraft view list --all --status=active and name what it shows. A restart leaves a worktree
item's local steps running, but ends the steps of an item that runs in place.
Offer --when-free to wait for nothing to be running, and pass -y only once
the person agrees. update also replaces the installed program, and a newer
release can migrate the database with no way back: before it, point the person
at the backup step in https://kraft-sdlc.dev/guides/run/upgrade-kraft.
Run kraft admin doctor again and report the result. A fix that was not
followed by a clean run is a guess: clean is exit 0 with the row you fixed ok.
A leftover warn (version can't reach the release feed, say) is reported, not
chased. If a line still fails, stop and report it rather than trying a further
command.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub itsomidkarami/kraft --plugin kraft11 skills in this plugin
/boardReads what Kraft is doing across work items: the board, and a cross-repo search of specs, plans and session summaries. Use when asked what work is running, blocked or waiting on a person, or whether a decision was already made in a spec or plan in another repo. One item's progress or a watch belongs to kraft:status, and a stopped item to kraft:triage./checkReports where Kraft's config on this machine has drifted from what this Kraft version ships: chains that no longer resolve, a chain that hides Kraft's built-in kraft-default, a missing setup command, skills a chain names that are not installed. Use after `kraft admin update` has been applied, when `kraft admin templates lint` fails, a chain won't resolve, or a chain names a skill that isn't installed; a server that is unhealthy is kraft:doctor./Other plugins' skills for the same job