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.
npx claudepluginhub onur-gokyildiz-bhi/codescope --plugin codescopeThis skill is limited to using the following tools:
Audit the knowledge graph and report issues. Fix what you can automatically, flag what needs human attention.
Audits wiki for broken wikilinks, orphan pages, contradictions, stale claims, missing cross-references, index issues, and data gaps. Trigger on 'audit', 'lint', 'health check', or wiki quality improvements.
Scans Markdown wiki for structural issues (orphans, broken wikilinks, missing index, stubs), factual contradictions; auto-fixes possible problems, flags rest.
Audits markdown wiki for broken links, orphan pages, contradictions, stale claims, missing frontmatter, and coverage gaps. Generates categorized report with fixes.
Share bugs, ideas, or general feedback.
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**