agent-guardrails-update
Installation
SKILL.md
Agent Guardrails Update
Re-analyze session logs against installed guardrail rules to measure effectiveness and refine patterns. This is the feedback loop: install rules with /agent-guardrails:install, use them for a while, then run /agent-guardrails:update to tune.
Workflow
Step 1: Load Installed Rules
Read the installed guardrail script:
cat .claude/hooks/stop-guardrails.sh 2>/dev/null
Parse each grep block to extract:
- Rule name (from the
# {name}comment) - Pattern (from the
grep -qiEargument) - Message (from the
blocked+=argument)
Related skills