/kraft:checkfrom kraft
Reports drift between Kraft's local config and the installed version: unresolved chains, hidden built-in chains, missing setup commands, and skills referenced by chains that aren't installed. Run after `kraft admin update` or when chains fail to resolve.
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.
Run kraft admin templates lint and kraft admin doctor. Lint asks the
server: if it can't reach it, read doctor's chains row instead (it reads the
files with no server, but skips the policy.yaml check) and hand the server to
kraft:doctor. The server and MCP token rows are kraft:doctor's. Any other
row that warns or fails and isn't listed here (moved keys, harnesses.yaml,
profile:, add-ons, ...): quote it verbatim with the fix its line names.
Then do the skills check below: neither command does it. If lint, every row
and that check come back clean, say so in one line and stop.
The config directory is $KRAFT_HOME/config (default ~/.kraft/config).
lint - every chain in the config directory's chains/ that doesn't resolve
against the library and the built-in kraft-default add-on, each with its
reason: a reference to a component that isn't declared, a component extending
one of another kind, a policy a chain widens past policy.yaml. It exits 1 on
any error. A chain that doesn't resolve can't be filed, so this comes first.kraft-default (doctor) - Kraft's own chains and library are the built-in
add-on kraft-default, read from the installed Kraft, so they cannot fall
behind and there is no drift to compare. The row is always ok, and warns
when it has something to say, one line each:
chains/<file>.yaml is a full copy and hides kraft-default:<id> - a home
seeded before the built-in. It keeps its copy and Kraft never rewrites it;
point at https://kraft-sdlc.dev/guides/run/upgrade-your-configuration and
stop: it is a by-hand move that keeps the person's edits, so there is
nothing for you to apply.kraft-default - the line
says what; a held one is settled by an interactive kraft admin update.kraft-default - the line gives the two commands
that move off it.harnesses.yaml lacks ...; using the packaged ones: harmless, Kraft uses
the packaged profiles; report it.kraft-default: the person renames it in repos.yaml.maxima: clamping built-in tasks: report it; the person raises the
ceiling in policy.yaml or accepts it.agent: <profile> (doctor) - a harness profile some chain selects whose
executable isn't on PATH, or which harnesses.yaml doesn't declare. The
person installs the CLI; restarting Kraft afterwards is kraft:doctor's job.
A pass here is doctor's own PATH, not the service's.capabilities (doctor) - capabilities this Kraft has that the operator's
seeded settings files predate. None ship today, so the row reads up to date.
config/ is seeded once and never overwritten, so when a release does ship
one, read the row's -> lines out as the edit each one needs: they are
adoption instructions, not drift to be "fixed". Never offer to copy the
shipped defaults over: a live library carries per-task model/effort
choices the shipped defaults do not, and overwriting destroys them.setup <repo> (doctor) - a connected repo with no setup_command in
repos.yaml. There is no default, so this repo's next work item stops when
its worktree is built. The row carries the setup command kraft repo connect
would propose today (from the repo's task runner, CI and lockfiles); check it
against what the repo's own docs say, the same way step 1 of kraft:onboard
checks a proposed test_command, then give it to the person to set in
Settings › Repos. If it found none, ask whether the repo needs setup at all.For the rows listed above, give one line per finding under its own heading, so a human reads "these three things are stale" rather than a string they have to parse. Any other row is quoted verbatim.
For every agent task in the live library and chains
(library.yaml and chains/*.yaml in the config directory) whose skill:
value contains a colon, first set aside what Kraft resolves itself:
kraft: (a method Kraft ships) and a namespace that kraft admin addon list
shows (an add-on's skill, read from its store; doctor and lint check those).
What is left is a reference into this agent's own plugin system. Check each
one against the skills currently available to you (the list your own session
already has), for the tasks whose agent profile runs this session's own harness
(kraft admin harnesses shows each profile's harness and the tasks that select
it). The Kraft server can't answer this, by design; you can, because you are
the agent that would have to load it. A task on another harness loads
its skills from that harness's install: list it as "cannot tell from here".
kraft admin templates show ID --resolved prints each task with the skill:
it inherited, so read that rather than the raw files.
List any value not in your available-skills list under its own "not installed for this agent" heading. This is a per-agent fact, not a per-repo one - the same library can be fully served on one machine and missing skills on another.
Report-only until the human says to act. Then, for each item they pick:
library.yaml, a
chain file under chains/ or harnesses.yaml. Commands in repos.yaml are
the person's to set; tell them what to change. The per-item override tools
(set_chain, set_node_overrides, set_agent_overrides) only keep one item
clear of the drift and never clear a row: offer them only when the person
asks for a one-item workaround.kraft admin reload so the server reads the new library, then
re-run kraft admin templates lint and kraft admin doctor and confirm the
row that named the problem now reads clean. Report the failure plainly if it
doesn't - don't declare it fixed on the strength of having made the edit.A missing plugin skill has no edit to propose here - it is installed or it isn't. Say so, and name what needs installing, rather than inventing a workaround.
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./doctorDiagnoses an unhealthy Kraft server and applies the reload, restart or update its health check calls for. Use when the server seems unhealthy, degraded or unresponsive (connection refused, kraft admin doctor fails), no work item starts though none was filed paused, or an upgrade or config change needs applying. A repo that will not connect is kraft:onboard; a stopped work item is kraft:triage./gatesApproves, rejects or skips the gate a Kraft work item is waiting on (a spec, a plan, or the final review that merges the work), files and submits review threads, and starts a filed item. Use when a person has made the call at a gate, said to request changes or ship it, or wants line comments sent or a filed item started; kraft:review helps decide first, kraft:steer pauses, resumes and redirects a started item, and kraft:triage covers stopped items./handoffFiles work with Kraft as a paused work item, with any agreed spec and plan attached. Use when the person says work settled in this session should go to Kraft instead of being done here, or to file it, hand it off or put it on the board. It connects a repo Kraft has not seen first; verifying that repo's test and setup commands belongs to kraft:onboard, the inline-or-Kraft decision to kraft:prepare./onboardConnects a repository to Kraft and verifies that its test and setup commands work in a fresh worktree. Use when a repo is not yet connected to Kraft, or a newly connected repo has not been verified. Config drift in an onboarded repo belongs to kraft:check, an unhealthy server to kraft:doctor./prepareUse before starting non-trivial work that needs a spec, including before a spec skill such as superpowers:brainstorming starts, when unsure whether it should run inline in this session or be handed to Kraft, or when deciding how to split it into sub-agents, slices or separate work items. kraft:handoff does the filing once that is decided.Other plugins' skills for the same job