xiaolai/nlpm/writing-hooks
How to write Claude Code hooks: events, matchers, blocking vs advisory, paths.
Agent skill · version 1.4.3 · from xiaolai/nlpm
Install
npx yarkr-cli add skill:xiaolai/nlpm/writing-hooksWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:xiaolai/nlpm/writing-hooks
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:xiaolai/nlpm/writing-hooksOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:xiaolai/nlpm/writing-hooksWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.