nio-doctorlisted
Install: claude install-skill core0-io/nio
# Nio — Doctor
Validate the current configuration end-to-end. Doctor catches issues *before* they cause silent failures during real tool calls. This is the focused `doctor` capability of the Nio framework.
> **Passive invocation.** If the user asks whether their Nio setup/config is valid or working, to test OAuth/LLM/external-endpoint connectivity, or why a scorer isn't firing, you MUST run the CLI below rather than reasoning about it from memory.
## Resolving the Script Path
The CLI for this skill lives in the **sibling `nio` skill**, not in this skill's own directory:
1. This SKILL.md's parent directory is THIS skill's directory (e.g. `<plugins>/skills/nio-doctor/`).
2. The script is the sibling `nio` skill's `scripts/doctor-cli.js` — i.e. `../nio/scripts/doctor-cli.js` relative to this directory. Derive the absolute path; do **not** hard-code `~/.claude/...`.
3. Invoke with a **single** `node` command — no `cd`, no `;`/`&&`/`|`/`$(...)`/backticks.
Example (substitute the real absolute path):
```bash
node /absolute/path/to/skills/nio/scripts/doctor-cli.js
```
Print its stdout verbatim — it is already formatted markdown.
## What Doctor Checks
1. **Configuration** — re-runs schema validation against the live `~/.nio/config.yaml`, flagging any field with a path + message.
2. **External analysers** — fires each enabled `guard.external_analyser` endpoint (OAuth entries do a real `client_credentials` grant) and reports ✓ with the returned score or ✗ with the underlying