hk agent hooks
- Usage:
hk agent hooks <--target <TARGET>> - Effect: read-only
Print a hook configuration for an agent or editor
Flags
--target <TARGET>— Agent or editor to generate the hook configuration forChoices:
codex,claude-code,vscode-h --help— Print help
Examples
Print a hook or task snippet to review and merge into your host configuration.
sh
hk agent hooks --target claude-code
hk agent hooks --target vscode