GitHub 1
Skip to content

Doctor

Run fleetrc doctor to check Node.js, git access, the sync trigger, the manifest and the agent folders, and learn how to fix each failure.

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 doctor
ok   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 skills
txt
StatusMeaningExit code
okThe check passed.0
warnWorth fixing, but nothing is broken.0
FAILSomething stops syncs or hides skills.1
skipA 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.

CheckReportsFix
nodeFAIL when the launcher's Node.js or the installed copy is gone.npx fleetrc@latest self-install
gitFAIL when git is not on PATH.Install git.
sync triggerwarn 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 hookswarn when an agent's hook has not run in a day.Start a session. In Codex, approve the hook in /hooks.
timerWith 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 lingerLinux, with the timer: FAIL when linger is off.loginctl enable-linger <user>
launchd PATHmacOS, with the timer: FAIL when launchd's PATH has no git.Add git's folder to launchd's PATH.
manifestFAIL 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 zonewarn when timer.timeZone differs from the machine's on macOS or Windows.fleetrc timer install, or remove timer.timeZone.
timer schedulewarn 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 skillsFAIL when Codex reads a skill from both ~/.agents/skills and its older folder.fleetrc init empties the second.
file linksFAIL when a linked instruction file, subagent or command is gone or changed.fleetrc sync
Claude Code hooksFAIL when claude plugin list does not show the fleetrc plugin.Check no setting disables it, then restart Claude Code.
Grok hookswarn when ~/.claude/settings.json also runs a hook given to Grok.Drop it from one of the two.
merge conflictsFAIL when a skill has unresolved conflicts.Resolve them, then fleetrc merge <skill>.
agents agreeFAIL 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`" }
]
json

The exit code is 1 when any object has "ok": false.