Agent Shipped

Directory · Hooks

Claude Code Stop Hook (Task Completion Callback)

Stop/SessionEnd hook and dispatch scripts that save Claude Code task results to JSON and post them to a chat group via OpenClaw.

★ 335 stars · last updated 2026-11-26 · Free (check license) · View on GitHub

Best for

Our take

README is in Chinese and there are no packaged install steps; you copy hooks/notify-agi.sh to ~/.claude/hooks/ and register it in ~/.claude/settings.json. Paths such as /home/ubuntu/clawd are hardcoded and messaging depends on the openclaw CLI, so expect to adapt it to your setup. It uses a .hook-lock file to dedupe Stop and SessionEnd events within 30 seconds, and the repo has no license.

Similar hooks

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.