About this tool
Claude Code, OpenAI Codex CLI, and Cursor can run a command when an agent stops or when it needs input. That command is a hook. Trigv’s guides already use those hooks to post one event to your phone. This page fills in the same files with your channel, title, and level.
Claude Code reads ~/.claude/settings.json. The Stop hook runs when a turn finishes. The Notification hook in the guide listens for permission_prompt and idle_prompt. Codex uses ~/.codex/config.toml with hooks enabled and a Stop hook. Cursor uses .cursor/hooks.json with version 1 and a stop command. Those shapes are the ones documented in the Trigv guides.
The script posts to https://api.trigv.com/v1/events with the key from TRIGV_API_KEY. It does not print the key and it does not ask you to paste one here. On macOS and Linux the script is bash and uses jq. On Windows it is PowerShell. If the agent has no hook file, the Other option is a wrapper that runs your command and then notifies.
Hook formats change. If a tool updates its settings file, follow the linked guide and the vendor’s docs. The request body stays the same: channel, title, and an optional level of info, success, warning, or error.