skillnote-doctor ยท diff

v1.0.0 to v1.0.1

1 added, 1 removed. Audit A to A.

---
name: skillnote-doctor
description: "A diagnostic tool for OpenClaw agents -- checks skill registry connectivity, AGENTS.md setup, config file validity, and installed skill health. Use when your setup seems broken, skills aren't loading, or you want to audit your agent's configuration."
- version: "1.0.0"
+ version: "1.0.1"
metadata: {"openclaw": {"emoji": "๐Ÿฉบ", "triggers": ["diagnose", "check setup", "why isn't", "debug", "broken", "not working"]}}
---
# SkillNote Doctor
Diagnose your SkillNote + OpenClaw integration in 6 checks. Run every check even if an earlier one fails โ€” the user needs the full picture. Report โœ“ pass or โœ— fail with specific remediation for each.
## Check 1 โ€” clawhub binary
Run: `which clawhub`
- โœ“ Pass: binary found
- โœ— Fail: `clawhub not found. Install from https://clawhub.ai or run: npm install -g clawhub`
## Check 2 โ€” SkillNote config
Read `~/.openclaw/skills/skillnote/config.json`.
- โœ“ Pass: file exists, valid JSON, `host` is non-empty
- โœ— Fail (missing): `Config not found. SkillNote is not installed. Install with: clawhub install skillnote && clawhub install skillnote-resolver`
- โœ— Fail (invalid JSON): `Config is malformed. Delete ~/.openclaw/skills/skillnote/config.json and re-run skillnote setup.`
- โœ— Fail (empty host): `Config exists but host is empty. Ask your agent to re-setup skillnote.`
## Check 3 โ€” Registry reachability
GET `<host>/v1/skills?limit=1`
- โœ“ Pass: HTTP 200
- โœ— Fail (timeout/refused): `SkillNote at <host> is unreachable. Verify the URL and that your instance is running. Self-host guide: https://github.com/luna-prompts/skillnote`
- โœ— Fail (non-200): `Unexpected HTTP <N>. Check SkillNote server logs.`
## Check 4 โ€” AGENTS.md marker
Read `~/.openclaw/workspace/AGENTS.md`. Check for exact string `<skillnote v1>`.
- โœ“ Pass: marker found
- โœ— Fail: `AGENTS.md marker missing. Ask your agent: "re-graft skillnote into AGENTS.md" โ€” or reinstall: clawhub install skillnote`
## Check 5 โ€” skillnote-resolver installed
Check `~/.openclaw/skills/skillnote-resolver/SKILL.md` exists.
- โœ“ Pass: file found
- โœ— Fail: `skillnote-resolver not found. Install with: clawhub install skillnote-resolver`
## Check 6 โ€” resolver endpoint
POST `<host>/v1/openclaw/context-bundle` with body `{"task_summary": "doctor health check", "max_skills": 1}`
- โœ“ Pass: HTTP 200, `skills` array present
- โœ— Fail: `Context bundle endpoint unavailable. Check SkillNote server version โ€” endpoint requires v0.3.0+`
---
## Summary
After all checks report:
```
SkillNote health: X/6 checks passed
```
If all 6 pass:
> Your SkillNote integration looks healthy. If you're still seeing issues, check https://github.com/luna-prompts/skillnote/issues
If Check 2 fails with "Config not found" (SkillNote not installed at all):
> SkillNote not detected. Install with:
> ```
> clawhub install skillnote
> clawhub install skillnote-resolver
> ```
> Then follow the 5-step setup that runs automatically on first load.
---
# Hard rules
- Never modify any file during diagnosis โ€” read-only.
- Never POST to any endpoint other than `/v1/openclaw/context-bundle`.
- Run all 6 checks regardless of earlier failures.
- Never guess or invent the host URL โ€” read it strictly from config.json.