/railyard:doctorfrom railyard
Diagnose and repair the Railyard delivery setup: plugin and skill versions across harnesses and fleet hosts, marketplace freshness, hook trust, fleet config, host reachability and enrollment, and desired-state sync. Use when the user asks for doctor, a Railyard health check, or whether plugins, skills, or hosts are in sync. Not for bugs in the user's own code.
Ships in railyard. 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.
None: SKILL.md is the whole skill.
Diagnose first, then apply fixes the task already authorizes. Start with the reported failure and affected host, and widen only when evidence requires it. Fix through the owning manager or skill and re-check the affected behavior. A healthy requested surface gets a short answer, not a fleet-wide sweep; an existing fleet configuration alone does not authorize cross-host work.
Run the checks relevant to the reported failure or requested health scope. Report every row with one state:
unknown (sandboxed) only when CODEX_SANDBOX is set
and the probe was blocked. Report only that row as unknown; rows whose
read-only probes succeeded keep their real result. Never guess pass or fail.Run probes with stdin from /dev/null. Print names and versions only. Read
config through the specific keys named here, never by printing whole files:
settings.json and config.toml can hold secrets.
Plugins and marketplaces (this host, both harnesses)
jq -r '.extraKnownMarketplaces // {} | keys[]' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/settings.json"; compare with
claude plugin marketplace list --json (.[].name). Codex declares them as
table headers, read as bare names with grep -oE '^\[marketplaces\.[^]]+\]' "${CODEX_HOME:-$HOME/.codex}/config.toml" | sed -E 's/^\[marketplaces\.//; s/\]$//'; compare with
codex plugin marketplace list --json (.marketplaces[].name). A declared
name missing from its harness's list fails; fix with
claude plugin marketplace add <source> or
codex plugin marketplace add <source>. A marketplace declared for only one
harness is not a fault.railyard, roundhouse, agent-utilities, and
Compound Engineering when selected:
claude plugin list --json (.[] | {id, version}, with
id as name@marketplace) and codex plugin list --json
(.installed[] | {name, marketplaceName, version}).<installLocation>/.claude-plugin/marketplace.json, from the Claude
marketplace list. Codex: <root>/.agents/plugins/plugin-versions.json,
from .marketplaces[].root. Where an entry's version is null or the
file is absent, read the plugin manifest at its source path in the clone.claude plugin marketplace update <marketplace>, then
claude plugin update <name>@<marketplace>. Codex fix:
codex plugin marketplace upgrade <marketplace>, then
codex plugin add <name>@<marketplace>. Deliberate pins and staged
upgrades are not faults.ce-babysit-pr when watching a PR.Fleet parity (only when requested)
Delegate the cross-host comparison to roundhouse:fleet-agents (inventory
mode) and fold in its drift report rather than repeating it. If
roundhouse --help lists a plugin probe (such as probe --plugins), use that
as the fleet-wide form of the version check instead.
Configuration and state
ROUNDHOUSE_CONFIG, else
${XDG_CONFIG_HOME:-$HOME/.config}/roundhouse/config.json, and run
validate-config under the same environment. No config is valid for
local-only use. Check SSH aliases for affected hosts.gh auth status, op sign-in when one-password is installed, and any
key an installed skill's docs name. Report where to set a missing one
(dotfiles env or 1Password); never read or print a value or ask for a secret
in chat.Hosts (affected hosts only)
Use roundhouse:fleet-readiness for the go/no-go (including the WSL interop
lane), roundhouse:fleet-inventory for executor staleness, and
roundhouse:ssh-doctor or roundhouse:fleet-hosts for reachability and
certificate enrollment. If a Windows interop launch fails while SSH is
healthy, check /proc/sys/fs/binfmt_misc/WSLInterop on the WSL side to
separate "interop disabled" from "target missing".
Desired-state sync (only when sync is part of the failure or requested
scope, for hosts with a hosts/<name>.yaml; skip if the store was never set up)
Run the installed Roundhouse CLI's fleet-doctor and fleet-pending, and
evaluate them per roundhouse:fleet-agents "Desired-state sync". Report each
relevant fleet-doctor row by name with its evidence. fleet-pending lists
fleet-wide items; filter to the selected scope and do not treat other hosts'
rows as authority to fix them. Add these agent-computed checks, which the CLI
does not report:
fleet-unlock on a stale run-lock, confirm no runner is live by
checking the scheduler entry and running processes.Report one table: check, state (as defined under Checks), and for each non-pass row the minimal fix and its owner:
railyard:setup;roundhouse:fleet-agents refresh
(locally, the marketplace and plugin commands above);roundhouse:ssh-doctor;roundhouse:fleet-hosts;roundhouse:fleet-update;roundhouse:fleet-agents; a missing or
duplicated scheduler entry → roundhouse:fleet-update "Unattended schedule";railyard:setup.Apply authorized fixes and re-run the affected checks. If more authority is needed, prepare the exact operation before asking. Leave unrelated state alone, and change enrolled or privileged state only through its owning skill.
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/configShow or change a repository's Railyard settings: turn Railyard off or on for a repository and its worktrees, set the pre-push review level (full, light, checks). Use when the user asks to disable, quiet, lighten, or configure Railyard for a repository; not for installation (use setup)./deliverHandle implementation, fix, and pull request creation requests, including plain-language requests. For authorized repository work, follow the PR through review, CI, confirmed merge, and any required release, deployment, and consumer verification. Honor explicit narrower endpoints and repository protections./orchestrateCoordinate authorized fleet and account placement for work that benefits from another host, including calls from Deliver. Match each stage to a configured, ready host and use the simplest carrier. Keep routine and local-only work local.Other plugins' skills for the same job
railyard@novotnyllc is listed by novotnyllc/marketplace — review the source before installing
npx claudepluginhub novotnyllc/marketplace --plugin railyard