[KongchangAI]
ConceptPreSkillShellCommand hook

PreSkillShellCommand

A hook event added to Claude Code that triggers when inline shell commands of a skill or command are loaded, allowing potentially risky commands to be intercepted and rejected.

Timeline (last 90 days)

Nov 25

v2.1.332 added the PreSkillShellCommand hook event, allowing interception and rejection when the inline shell commands of a skill or command are loaded.

Unverified50%
Nov 25

In 2.1.331 and earlier versions, if the settings file named the PreSkillShellCommand hook, a dialog prompt would appear at startup.

Unverified50%

All Facts (2)

Source Articles