---
name: spec-kitty-spk-admin-setup-doctor
description: "Install, verify, and repair Spec Kitty commands, skills, agent paths, runtime prerequisites, and common setup failures."
license: "MIT"
metadata:
  decimalai-skill-id: "5f37d5ee-b5bc-44d3-bc20-46a6180b10cf"
  decimalai-version-id: "c73a4a97-5c46-403d-8c7e-84c41e08c82e"
  decimalai-version: "1"
  decimalai-body-sha256: "3df4b8abf29a6c8bc6687faba6e39bf606598b8ca3076815685c4bef8da7a3db"
  decimalai-name: "spec-kitty/spk-admin-setup-doctor"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/spec-kitty-spk-admin-setup-doctor@1/SKILL.md"
---
# spk-admin-setup-doctor

Use this skill when Spec Kitty is missing commands, skills, runtime files,
agent config, or expected local behavior.

## Flow

1. Run `spec-kitty doctor` first: a bare invocation runs the fast, read-only default
   checks (`command-files`, `state-roots`, `ops`) and exits 0 when healthy, 1 when a check
   reports a finding, naming the subcommand behind it. Drill into
   `spec-kitty doctor <subcommand>` (add `--json` for machine-readable detail) and use the
   subcommand's repair flag (`--fix`, `--repair`, `--close-stale`) only for the surface it
   flags.
2. Verify slash commands and skills exist for the active agent surface.
3. Repair generated command skills before editing installed copies by hand.
4. Use setup references to diagnose common failures.

## Legacy Alias

For detailed diagnostics and path matrices, use `spec-kitty-setup-doctor` when
available.
