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.
Ready-to-use recipes · Module 07, Hooks: automatic actions
| 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.
What is JSON, and why would you want it? · Module 10, Claude on autopilot

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.