Errata Please use the full script name in "allowed-tools" like below:
~~~ After creating the script, we update the allowed-tools to reference our script instead: ~~~yaml # allowed-tools syntax for running scripts allowed-tools: Write, Bash(bun run scripts/compress.ts:*) ~~~ ~~~typescript // Initial system-dependent tar command in script await $tar -czf ${outputPath} ${filesToCompress}; ~~~
https://egghead.io/lessons/build-better-tools-in-claude-skills-with-scripts~0oa34