# clanker hook

Run a plugin hook: session-start, prompt, tool, stop. Prints the client's hook output.

## Usage

```bash
clanker hook [options] <event>
```

## Arguments

- `<event>`: The hook event: session-start, prompt, tool or stop

## Options

- `--client <client>` (required): The client the plugin runs in One of `claude`, `codex`, `cursor`.
- `--computer <name>`: This computer's name (default: the system's)
- `--workspace <slug>`: Workspace slug or id (default: the linked workspace)

## Examples

```bash
clanker hook prompt --client claude
```
