Verify kb
Audit an OKF knowledge base for integrity before it ships. Use to verify a generated/edited KB — checks OKF compliance, atomicity, link integrity, provenance/confidence, coverage gaps, and stale content. Produces a severity-ranked report; does not silently fix.From its SKILL.md
npx -y skills add smithdak/dossier --skill verify-kbAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, as published. Nobody here has run it
Verify Knowledge Base
Adversarially audit an OKF knowledge base (Dossier's own knowledge/, or a client KB). Assume it's incomplete or subtly wrong until proven otherwise. Read knowledge/model/index.md for the rules you're enforcing.
Checks
- OKF compliance — every
.mdhas valid YAML frontmatter and atype. Reserved filenamesindex.md/log.mdused correctly. Glob all concepts; flag any missing/invalid frontmatter. - Atomicity & single-source — one concept per file. Flag files bundling multiple independent concepts, and the same fact stated in multiple places (should be one source + links).
- Link integrity — every
[[id]]and every frontmatter edge resolves to an existing conceptid. Report orphans (nothing links to them) and dangling links (point to nothing). - Provenance & trust —
source,confidence,timestamppresent. Flaginferredcontent presented as fact, and missing provenance. List stale atoms (oldtimestamp). - Coverage gaps — roles with no processes, workflows with no decisions behind them, processes with no owner, ingested areas with thin coverage. Name what's missing.
- Security — secrets/PII leaked into content; any sign of cross-tenant bleed.
How to run
- Deterministic first. If the KB is in a repo with
@dossier/okfwired (Dossier's own, or any provisioned tenant), runpnpm kb:check— it does parse/schema validation, dangling frontmatter edges, and[[wiki-link]]rot deterministically in <1 s (DEC-0060). Treat its output as ground truth for checks 1 & 3; don't hand-walk what it already verifies. - Then the judgment checks (2, 4, 5, 6) by hand:
Glob**/*.md,Read/Grepfrontmatter and[[links]]. For a KB without the okf gate, fall back to building the id/edge sets yourself and diffing for breaks. - Be specific: cite
file:line. Reproducible findings only.
Output
A severity-ranked report (blocker → warning → nit), each finding with file, evidence, and a suggested fix. End with a one-line verdict: ship / fix-first. Hand fixes to the owning agent — do not edit silently.