Script

A file with a list of commands that the computer runs automatically, one after another, without you typing them by hand.

You’ll also find it as: scripts

How it appears in the course

scripts/collect.sh is a small ready-made program. Claude only starts it, it doesn’t invent the steps again every time.
Can you put other files next to the recipe? · Module 05, Skills: reusable recipes
A hook runs a script: a small file with commands that are carried out one after another.
Introduction · Module 07, Hooks: automatic actions
The example below says: “after Claude edits or writes a file, run the script format-on-edit.sh”.
Where do you write a hook? · Module 07, Hooks: automatic actions

Learn Claude Code from zero, in plain English

12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.