From grimoire
Scans personal grimoire or project spellbook for duplicate or overlapping sigils, inventories them by frontmatter, detects overlap clusters, and proposes merges, deduplications, or keeping both.
npx claudepluginhub joranhonig/grimoireThis skill uses the workspace's default tool permissions.
Detect and resolve duplicate or overlapping detection modules in the spellbook.
Queries personal grimoire and project spellbook for sigils, detectors, and knowledge artifacts. Lists, describes, stats, and searches by keyword, vuln class, language, severity.
Scans codebase for shallow modules, cross-skill duplication, unused code, and vault drift. Proposes system-level refactors like skill merges, splits, and deletions.
Audits Claude Code skills against project state and usage, detects redundancies, consolidates/merges/archives safely with backups, confirmations, and rollbacks.
Share bugs, ideas, or general feedback.
Detect and resolve duplicate or overlapping detection modules in the spellbook.
A cluttered spellbook is worse than a small one. Duplicate sigils waste token budget when applied, confuse triage with redundant findings, and make the spellbook harder to maintain. Regular garbage collection keeps the spellbook lean and effective.
When this skill is activated, create a todo list from the following steps. Mark each task in_progress before starting it and completed when done.
- [ ] 1. Determine scope
- [ ] 2. Inventory sigils
- [ ] 3. Detect overlaps
- [ ] 4. Propose resolutions
- [ ] 5. Execute approved changes
Ask the user which scope to review:
~/.grimoire/sigils/) — default for manual GCgrimoire/spells/checks/) — useful mid-engagementIf ~/.grimoire/sigils/ is empty, note that the personal grimoire has no sigils yet (populated
through end-of-audit merges) and limit scope to project-local.
For each sigil/check file in scope, extract from frontmatter:
Present a summary table to the user.
If no sigils are found in any directory in scope, report that the spellbook is empty — there
is nothing to garbage collect. Suggest creating detection modules via /scribe-distill from
confirmed findings.
Compare sigils pairwise within the scope. Overlap indicators:
Group overlapping sigils into clusters.
For each overlap cluster, propose one of:
Present proposals to the user. Do not proceed without confirmation.
For each approved resolution:
~/.grimoire/sigils/archived/ (or grimoire/spells/checks/archived/ for project-local).
Create archive directories with mkdir -p if needed.related-checks field
documenting why they coexist.Validate all modified/created files with
bash skills/checks/scripts/validate-check.sh <path>.
Present a summary of changes made.