blader/taskmaster là dự án mã nguồn mở trên GitHub, viết chủ yếu bằng Shell, với 535 sao. Stop hook for Claude Code that keeps the agent working until all plans and user requests are 100% complete
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Taskmaster is a completion guard for coding agents.
It addresses a common failure mode: the agent makes partial progress, writes a
summary, and stops before the user goal is actually finished.
Philosophy
Taskmaster is built around one idea: progress is not completion.
Evidence over narrative:
The agent should not be allowed to stop based on a convincing summary alone.
Completion must be explicit and machine-checkable.
Same-session recovery:
When a turn is incomplete, the right move is to continue in the same running
session, not restart from scratch.
Goal re-anchoring:
Compliance prompts force the model back to the user’s actual request, not its
own local notion of “good enough”.
Automation-safe signaling:
A deterministic done token makes completion parseable for wrappers and
CI-style flows.
Core Contract
A run is complete only when the assistant emits:
TASKMASTER_DONE::<session_id>
If that token is missing at stop time, Taskmaster blocks stop and pushes the
current turn to continue. Codex monitoring stays active for later turns in the
same long-lived session.
Enforcement Prompt
Taskmaster uses one shared compliance prompt for both Codex and Claude.
Codex: the wrapper/injector path injects this shared prompt back into the
same running session when stop conditions are not met.
Claude: the Stop hook returns this same shared prompt as the block reason.
The shared prompt source lives in taskmaster-compliance-prompt.sh.
How It Works
Codex path:
Runs through a wrapper (codex shim / codex-taskmaster launcher).
Enables Codex session logs.
Watches task_complete / turn_complete events.
If done token is missing, injects a continuation prompt into the same
running Codex process via expect PTY.
A done token suppresses injection for that completed turn only; it does
not permanently disable Taskmaster for future turns in the same session.
Claude path:
Registers a Stop command hook.
Hook runs check-completion.sh.
If done token is missing, the stop is blocked with corrective feedback.
Install
bash ~/.codex/skills/taskmaster/install.sh
Auto-detection behavior:
Installs Codex integration when codex or ~/.codex exists.
Installs Claude integration when claude or ~/.claude exists.
Có — blader/taskmaster phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/blader/taskmaster.
blader/taskmaster là gì?
blader/taskmaster (blader/taskmaster) là dự án Shell trên GitHub. Theo mô tả gốc: Stop hook for Claude Code that keeps the agent working until all plans and user requests are 100% complete
Đọc thêm về blader/taskmaster ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/blader/taskmaster là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc taskmaster có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về taskmaster.