← Back to wkappbot-workflow
wkappbot-workflow ★★★

# claude-kill-guard-hook

Claude Code PreToolUse hook: block PowerShell Stop-Process targeting wkappbot processes; companion audit-log traces all tool calls

user/developer

## Steps

1. WHAT IT BLOCKS: Stop-Process or Kill-Process...
2. 3 DETECTION LAYERS: (1) Name-based: cmd matc...
3. SCRIPT: C:/Users/kiexp/.claude/hooks/kill-gu...
4. HOOK ORDER MATTERS: kill-guard is the FIRST...
5. GOTCHA - $pid IS RESERVED: PowerShell built-...
6. GOTCHA - INNER STRING MATCH: kill-guard read...
7. AUDIT GAP: to log blocked attempts, either (...
8. SETTINGS: ~/.claude/settings.json PreToolUse...
9. ACTIVATE: /hooks menu or session restart to...
10. RIQUA [taskkill popup]: wkappbot taskkill /I...
11. CORRECTION: popup mechanism is wkappbot a11y...
12. ACCURATE taskkill behavior: wkappbot taskkil...
13. RIQUA [--force on PROTECTED]: classify outpu...

🔒 Pro Skill
Get Pro Access →