jq
A small terminal program that pulls a specific piece of information out of a JSON text. The starter kit’s hooks need it.
How it appears in the course
file=$(jq -r ...) pulls the file name out of the JSON message received. jq is a small program that reads JSON.
| jq -r '.result' sends the form to jq, a small program that pulls out a single field. Here it pulls out only result, meaning the actual answer.
Where you learn it
In module 07 · Hooks: automatic actions, in the Claude Code for Beginners course.
Related terms
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.