You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skill-frontmatter PreToolUse hooks broken on Claude Code 2.1.162 (${CLAUDE_SKILL_DIR} not populated) #1871
gstack skill-frontmatter PreToolUse hooks (guard, freeze, careful) use ${CLAUDE_SKILL_DIR}, which Claude Code 2.1.162 does not populate in the skill-hook execution env — it expands to empty, so e.g. guard's Edit hook runs bash /../freeze/bin/check-freeze.sh and errors on every Edit/Write (Bash for careful). Fix: use an absolute/$HOME-anchored path, or a variable CC actually provides to skill hooks, instead of ${CLAUDE_SKILL_DIR}.
Fixed in #1911 (v1.57.6.0). The guard/freeze/careful PreToolUse hooks no longer rely on ${CLAUDE_SKILL_DIR} (unset on Claude Code 2.1.162); they're anchored to the installed checkout path so Edit/Write/Bash stop erroring. Thanks @omariani-howdy. Auto-closes on merge.
Activity
garrytan commentedon Jun 8, 2026
Fixed in #1911 (v1.57.6.0). The guard/freeze/careful PreToolUse hooks no longer rely on
${CLAUDE_SKILL_DIR}(unset on Claude Code 2.1.162); they're anchored to the installed checkout path so Edit/Write/Bash stop erroring. Thanks @omariani-howdy. Auto-closes on merge.v1.57.6.0 fix wave: 8 community bugs (4 security guards failing open) (…
v1.64.0.0 fix wave: full tracker audit — 90 fixes, 52 issues closed, …