2233admin/salacia-guard/salacia-gc

Claude Code and agent skill by 2233admin/salacia-guard

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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'.

Install

npx vskill@latest install 2233admin/salacia-guard/salacia-gc

SKILL.md

Salacia GC

Run garbage collection on the Salacia scope enforcement system.

What to do

Run these three steps in order, reporting results to the user after each:

1. Refine — Analyze drift patterns
bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/gc.mjs" refine

Parse the output JSON. Present suggestions in a readable format:

  • overScoped: Paths in the contract that were never touched → suggest removing
  • underScoped: Files repeatedly edited out of scope → suggest adding to softAllowedPaths
  • shouldPromote: Learned overrides ready for promotion → suggest promoting
2. Rotate — Clean audit logs
bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/gc.mjs" rotate

Report how many events were archived vs retained.

3. Learn — Merge patterns into memory
bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/gc.mjs" learn

Report what task type was detected and how many patterns were merged.

4. Ask the user

After presenting all results, ask the user:

  • "Apply the refine suggestions to contract.json?" (if any suggestions exist)
  • If yes, update .salacia/contract.json accordingly:
  • Remove overScoped paths from allowedPaths
  • Add underScoped files to softAllowedPaths
  • Add shouldPromote files to softAllowedPaths (and update learned.json)

Notes

  • GC auto mode runs automatically on every SessionStart via hooks
  • Manual /salacia-gc runs refine + rotate + learn for a full cleanup
  • memory.json uses exponential decay (0.9x per GC pass) — old patterns fade naturally
  • audit-summary.json aggregates rotated data for long-term analysis

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/2233admin/salacia-guard/salacia-gc/badge)](https://verified-skill.com/skills/2233admin/salacia-guard/salacia-gc)

Something wrong with this skill or its page? Tell us.