skl doctor
Print a diagnostic report. Doctor reads and never changes skills, projects, or state.db.
Synopsis
skl doctor
Flags
None beyond the global flags.
Output
The report has five sections.
== API.api_baseand the result ofGET /v1/health, with a 3 second timeout.== Auth. Whether a token ispresent,absent, or inerror, which store holds it, and whetherSKL_TOKENorSKL_TOKEN_FILEoverrides it.== State. Theconfig.tomlandstate.dbpaths, whether each exists and is writable, the skill count, and the last sync.== Agent skill roots. Every home agent directory skl scans, withmissingor a skill count.== Linking. Whether this machine can create directory symlinks, the current project'sskills.tomlwith the mode of each skill, andwarnlines.
Doctor warns about:
- An old project layout with
.claudeor.cursorlinks. Fix withskl migrate targets. - Absolute paths in
skills.toml. Fix withskl use --all. - Symlinks that a remote agent cannot follow. Fix with
skl use --all. - Project copies whose content differs from this machine's library.
On Windows, a failed symlink check prints symlink unavailable and explains that directory symlinks need Developer Mode or the SeCreateSymbolicLink privilege.
What it writes
Nothing, except that in a terminal it may show the extras checklist once and write the answer to [targets] in config.toml. The checklist is skipped when CI, SKL_NO_PROMPT, or SKL_YES is set, or when stdin is not a terminal.
Errors
Doctor exits 0 after printing its report, including when the API is unreachable.