Doctor

From qwerfunch/cladding · View interactive version

Doctor is an AI agent skill from the GitHub repository qwerfunch/cladding. 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

How to use this skill

Skill file

Cladding doctor

Run clad doctor from the project root. The verb is observability — it never mutates the working tree.

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:

Exit codes

When to run

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.