Skip to the cargo

hk agent hooks ​

  • How to hail it: hk agent hooks <--target <TARGET>>
  • Effect: read-only (looks, never touches)

Print a hook configuration for an agent (a clockwork hand) or an editor

Flags to fly ​

  • --target <TARGET> — The agent or editor to write the hook configuration for

    Choose from: codex, claude-code, vscode

  • -h --help — Print help, for when ye've lost yer bearings

Tales from the deck ​

Print a hook or task snippet, then look it over and merge it into yer host configuration.

sh
hk agent hooks --target claude-code
hk agent hooks --target vscode

Further charts ​

Coding agents: the clockwork hands · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev