/knowledge-loom:audit-knowledge-vaultfrom knowledge-loom
Audits a governed Markdown vault without modifying it. Runs deterministic checks for contract, registry, metadata, subject, focus, privacy, Git, content, link, and lifecycle validation, then inspects semantic risks like stale notes or misapplied facts.
Ships in knowledge-loom. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Requires Node.js 20+ and local file/command access.
Inspect one vault without changing files, Git state, registry state, external systems, or lifecycle destinations.
Resolve this SKILL.md to its canonical path, following symlinks. Set <skill-root> to the
directory containing that canonical file. Read <skill-root>/references/contract-schema.md and
<skill-root>/references/protocol.md completely. From the active project directory, inspect
node "<skill-root>/scripts/knowledge-loom.mjs" resolve --help, then run resolve, appending a
selector only when one was supplied. Treat its returned canonical root as the only selected vault;
any resolution error ends the audit before a vault is inspected.
Use node "<skill-root>/scripts/knowledge-loom.mjs" audit --help as the command source, then audit
the selected path or ID with that runner. Use --json only when another tool will consume the
result. Pass the same non-default registry path used during resolution. The runner performs the
built-in checks and any read-only content checker declared by the contract and configured in the
local registry. Treat its combined output and exit status as the source of truth; do not locate or
invoke the checker separately.
A missing, invalid, timed-out, or failed declared checker is an audit error. A dirty tree is operational context for later writes, not an audit failure by itself.
Deterministic checks cannot prove all knowledge semantics. Read targeted files only when the user asked for deeper audit coverage, then check:
Keep this phase read-only. Return repair recommendations and their risk as proposed follow-up work.
Lead with pass, pass-with-warnings, or fail. Separate:
Give one Start here repair and at most two immediate follow-ups. Preserve remaining findings under Later. Cite exact paths without exposing unnecessary sensitive content. The audit is complete when the deterministic result and every requested semantic check are classified and the vault remains unchanged.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/init-knowledge-vaultSet up a governed Markdown vault that is useful immediately by organizing existing authorized work; also conservatively adopt, register, or associate an existing vault./manage-current-focusPrioritize or update one declared current-focus view in a governed vault. Use to accept, complete, block, defer, or reorder commitments, or reconcile sourced status with current attention./use-knowledge-vaultInvoke before substantive work in a vault-linked directory, where an ancestor contract or project association may apply; this skill call starts vault activation for one governed Markdown vault. Also invoke for explicit requests to consult, remember, update, or sync vault knowledge.npx claudepluginhub magickaichen/knowledge-loom --plugin knowledge-loomOther plugins' skills for the same job