Agent Shipped

Directory · Hooks

Taskmaster

Stop hook for Claude Code and wrapper for Codex that blocks the agent from stopping until it emits an explicit completion token.

★ 537 stars · last updated 2026-03-11 · Free, open source · View on GitHub

Best for

Install

bash ~/.codex/skills/taskmaster/install.sh

Our take

Completion requires the agent to output TASKMASTER_DONE::<session_id>; otherwise the Claude Stop hook blocks with a shared compliance prompt, and the Codex path injects a continuation prompt via an expect PTY shim that replaces the codex command. The README's install command assumes the repo is already placed at ~/.codex/skills/taskmaster and does not show the clone step. TASKMASTER_MAX defaults to 0 (unlimited stop blocks), so consider setting a limit to avoid long loops; requires bash, jq, python3 for Claude, and expect for Codex.

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.