From salacia-guard
Run Salacia garbage collection — analyze drift patterns, rotate audit logs, merge learned patterns into memory. Use when: 'salacia gc', 'clean salacia', 'salacia refine', 'optimize scope', 'salacia learn'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/salacia-guard:salacia-gcThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run garbage collection on the Salacia scope enforcement system.
Run garbage collection on the Salacia scope enforcement system.
Run these three steps in order, reporting results to the user after each:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gc.mjs" refine
Parse the output JSON. Present suggestions in a readable format:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gc.mjs" rotate
Report how many events were archived vs retained.
node "${CLAUDE_PLUGIN_ROOT}/scripts/gc.mjs" learn
Report what task type was detected and how many patterns were merged.
After presenting all results, ask the user:
.salacia/contract.json accordingly:
allowedPathssoftAllowedPathssoftAllowedPaths (and update learned.json)auto mode runs automatically on every SessionStart via hooks/salacia-gc runs refine + rotate + learn for a full cleanupnpx claudepluginhub 2233admin/salacia-guardImplements enterprise security patterns for Claude Code: role-based permission hardening, secrets blocking scripts, Vault integration, audit hooks for SOC2, HIPAA, GDPR compliance.
Guides garbage collection rules to fight codebase entropy: dead code detection, documentation staleness, convention drift, frequencies, enforcement, and auto-fixes per HARNESS.md.
Audits Claude Code configurations for best practices in skills, instructions, MCP servers, hooks, plugins, security, over-engineering, and context efficiency via file scans and focused checks. Invoke with /claudit [focus-area].