Skip to content
Nosy
Docs menudoctor

02 Use · Set up

/nosy:doctor

Checks the install (--check), or fixes a pm/ written by an older Nosy (--fix).

Syntax: /nosy:doctor

When to use it

When something is not loading or you are not sure the install worked. Also after moving from an older Nosy that left old file names in pm/.

What you get

  • With --check: Node 18.17 or newer, git, gh, the skill files, the plugin manifest, the hooks and pm/sources.json, each problem with its fix. Local only: no network, nothing written. It also notes, as warnings and never a failure, whether the matrix can be read, how many cell codes are unknown, whether the page carries an old marker, and which optional parts exist.
  • Exit code 0 when healthy, 2 when at least one check fails hard.
  • Without --check: the old file names and keys in a pm/ from an older Nosy. --fix lists what it will change and whose files they are (Nosy's own inside pm/, never your repo, product code or notes), copies what it rewrites to pm/.backup/doctor-<stamp>/, then renames. --fix --dry-run only lists. --undo puts it all back and leaves alone a file you changed since, unless you add --force.

Example

In your agent

/nosy:doctor

Say what is not working; the agent runs the --check step.

In the terminal, no model

$ npx github:nosy-hq/nosy doctor --check

What it does not do

  • It cannot tell whether this session loaded Nosy. Type /nosy:nosy for that (/nosy in a skill-only install): it prints how many commands loaded and which hooks are on.