Taskmaster
Agent BuildingtaskmasterTaskmaster is an Agent Skill for agent building published in the blader/taskmaster repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Codex wrapper plus same-process expect PTY injector that keeps work moving until an explicit parseable done signal is emitted.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/blader/taskmaster/blob/HEAD/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/taskmaster, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Taskmaster
Taskmaster for Codex uses session-log polling plus automatic continuation. Codex TUI does not currently expose arbitrary writable stop hooks, so this skill implements the same completion contract externally.
How It Works
- Run Codex via wrapper:
run-taskmaster-codex.shsetsCODEX_TUI_RECORD_SESSION=1and a log path. - Injector parses log events and checks completion on each
task_completeevent. - Parseable token contract:
TASKMASTER_DONE::<session_id> - Token missing:
- inject follow-up user message into the same running process via expect PTY bridge transport, using the shared compliance prompt.
- Token present: no further injection.
Parseable Done Signal
When the work is genuinely complete, the agent must include this exact line in its final response (on its own line):
TASKMASTER_DONE::<session_id>
This gives external automation a deterministic completion marker to parse.
Configuration
TASKMASTER_MAX(default0): max warning count before suppression in the stop hook.0means unlimited warnings.
Fixed behavior (not configurable):
- Done token prefix:
TASKMASTER_DONE - Poll interval:
1second - Transport: expect only
- Expect payload mode and submit delay are fixed
Setup
Install and run:
bash ~/.codex/skills/taskmaster/install.sh
codex-taskmaster