From codescope
Audits knowledge graph for orphan nodes, missing cross-references, stale claims, unresolved contradictions, low-confidence clusters, and code-knowledge gaps. Outputs health report with auto-fixes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codescope:wiki-lintThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit the knowledge graph and report issues. Fix what you can automatically, flag what needs human attention.
Audit the knowledge graph and report issues. Fix what you can automatically, flag what needs human attention.
Knowledge entities with no incoming or outgoing edges:
knowledge_lint(check: "orphans")
Auto-fix: search for related entities and suggest links.
Claims flagged as contradictions that haven't been resolved:
knowledge_search(query: "contradiction")
Report: list each with both sides and ask human to resolve.
Groups of claims all at "low" confidence:
knowledge_lint(check: "low_confidence")
Suggest: "/autoresearch [topic]" to find corroborating sources.
Code entities (functions, classes) with no knowledge context:
knowledge_lint(check: "unlinked_code")
Report: "These 5 most-called functions have no knowledge context. Consider ingesting their design docs."
Sources older than 6 months with no recent corroboration:
knowledge_lint(check: "stale")
Report: "These claims may be outdated — consider re-researching."
## Knowledge Graph Health Report
**Total nodes:** 142 (67 entities, 35 concepts, 25 sources, 15 claims)
**Total edges:** 384
### Issues Found
| Check | Count | Severity |
|-------|-------|----------|
| Orphan nodes | 3 | low |
| Unresolved contradictions | 1 | high |
| Low-confidence clusters | 2 | medium |
| Code-knowledge gaps | 8 | medium |
| Stale sources | 0 | — |
### Actions Needed
1. **[high]** Resolve contradiction: "token expiry" — Source A vs Source B
2. **[medium]** Run `/autoresearch OAuth2` to corroborate 4 low-confidence claims
3. **[medium]** Ingest design docs for: handle_auth, parse_config, db_connect...
4. **[low]** 3 orphan knowledge nodes — suggest links below
**Health score: 7/10**
npx claudepluginhub onur-gokyildiz-bhi/codescope --plugin codescopeRuns 14 health checks on an Obsidian knowledge base: broken wikilinks, orphan pages, stale articles, and more. Reports issues by severity.
Use when compiling raw sources into the wiki, querying the knowledge base, running health checks or lint on the wiki, evolving or improving wiki coverage, or when user says 'compile', 'update the wiki', 'query', 'lint', 'health check', 'evolve', 'what's missing', or 'suggest improvements'. Also triggers on questions that should be answered from the knowledge base.
Performs read-only health audits on wiki vaults, detecting orphans, stale pages, source drift, contradictions, and tree-topology violations. Outputs severity-classified Markdown reports with fix recommendations.