/salacia-guard:salacia-initfrom salacia-guard
Initialize Salacia scope contract for the current task. Use when starting a new coding task to define which files the agent is allowed to modify. Triggers on: 'salacia init', 'scope contract', 'init salacia', 'guard scope'.
Ships in salacia-guard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a scope contract for the current task.
Ask the user what task they're working on (or read from git branch name / recent context)
Analyze the task description to extract:
Check .salacia/memory.json for historical patterns. If it exists, read the pattern matching the detected task type (feat/fix/etc.). Pre-fill softAllowedPaths with entries where weight >= 0.5. This lets the contract benefit from past session learning.
Generate .salacia/contract.json:
{
"taskId": "<from branch or user input>",
"allowedPaths": ["<extracted paths>"],
"softAllowedPaths": ["<sibling dirs, co-change companions>"],
"excludedPaths": ["node_modules/**", ".git/**", "dist/**"],
"protectedPaths": [".env", ".env.*", "*.pem", "*.key", "*.cert", "package-lock.json", "bun.lockb"],
"maxFilesChanged": 10,
"generatedAt": "<timestamp>",
"generatedBy": "heuristic"
}
.salacia/config.json if it doesn't exist:{
"enabled": true,
"driftThreshold": 30
}
.salacia/drift.json to zero state:{
"score": 0,
"files": [],
"softFiles": [],
"outOfScope": [],
"protected": []
}
.salacia/ (gitignored)enabled: false in .salacia/config.jsonWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (2233admin/salacia-guard) — no native marketplace selected
npx claudepluginhub p/2233admin-salacia-guard4 skills in this plugin
/salacia-gcRun 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'./salacia-statsShow Salacia audit statistics — event counts, top drifted files, learned promotions. Triggers on: 'salacia stats', 'scope stats', 'drift stats', 'guard stats', 'salacia report'./salacia-statusShow current Salacia scope contract and drift status. Use when checking what files are in scope, current drift score, or reviewing the contract. Triggers on: 'salacia status', 'scope status', 'drift status', 'guard status'.Other plugins' skills for the same job