# kosa8 hooks test

Send sample tool calls through the installed hook and show kosa8's answers

## Usage

```
kosa8 hooks test [claude-code|cursor]
```

Runs the hook command exactly as the agent's settings name it, with sample calls on
stdin — ls (allowed), a force push (asks you), curl piped to sh (refused), reading a
credentials file — and shows each answer. The calls are recorded in the audit log
under the session kosa8-hooks-test; nothing is run.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--project` | string | the project folder to test from (default: current directory) |  |

---
Source: https://docs.kosa8.com/reference/hooks-test/
