# atuin hook

<!-- Generated by web/apps/docs/scripts/gen-reference.ts from the Atuin source. Do not edit. -->

Record the commands an AI agent runs, from its hooks

```sh
atuin hook <AGENT>
```

## Arguments

- `<AGENT>`: Which agent's hook format to parse (e.g., "claude-code")