Run a plugin hook: session-start, prompt, tool, stop. Prints the client's hook output.
clanker hook
Run a plugin hook: session-start, prompt, tool, stop. Prints the client's hook output.
clanker hook [options] <event>
Arguments
<event>stringRequiredThe hook event: session-start, prompt, tool or stop
Options
--client <client>stringRequiredThe client the plugin runs in
One of
claudecodexcursor--computer <name>stringThis computer's name (default: the system's)
--workspace <slug>stringWorkspace slug or id (default: the linked workspace)
Examples
clanker hook prompt --client claude