/rdr:rdr-doctorfrom rdr
Use to verify an RDR setup. Read-only health check for the seam, five-var contract, engine layout, evidence root, and skill links. Trigger for diagnose RDR, check RDR setup, $rdr-doctor, or /rdr-doctor.
Ships in rdr. 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.
Read when SKILL.md points to them.
Read-only health check. Runs the same resolution every /rdr-* skill's §seam-bind
does, but checks every invariant (never stops at the first failure) and reports
each with the one command that fixes it. The answer to "a skill said stopped:… —
what's wrong?" It writes nothing — sources the marker, stats paths. Safe anytime,
from any repo or worktree.
All checks live in a script file shipped with the engine (doctor.sh, beside this
SKILL.md). Run that file — do not paste its body into a shell (pasting a long
quoted block is what made earlier runs drop their labels). Resolve the engine the same
two ways §seam-bind does (the doctor can't use the seam to find itself), then run it:
GC=$(git rev-parse --git-common-dir 2>/dev/null) && GC=$(cd "$GC" && pwd -P)
WS=$(dirname "$(dirname "$GC")")
for H in "$CLAUDE_PLUGIN_ROOT" "$CODEX_PLUGIN_ROOT" "$WS/rdr"; do [ -f "$H/skills/rdr-doctor/doctor.sh" ] && { sh "$H/skills/rdr-doctor/doctor.sh"; break; }; done
Under Codex, if $CODEX_PLUGIN_ROOT is unset, use this skill's filesystem-backed
source locator instead: run the doctor.sh that sits beside this SKILL.md.
That is the whole invocation — one sh <file>, no embedded quoting to mistranscribe.
It prints the full report (pure ASCII, one line per check + a Verdict). POSIX sh, so
identical under bash (Linux) and zsh (macOS).
Print the script's stdout verbatim inside a fenced block — it is the report (pure ASCII, one line per check + a Verdict). Do not reformat it into a table, re-run it to "confirm", or paraphrase the lines — that's wasted turns. The first run is the answer; if a line says FAIL, surface its fix as-is, don't improvise a repair.
Corpora (optional, after a clean structural run). If arc is present, list the
named corpora in $RDR_RESOURCES and note any that don't resolve as [WARN]
(degraded mode — research stages run hollow until built). Never a FAIL; skip if no arc.
Domain priors (optional, after a clean structural run). Read $RDR_RESOURCES
and check its Domain priors section: if it is absent, empty, or names no
competitor/prior-art/standard for the project's problem space, report [WARN] domain priors thin — Propose enumerates approaches from the model prior, not prior art. This is the breadth gap: with no priors to reach for, Propose invents
candidate approaches from training memory and Resolve can only verify the winner
of a race the strongest alternatives may have sat out. Never a FAIL (the priors
are the user's to populate); the one fix is "populate Domain priors in
$RDR_RESOURCES with the competitors/prior art for this domain."
Close-summary golden self-test (optional, after a clean structural run). Run
sh close-summary-check.sh --self-test (beside this SKILL.md): it validates the
§next-step close-packet contract against golden fixtures — the good ones (both
/rdr-* Claude and $rdr-* Codex surfaces) must PASS, the gate-only sample must be
rejected. A green self-test means the contract guard still binds; a FAIL means a recent
edit regressed the close packet or the fixtures. Advisory, never a seam FAIL; skip if
the script is absent.
/rdr-init (or the user) repairs.Next: /rdr-status, or /rdr-seed <idea>./rdr-init), then re-run /rdr-doctor.agents/openai.yaml (opens in a new tab)close-summary-check.sh (opens in a new tab)doctor.sh (opens in a new tab)fixtures/bad-gate-only.md (opens in a new tab)fixtures/claude-propose.good.md (opens in a new tab)fixtures/claude-resolve-noedit.good.md (opens in a new tab)fixtures/codex-finalize.good.md (opens in a new tab)fixtures/codex-reconcile.good.md (opens in a new tab)rdr-common.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/rdr-cluster-reconcileUse to reconcile drift across related Final, unimplemented RDRs before any implement. Runs Stage 7.1 whole-set critique and pairwise contradiction scan. Trigger for cluster reconcile, $rdr-cluster-reconcile, or /rdr-cluster-reconcile./rdr-finalizeUse to run the Finalization Gate and lock an RDR to Final. Runs Stage 7: mechanical sweep plus written gate responses. Trigger for finalize/lock RDR, $rdr-finalize, or /rdr-finalize./rdr-implementUse to implement a locked Final RDR into working, spec-verified code. Runs Stage 8 via the launch prompt and is re-entrant from status.md. Trigger for implement RDR, $rdr-implement, or /rdr-implement.npx claudepluginhub cwensel/rdr --plugin rdr