Wiki doctor

From Kevin-Liu-01/Agent-Machines · View interactive version

Wiki doctor is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. Run the wiki system doctor to validate wiki structure, skills, rules, automations, and config sync. Use when the user says "doctor", "audit", "health check", "validate wiki", "check my system", "run doctor", or when you suspect something is misconfigured after a large edit session.

How to use this skill

Skill file

Wiki Doctor

Unified health check for Kevin's agent system. Validates five layers:

wiki structure, skills, rules, automations, and config sync.

When to use

Commands

From the wiki repo root (~/Documents/GitHub/kevin-wiki):

# Run all doctors
npx tsx scripts/doctor.ts

# Run a specific doctor
npx tsx scripts/doctor.ts --only wiki        # frontmatter, wikilinks, index
npx tsx scripts/doctor.ts --only skills      # SKILL.md validity, symlinks
npx tsx scripts/doctor.ts --only rules       # .mdc integrity, hub refs
npx tsx scripts/doctor.ts --only automations # staleness, missing refs
npx tsx scripts/doctor.ts --only config-sync # symlink health

# JSON output (for programmatic use)
npx tsx scripts/doctor.ts --json

What each doctor checks

wiki-structure

skills

rules

automations

config-sync

Interpreting results

| Severity | Meaning |

|----------|---------|

| pass | Check passed |

| warn | Non-critical issue, should be fixed when convenient |

| fail | Critical issue, fix before committing |

After running

Results are written to wiki/meta/doctor-results.json and state.json is updated. If there are fails, fix them before committing. If there are warns, batch-fix during maintenance.

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.