Health
See how connected, sourced and current your wiki is, with a score out of 100 and a prioritized list of fixes.
Health checks your wiki the way a librarian would and tells you, and your
agents, what to fix next. Agents read the same report with cozy_health.
What Health checks
| Check | What it flags |
|---|---|
| Broken links | A wikilink that matches no page |
| Duplicate titles or aliases | Two pages that answer to the same name |
| Stale pages | A cited source changed after the page was last edited |
| Conflicts | Pages with a CONFLICT: line |
| Orphans | Pages nothing links to |
| Unreachable pages | Pages wiki/index.md can't reach through links |
| Unsourced pages | Pages that cite no source |
| Missing type or description | Frontmatter that's incomplete |
| Oversized pages | Pages too large to read comfortably |
| Uncited sources | Evidence in sources/ no page uses yet |
The score
Each page starts at 1.0 and loses weight for every issue on it. The score is the average across pages, times 100, so a wiki with no issues scores 100. Watch it over time on your own wiki rather than comparing it with others.
The view also says how many pages and links the wiki has, and what share of sources a page cites.
What to do next
What to do next lists fixes in priority order, and each section below it names the pages involved. Select a page to open it.
Cozy doesn't fix anything itself. Hand the list to your agent:
- Copy dream prompt copies a prompt that asks your agent to run the workspace's dream skill. See Skills.
- Copy organize prompt, beside sources no page cites yet, asks your agent to organize them, newest first.
What Health can't tell you
Health checks structure: links, citations and dates. It can tell you a page cites nothing, but not whether the page is true. A person or an agent still has to read the sources and decide.