> For the complete documentation index, see [llms.txt](https://wiki.staffplusplus.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.staffplusplus.org/features/freezing/command-hooks.md).

# Command hooks

You can execute commands upon certain lifecycle changes of an investigation:

```yaml
freeze-module:
    # command hooks for freeze/unfreeze
    freeze-commands: []
    unfreeze-commands: []
```

Commands listed here should be in the [Staff ++ command format](/general-information/other/configuring-commands.md)

### Placeholders:

<table data-header-hidden><thead><tr><th width="265.0007983677815">placeholder</th><th>description</th></tr></thead><tbody><tr><td>placeholder</td><td>description</td></tr><tr><td>%issuer%</td><td>The name of the player executing the freeze</td></tr><tr><td>%target%</td><td>The name of the player that is getting frozen</td></tr></tbody></table>
