Script
A file with a list of commands that the computer runs automatically, one after another, without you typing them by hand.
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.
A hook runs a script: a small file with commands that are carried out one after another.
The example below says: “after Claude edits or writes a file, run the script format-on-edit.sh”.
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.