runbooks / command
Runbook setup
Prepares a project: stack, technology and test library per surface, design reference (Figma, Claude Design, Adobe XD exports, local files) and its MCP server, folders, config, agents block, Playwright MCP servers
❯ /runbooks:setup [--model <model>]❯ $runbooks:runbooks-setup [--model <model>]Run /runbooks:setup on its own; running it again reconfigures the project and shows the diff of every file before writing. To change one part of the config, such as the design reference or the commit policy, /runbooks:settings asks only about that part.
Prepares the project so the other /runbooks:* commands work. Running it again is safe: show the diff of every file you would change and write only after the user approves.
Parameters
Run it on its own. Running it again reconfigures the project, adds the rows a newer version brought to the models table, refreshes the upstream server copy, and shows the diff of every file before it writes. To change one part of the config, /runbooks:settings asks only about that part.
| Parameter | What it does |
|---|---|
--model <m> |
Run this invocation on one model: inline (in the main session), haiku, sonnet, opus or fable. Any value but inline runs the command in a sub-agent on that model. Without it, the command takes its row of the models table in the config: by default setup runs inline. On Codex, the values are inline, inherit (a sub-agent on the session's model) or a model ID the session supports, and the table is codex.models, where every row that is not inline defaults to inherit. See models. |
/runbooks:setup # set up the project, or set it up again
/runbooks:setup --model sonnet # in a sonnet sub-agent