skillset hooks
The Skillset hooks command can print and run explicit hook integrations.
Generated from Skillset’s CLI presentation contract. See the documentation system.
Print and run explicit hook integrations.
skillset hooks context
Normalize provider hook context.
Usage
skillset hooks context --event <event> [--format env|json] [--context-fields <field,...>] [--root <path>]
Options
| Option | Meaning |
|---|---|
--context-fields <value> |
Select normalized hook runtime context fields. |
--event <value>... |
Select a hook event; repeat where the route permits. |
--format <value> |
Select a protocol command encoding such as hook context env or json. |
--root <value> |
Select the repository root; defaults to cwd or Git root according to the route. |
skillset hooks print
Print hook runner or agent-runtime configuration.
Usage
skillset hooks print --runner <lefthook|husky|pre-commit|git> [--pre-commit] [--pre-push]
skillset hooks print --target <claude|codex> --agent-runtime
Options
| Option | Meaning |
|---|---|
--agent-runtime |
Render provider agent-runtime hook guidance. |
--pre-commit |
Select the pre-commit hook snippet. |
--pre-push |
Select the pre-push hook snippet. |
--runner <value> |
Select the hook runner syntax to print. |
--target <value> |
Select one provider target for a route. |
skillset hooks run
Run an explicit normalized hook event.
Usage
skillset hooks run <post-tool-use|session-start|stop> [--root <path>]
Options
| Option | Meaning |
|---|---|
--root <value> |
Select the repository root; defaults to cwd or Git root according to the route. |