packages/forge/src/skills/vault-curate/SKILL.md
Use when the user says "clean vault", "deduplicate", "groom knowledge", "consolidate vault", "vault maintenance", "find duplicates", "merge patterns", "check contradictions", "vault health", or wants to maintain, clean, reorganize, or improve the quality of the agent's knowledge base.
npx skillsauth add adrozdenko/soleri vault-curateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maintain vault quality through deduplication, grooming, contradiction detection, and consolidation. A well-curated vault produces better search results and brain recommendations.
Periodically (weekly or after heavy capture sessions), when search quality degrades, when vault health shows warnings, or when the user explicitly requests maintenance.
YOUR_AGENT_core op:knowledge_health
YOUR_AGENT_core op:get_vault_analytics
Present the health summary to the user before proceeding: total entries, quality scores, staleness, coverage gaps.
YOUR_AGENT_core op:curator_detect_duplicates
This finds entries with overlapping titles, descriptions, or content. Review the duplicate pairs — some may be intentional (different contexts) while others are true duplicates.
For true duplicates:
YOUR_AGENT_core op:merge_patterns
params: { patternIds: ["<id1>", "<id2>"] }
Preserve the best content from each.
YOUR_AGENT_core op:curator_contradictions
Contradictions erode trust in vault search results. For each contradiction: decide which entry is correct (check dates, context, evidence), then archive or update the incorrect one.
YOUR_AGENT_core op:curator_groom_all
Runs tag enrichment and metadata cleanup across all entries. This improves searchability and categorization.
For targeted grooming of specific entries:
YOUR_AGENT_core op:curator_groom
params: { entryIds: ["<id>"], tags: ["<tag>"] }
YOUR_AGENT_core op:curator_consolidate
Runs the complete pipeline: dedup + archive stale entries + resolve contradictions. This is the heavy-duty cleanup.
YOUR_AGENT_core op:knowledge_reorganize
params: { mode: "preview" }
Preview first, then run again with mode: "apply" if the preview looks good.
YOUR_AGENT_core op:knowledge_health
Compare with Step 1 metrics. Vault health should improve: fewer duplicates, no contradictions, better coverage.
Curation is complete when: duplicates merged, contradictions resolved, entries groomed, and health metrics improved compared to Step 1 baseline.
testing
Triggers: "terse mode", "be brief", "less tokens", "fewer tokens", "compress output", "caveman", or invokes /terse. Token-efficient responses with full technical accuracy.
tools
Triggers: "compress this file", "compress CLAUDE.md", "compress memory", "shrink this", "reduce tokens in file", or invokes /compress. Compresses natural language files to save input tokens.
testing
Triggers: "release", "bump version", "publish packages", "cut a release", "version bump", "npm publish". Bumps monorepo versions, commits, tags, pushes to trigger CI release. Use deliver-and-ship for quality gates.
development
Triggers: "implement X", "build Y", "fix Z", "add feature", or any work task needing planning + execution. Full orchestration loop: plan, execute, complete with vault context and brain recs.