/commonplace:wiki-lintfrom commonplace
Runs a comprehensive health audit on an Obsidian vault: broken links, stale MOC counts, stubs, orphans, malformed dates. Reports issues by severity and auto-fixes mechanical problems.
Ships in commonplace. 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.
None: SKILL.md is the whole skill.
Run a comprehensive health audit on the Obsidian vault and automatically fix mechanical issues.
The vault accumulates entropy over time — broken links from renamed notes, stale MOC counts, stub concepts that never got filled in, malformed date artifacts from earlier tooling. This skill surfaces all of those issues in one report and fixes what it can mechanically, so the user only needs to deal with issues that require human judgment.
The plugin states the vault path above this skill's text; use it directly. Only if it is missing, run commonplace vault-path. Use it in all commands below.
Findings about notes in a private domain the user has not opened this session are omitted by the CLI; do not go looking for them.
Indexes may be stale. Run a full rebuild to ensure accurate lint results:
commonplace index
commonplace lint
This prints a human-readable summary with counts by severity:
Do not pipe to python3 or jq. The default output is already designed for you to read. If you genuinely need structured data (e.g. to drive a multi-step fix), write it to a file with commonplace lint --json > /tmp/lint.json and Read the file — never parse via shell one-liner.
Show a concise summary to the user. Example:
Vault Health Report:
- 23 critical issues (12 broken links, 8 malformed dates, 3 frontmatter errors)
- 57 improvements (52 stubs, 3 stale MOCs, 2 near-duplicate concepts)
- 14 suggestions (12 orphans, 2 malformed names)
- 33 issues are auto-fixable
Dispatch the wiki-linter agent to fix everything that's mechanical:
P25-11-07 artifacts)Agents have isolated context windows — they cannot see this conversation. Include the vault path and lint results inline in the agent prompt so it knows exactly what to fix.
After fixes:
After the mechanical report, surface actionable intelligence from the vault's shape:
High-value stubs — concept stubs with high backlinkCount are the most-referenced unknown concepts in the corpus. For the top 3-5:
vault_list what:"stubs" lists them, most-linked first (CLI twin: commonplace lint --check stubs --rank-by-traffic). For each, suggest: "[[ConceptName]] is referenced N times but has no definition. Suggested search: ..."
Bridge concepts — concepts appearing in 2+ domains (domains array length > 1) are cross-domain connectors worth deepening. Mention the top 2-3 and which domains they bridge.
Orphaned clusters — if orphan notes exist, check whether they share concepts with non-orphan notes. If so, they're disconnected from the graph but not truly isolated — suggest adding wikilinks to reconnect them.
Semantic contradictions (when there's time/budget) — read the top 5-10 concept notes by backlinkCount and check for conflicting definitions or claims that newer sources in the vault may supersede. Flag any contradictions for the user to resolve. This is a main-model operation, so only do it on explicit request or when the user asks for a "deep lint."
Log: append to $VAULT_PATH/.wiki/log.md:
commonplace log --entry "## [$(date +%Y-%m-%d)] lint | Full audit\n- Critical: N, Improvements: N, Suggestions: N. Fixed: N mechanical.\n"
The user can ask about specific checks:
commonplace lint --check stubs
Valid check names: unresolved, stubs, orphans, frontmatter, moc-staleness, scope-violations, duplicates, malformed-dates, near-duplicate-names, malformed-concept-names
What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/autoimproveAutonomous vault improvement loop (writes changes). Use when user says 'improve the vault', 'autoimprove', 'fix what you can', 'what's the vault score'. Do NOT use for read-only diagnostics — that's wiki-lint./paper-analyzerDeep paper breakdown (does not write vault notes). Use when user says 'analyze this paper', 'break down this paper', 'is this paper any good', or sends an arXiv ID/PDF with no save intent. Do NOT use when user wants the paper saved — that's wiki-ingest./vault-skillRun one of the vault's own Claude Code skills (its .claude/skills/, e.g. a YouTube or project intake) from a session started outside the vault. Use when the user names a vault skill or asks to "run <name> from my vault".commonplace@stray-bits-sanctuary is listed by noopz/stray-bits-sanctuary — review the source before installing
npx claudepluginhub noopz/stray-bits-sanctuary --plugin commonplaceOther plugins' skills for the same job