Original Reddit post

A while ago Anthropic announced that skills and commands are the same by then. While this seems to be true on the execution side, there is an important difference. Running skills as commands wont match any tool hook with “Skill” matcher. The “Skill” tool is not used at all. I use PostToolUse (or sometimes PreToolUse) hooks to extend or midify the behavior of external skills I cannot modify and I just noticed that the hooks doesnt fire if I invoke the skill like a command. Marking this as bug report. Its technically correct, I think. But if that is so, it should be documented that command like invocation will not use the Skill tool. Hook configuration that works for both cases: “enabledPlugins”: { “superpowers-additions@itb-ai-tools”: true }, “hooks”: { “PostToolUse”: [ { “matcher”: “Skill”, “hooks”: [ { “type”: “command”, “command”: “jq --rawfile ctx .claude/hook-contexts/reviewing-plans.md ‘if .tool_input.skill == "superpowers-additions:reviewing-plans" then {hookSpecificOutput: {hookEventName: "PostToolUse", additionalContext: $ctx}} else empty end’” } ] } ], “UserPromptSubmit”: [ { “matcher”: “”, “hooks”: [ { “type”: “command”, “command”: "jq --rawfile ctx .claude/hook-contexts/reviewing-plans.md 'if (.prompt // "" startswith("/superpowers-additions:reviewing-plans")) then {hookSpecificOutput: {hookEventName: "UserPromptSubmit", additionalContext: $ctx} else empty end’" } ] } ] } } “enabledPlugins”: { “superpowers-additions@itb-ai-tools”: true }, “hooks”: { “PostToolUse”: [ { “matcher”: “Skill”, “hooks”: [ { “type”: “command”, “command”: “jq --rawfile ctx .claude/hook-contexts/reviewing-plans.md ‘if .tool_input.skill == "superpowers-additions:reviewing-plans" then {hookSpecificOutput: {hookEventName: "PostToolUse", additionalContext: $ctx}} else empty end’” } ] } ], “UserPromptSubmit”: [ { “matcher”: “”, “hooks”: [ { “type”: “command”, “command”: "jq --rawfile ctx .claude/hook-contexts/reviewing-plans.md 'if (.prompt // "" startswith("/superpowers-additions:reviewing-plans")) then {hookSpecificOutput: {hookEventName: "UserPromptSubmit", additionalContext: $ctx} else empty end’" } ] } ] } } Edit: the hook configuration had a flaw. It’s fixed now. submitted by /u/FlaTreNeb

Originally posted by u/FlaTreNeb on r/ClaudeCode