Skip to content
Back to skills

Doctor

ASecurity

Diagnoses 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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 21, 2026
ai-agentsbashdatabase

Works with

  • terminal
  • mcp

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add itsOmidKarami/kraft --skill doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/itsomidkarami-doctor/badge)](https://www.skillsdirectory.com/skills/itsomidkarami-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doctor
description: "Diagnoses 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."
---

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.

# When Kraft itself is unwell

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`.

## 1. Diagnose

```bash
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`.

## 2. Fix what the line names

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

## 3. Verify

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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.