From compound-learning
Find consolidation candidates in SQLite (compact output)
How this skill is triggered — by the user, by Claude, or both
Slash command
/compound-learning:consolidate-discoveryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Discovers learnings that may need consolidation: duplicates and outdated content.
Discovers learnings that may need consolidation: duplicates and outdated content.
python3 consolidate-discovery.py [--mode all|duplicates|outdated] [--limit N]
--mode: Discovery type (default: all)--limit: Max items per category (default: 20)Compact JSON with file basenames, paths, and IDs:
{
"status": "success",
"total_documents": 187,
"duplicates": [
{
"files": [
{"id": "abc", "file": "jwt-auth.md", "path": "/full/path/jwt-auth.md"},
{"id": "def", "file": "jwt-auth.md", "path": "/other/path/jwt-auth.md"}
],
"count": 2
}
],
"outdated": [
{"id": "ghi", "file": "temp-fix.md", "path": "/path/temp-fix.md", "markers": ["temporary"]}
],
"summary": {
"duplicate_clusters": 3,
"outdated_candidates": 2,
"limit_applied": 20
}
}
get to fetch full content when needednpx claudepluginhub connsulting/claude-code-plugins --plugin compound-learningAudits and interactively cleans up Claude Code knowledge base: detects stale references, duplicates, orphaned files, frontmatter issues, and merge opportunities.
Identifies and resolves duplicate or overlapping security findings by comparing title, type, context, and description. Classifies pairs as duplicate, similar, or distinct and guides deletion/merge with user confirmation.
Quick-checks vault hygiene: ghost duplicates, orphan notes, stale inbox, broken wikilinks, embedding gaps. Light mode by default, --deep for full note-scoring analysis, --auto for safe auto-fix.