Claude Code's PreSkillShellCommand hook: write it as an allow-list for the shell commands a skill runs as it loads
Write the new hook as an allow-list keyed to the skill. A skill argument can land inside a load-time shell command, a deny-list that looks for curl or $( misses the payload that simply closes the quote, and a code fence around the line does not stop it from running either.