From hydra-action-guard
Use when the developer asks about blocked commands, safety checks, why something was blocked, or wants to adjust strictness mode. Auto-triggers on: "blocked", "was that safe", "why blocked", "action guard", "dangerous command", "safety mode", "strictness".
How this skill is triggered — by the user, by Claude, or both
Slash command
/hydra-action-guard:safety-awarenessThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<purpose>
<decision_tree> IF user asks why a command was blocked: → Read ${CLAUDE_PLUGIN_ROOT}/state/audit.jsonl → grep for "action_blocked" events → Show: blocked command pattern, category, severity, reason → Suggest safe alternative
IF user wants to change strictness: → Read ${CLAUDE_PLUGIN_ROOT}/state/config.json (or show defaults) → Explain modes: - strict: blocks both "block" and "warn" patterns - balanced (default): blocks "block" patterns, warns on "warn" patterns - permissive: warns only, never blocks → To change: write {"mode": "balanced"} to state/config.json
IF user asks about safety of a specific command: → Classify command against dangerous-ops.json patterns → Report: safe / warn / block with explanation
IF user asks about subcommand overflow: → Explain R7: commands with 50+ subcommands bypass deny rules → Reference: Adversa AI attack vector discovery </decision_tree>
<output_format>
Mode: [strict/balanced/permissive]
| Command | Category | Reason |
|---|---|---|
rm -rf / | filesystem | Recursive force delete from root |
| Command | Category | Reason |
|---|---|---|
git push --force | git | Force push — can overwrite history |
rm -rf /: specify exact pathgit push --force: use git push --force-with-lease
</output_format><escalate_to_sonnet> IF command context is ambiguous: "ESCALATE_TO_SONNET: ambiguous command classification — deeper context analysis needed" </escalate_to_sonnet>
npx claudepluginhub enchanter-ai/hydra --plugin action-guardCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.