Skill shell commands skipped PreToolUse. guard 0.4.23 judges them on Claude Code 2.1.332 and later.
This story is from 2026-11-30. It is preserved in the archive; the latest stories are on the live feed.
A skill, or a command like /security-review , can run shell commands while it loads: a line written as !`…` , or a ` ! block, in its file. Those commands don't go through Claude Code's PreToolUse hook. guard judges Bash and PowerShell commands at PreToolUse, so until now it never saw them. Claude C…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-30 16:23 · DEV Community — AI
Skill shell commands skipped PreToolUse. guard 0.4.23 judges them on Claude Code 2.1.332 and later.