doctor
Diagnose Cladding runtime health — Claude Code hook liveness and version, CI package pinning, lifecycle governance, and sentinel-miss frequency by phase ×…
Skill by purpleeddy
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/purpleeddy-doctor-3cbfa0
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
doctor- Description
- Diagnose Cladding runtime health — Claude Code hook liveness and version, CI package pinning, lifecycle governance, and sentinel-miss frequency by phase × cause × fallback. Use when hooks may be silent, CI may float across Cladding releases, scan or run results look thinner than expected, or before tuning the host model or transport. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# Cladding doctor
Run `clad doctor` from the project root. The verb is observability — it never mutates the working tree.
- `--cwd <path>` — read events from a project directory other than the current one (default cwd).
- `--json` — emit the raw `DoctorReport` shape instead of the formatted text surface; the additive shape (`{cwd, events, sentinelMiss, governance, hooks, ciVersion}`) is the stable wire format for MCP clients and follow-up tooling.
The text surface prints:
1. One pulse line with total events and total sentinel-miss count (`pass` when zero misses, `note` otherwise).
2. An event-type breakdown line (one `<type>=<count>` token per non-zero `EventType`).
3. Claude Code hook health: whether the runtime has actually been observed, whether the observed engine version matches the current CLI, and the last firing time (or `never observed`) for session start, prompt submit, before edit, after edit, and session stop.
4. A non-blocking CI warning naming each GitHub Actions workflow that invokes an unversioned or floating `npx cladding` package. Numeric selectors such as `cladding@0.9` and `cladding@0.9.4` stay quiet.
5. Governance counts for gate runs, done attempts and rejections, stop blocks, known-failing Stop exits, blocked fingerprints reproduced by a later gate, and attestation state.
6. When sentinel-miss events exist:
- `by phase` / `by cause` / `by fallback` aggregates from the v0.3.39 telemetry payload.
- Top-5 missed sentinels (`CONVENTIONS_MD` / `ARCHITECTURE_YAML` / `SCENARIO_FLOWS` / `CAPABILITIES_YAML` / `WHY` / `WHAT` / `PURPOSE`) sorted by count desc, name asc.
- Last 3 unique dispatcher error strings (most recent first; errors are truncated to 200 chars at the emit site).
- A one-line tuning hint.
## Exit codes
- `0` — events.log was either missing (greenfield) or readable. A greenfield workspace prints a friendly note and exits 0; a healthy host with zero misses also exits 0 with a `pass` line.
- `1` — `events.log.jsonl` exists but cannot be parsed as JSONL (corrupt telemetry).
## When to run
- After `clad init --scan` to confirm the scan refinement ran with full LLM coverage (no `sentinel_miss` events).
- After installing or updating the Claude Code plugin to confirm a new session actually fired the shipped hooks and loaded the current engine.
- After a `clad serve` session to confirm the host returned refined replies through the configured dispatcher.
- Periodically in CI to track miss rate across sampling-policy changes.
- Before reporting "the LLM seems off" to a host (Claude Code / Cursor / Continue) — the breakdown tells you whether the issue is dispatcher transport (`cause: dispatcher_error`) or model output quality (`cause: blank_section`).
```
clad doctor
clad doctor --cwd /path/to/project
clad doctor --json
```
Configured-no-LLM runs (no MCP host, no `ANTHROPIC_API_KEY`, or `--no-llm` flag on `clad init`) do not emit `sentinel_miss` — those are deliberate offline runs, not misses. A doctor pass with zero events on a workspace that never reached the LLM path is therefore expected, not a problem.From purpleeddy/cladding, MIT.
More from purpleeddy/cladding
- 0.600score
orchestrator
purpleeddy
Cycle-contract coordinator for a cladding-managed project — declares the outcome conditions each feature must satisfy (spec-first, independent verification…
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
blind-author
purpleeddy
Impl-blind test/oracle author — writes conformance tests from a spec-only brief.
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
reviewer
purpleeddy
Philosophical guardrails enforcer — independently audits code, tests, and spec for layered-integrity, Why>What, error-as-data, and the related Ironclad…
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
planner
purpleeddy
SSoT custodian — keeps spec.yaml structurally clean.
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
developer
purpleeddy
Implementer — writes production code, tests, and migrations.
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
observability
purpleeddy
Log and metrics analyst — reads .cladding/audit.log.jsonl, perf/baseline.json, and drift reports; surfaces patterns the human can act on.
SkillBFreshness: B★ 16Claude Code +9 - 0.596score
sync
purpleeddy
Validate the active spec.yaml against the Ironclad schema and refresh the inventory.
SkillBFreshness: B★ 16Claude Code +9 - 0.596score
check
purpleeddy
Run every Iron Law stage and the drift detector suite.
SkillBFreshness: B★ 16Claude Code +9 - 0.596score
changelog
purpleeddy
Render release notes / a changelog from the cladding spec.
SkillBFreshness: B★ 16Claude Code +9 - 0.596score
oracle
purpleeddy
Author an IMPL-BLIND spec-conformance oracle for an acceptance criterion the policy worklist (`clad oracle --required`) demands — an empty worklist means…
SkillBFreshness: B★ 16Claude Code +9 - 0.596score
rollback
purpleeddy
Record a rollback event and print the maintainer-runnable git command for the most recent checkpoint of a feature.
SkillBFreshness: B★ 16Claude Code +9 - 0.596score
checkpoint
purpleeddy
Record a feature checkpoint event pinning the current git HEAD plus a spec digest, so a later rollback can restore the exact pre-change state.
SkillBFreshness: B★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Sep 5, 2026 (1 month ago)
- Last release
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/purpleeddy/cladding
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.596score
doctor
purpleeddy
Diagnose Cladding runtime health — Claude Code hook liveness and version, CI package pinning, lifecycle governance, and sentinel-miss frequency by phase ×…
SkillBFreshness: B★ 16Claude Code +9 - 0.357score
doctor
purpleeddy
Diagnose Cladding runtime health — Claude Code hook liveness and version, CI package pinning, lifecycle governance, and sentinel-miss frequency by phase ×…
SkillBFreshness: B★ 16Claude Code +9
More from purpleeddy
- 0.600score
orchestrator
purpleeddy
Cycle-contract coordinator for a cladding-managed project — declares the outcome conditions each feature must satisfy (spec-first, independent verification…
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
reviewer
purpleeddy
Philosophical guardrails enforcer — independently audits code, tests, and spec for layered-integrity, Why>What, error-as-data, and the related Ironclad…
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
blind-author
purpleeddy
Impl-blind test/oracle author — writes conformance tests from a spec-only brief.
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
planner
purpleeddy
SSoT custodian — keeps spec.yaml structurally clean.
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
developer
purpleeddy
Implementer — writes production code, tests, and migrations.
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
observability
purpleeddy
Log and metrics analyst — reads .cladding/audit.log.jsonl, perf/baseline.json, and drift reports; surfaces patterns the human can act on.
SkillBFreshness: B★ 16Claude Code +9
Cite this page
doctor skill. Agent Mart. https://agentmart.dev/skills/purpleeddy-doctor-3cbfa0 (last updated 2026-10-24)