fleetrc doctor runs a fixed list of checks on this machine and prints one line for each. It exits 0 when no check fails and 1 when one does.
fleetrc doctorok node: ~/.local/state/fleetrc/bin/fleetrc runs /usr/bin/node
ok git: git version 2.43.0
ok sync trigger: the session hooks of Claude Code and Codex (configured; requires approval in /hooks)
ok manifest: ~/agent-config/.fleetrc/manifest.json, 2 sources
ok git auth personal: https://github.com/me/agent-config.git
ok duplicate skills: no skill is in two folders one agent reads
ok merge conflicts: no skill has unresolved merge conflicts
ok agents agree: 2 agent folders show the same skillsStatuses
Section titled "Statuses"| Status | Meaning | Exit code |
|---|---|---|
ok | The check passed. | 0 |
warn | Worth fixing, but nothing is broken. | 0 |
FAIL | Something stops syncs or hides skills. | 1 |
skip | A check you chose not to run. No current check reports it. | 0 |
--manifest <manifest> checks another manifest than the configured one. doctor reads it offline, from the copy the last sync fetched.
Checks
Section titled "Checks"| Check | Reports | Fix |
|---|---|---|
node | FAIL when the launcher's Node.js or the installed copy is gone. | npx fleetrc@latest self-install |
git | FAIL when git is not on PATH. | Install git. |
sync trigger | warn when nothing starts a sync or an old prompt hook is left. FAIL when the hooks' launcher is missing. | fleetrc hook install, fleetrc timer install, or self-install. |
session hooks | warn when an agent's hook has not run in a day. | Start a session. In Codex, approve the hook in /hooks. |
timer | With the timer: FAIL when the OS has none, it syncs another state folder, or its last run failed. | fleetrc timer install, or read the log it names. |
systemd linger | Linux, with the timer: FAIL when linger is off. | loginctl enable-linger <user> |
launchd PATH | macOS, with the timer: FAIL when launchd's PATH has no git. | Add git's folder to launchd's PATH. |
manifest | FAIL when no manifest is set or it does not load. Later checks do not run. | fleetrc init <manifest>, or fix the error shown. |
timer time zone | warn when timer.timeZone differs from the machine's on macOS or Windows. | fleetrc timer install, or remove timer.timeZone. |
timer schedule | warn when the manifest's timer differs from the installed one. | fleetrc timer install |
git auth <id> | FAIL when git ls-remote cannot reach a git source. | Fix the URL, credentials or ssh key. |
duplicate skills | FAIL when Codex reads a skill from both ~/.agents/skills and its older folder. | fleetrc init empties the second. |
file links | FAIL when a linked instruction file, subagent or command is gone or changed. | fleetrc sync |
Claude Code hooks | FAIL when claude plugin list does not show the fleetrc plugin. | Check no setting disables it, then restart Claude Code. |
Grok hooks | warn when ~/.claude/settings.json also runs a hook given to Grok. | Drop it from one of the two. |
merge conflicts | FAIL when a skill has unresolved conflicts. | Resolve them, then fleetrc merge <skill>. |
agents agree | FAIL when agent folders point a skill to different copies, or one is a broken link. | fleetrc init |
--json prints an array with one object per check. warn appears only when true, with ok: true.
[
{ "name": "git", "ok": true, "detail": "git version 2.43.0" },
{ "name": "session hooks", "ok": true, "warn": true, "detail": "Codex's has not run yet, ..." },
{ "name": "timer", "ok": false, "detail": "not installed; run `fleetrc timer install`" }
]The exit code is 1 when any object has "ok": false.