stdin

The channel through which a program receives data from another. Hooks receive on stdin the details of Claude’s action.

How it appears in the course

When it starts, it receives a message in JSON format on stdin (“standard input”, the place where a program receives text).

What does a hook receive, and what does it answer? · Module 07, Hooks: automatic actions

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.