Flag

An option added to a command, which starts with “-” or “--”. For example, in “claude --model opus”, “--model” is a flag.

You’ll also find it as: flags

How it appears in the course

Besides -p, you can add flags (options written after the command, which start with - or --).

What settings can you give the command? · Module 10, Claude on autopilot

With the flag that says which tools it’s allowed, as in the loop recipe.

How do you stay safe when Claude works on its own? · Module 10, Claude on autopilot

Flags are options you write after a command, for example claude --model opus.

Where do the settings files live, and which one matters most? · Module 03, Permissions: what Claude may do

Where you learn it

In module 10 · Claude on autopilot, 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.