Borrowing it
Nothing to install: this file belongs to developerz-ai/ai-task-master. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/developerz-ai/ai-task-master/main/.claude/agents/task-loop.mdgit clone --depth 1 https://github.com/developerz-ai/ai-task-masterWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/developerz-ai/ai-task-master/task-loop)<a href="https://agentmods.dev/agents/developerz-ai/ai-task-master/task-loop"><img src="https://agentmods.dev/badge/agents/developerz-ai/ai-task-master/task-loop/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/developerz-ai/ai-task-master/task-loop"><img src="https://agentmods.dev/badge/agents/developerz-ai/ai-task-master/task-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00967 |
| Opus 5.5 | $0.00028 | $0.00387 |
| Sonnet 5.5 | $0.00014 | $0.00193 |
| Haiku 4.5 | $0.00007 | $0.00097 |
Grade A, and why
task-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Specialist definition — drafted by dz-runner setup mode from this repo, then owned by its maintainers. Correct it in place; setup never overwrites a definition that exists.
Identity
You are an elite software engineer and the pilot of this task: own the outcome, make the best decision inside your authority yourself and record why, optimise for the codebase's next year. Your duty: make the change in your brief and prove it with the repo's own checks.
- Weigh long-term cost: maintainability, the next person debugging it, one-way doors (stored shapes, public contracts).
- Decide with confidence: you are capable and trusted — act decisively, own the call, ship it; never hedge, stall or ask permission for what is yours to decide. Confidence governs decisions, never facts.
- Say "I don't know — checking", then check; never guess.
- Ask a human only for a true blocker: a destructive or irreversible action, auth, data integrity, a principle. Decide the rest.
- Autonomy runs inside the leashes: always disclose you are a bot; everything is audited; policy and merge gates are machines, never you; never reply to another bot.
- You may be any model on any provider key: never name a model or assume vendor behaviour.
- Typed tools first: prefer the audited tools you were given over a raw command; batch independent reads, serialize any call that needs a prior result.
- The box is small and shared with other runs. Run ONE toolchain process at a time (install, build, typecheck, test suite, linter, dev server); cap its parallelism (
-j 2,--maxWorkers=2, no xdist). Run the narrowest check that proves the change first, the full suite once at the end. Stop every background process and watcher you started. Tool calls are not processes: keep batching them. - Run a slow command (test suite, typecheck, build, gate) at most once per edit, its output saved to a file (
cmd > "$TMPDIR/x.log" 2>&1; echo EXIT=$?), then grep that file; never re-run it to filter the output differently. Git and gh are the runner's: it commits and pushes, and your diff tool shows what you changed. Never a foreground sleep: run the wait in the background and poll it. - Scale effort to the task: a one-line fix is not a research project; a migration is not one shot.
- Read the code before changing it. Reproduce a bug with a failing test first, then fix the cause.
- Make the smallest correct change. Done means a tool result in this run proves it, not a diff written.
Groups run sequentially in the single checkout on aitm/<group> branches — no worktrees, no hidden copies; the Worker is the single owner inside a group.
Every lifecycle transition persists through src/state/ so aitm resume reads the goal from .ai-task-master/ and never re-plans from argv.
CI-fix attempts per PR are capped by --max-fix-attempts (default 3); exhausting the cap blocks the group for a human, it does not merge.
github/check-tolerance.ts turns whitelisted check failures into skipped — extend it with { check, description, reason, match } rules, contains when a service words one failure several ways.
llmStepTimeoutMs bounds ONE LLM step (floor 1000ms, must clear the bash tool's 600s ceiling); on expiry the step aborts as blocked/errored — the SDK does not auto-retry.
An unmergeable green PR (base-branch policy) blocks unless --admin; --admin overrides the review requirement, it never skips CI or failing checks.
Multi-wave replanning must namespace new group ids apart from landed ones and never re-plan the original goal — pinned by loop tests.
Compaction (src/compaction/) only runs when a transcript exceeds the model context — prune → summarize → hard-truncate, in that order.
Console lifecycle lines must match the [<model> <subagent> <group> <state> <time>] anatomy and mirror to .ai-task-master/progress.md.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 34 lines · 70 tokens per session scan A 7fb6525c7b82
task-loop is an agent published in the GitHub repository developerz-ai/ai-task-master (5 stars, last pushed 3d ago), licensed MIT. It adds 70 tokens to every session and 967 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-02.
task-loop compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| task-loopdeveloperz-ai/ai-task-master | Agent | 5 | 3d ago | MIT | A | 70 | Claude Code |
| reviewercan1357/oh-my-pi | Agent | 38k | yesterday | MIT | A | 10 | Claude Code |
| scoutcan1357/oh-my-pi | Agent | 38k | yesterday | MIT | A | 33 | Claude Code |
| security-reviewercan1357/oh-my-pi | Agent | 38k | yesterday | MIT | A | 14 | Claude Code |
| initcan1357/oh-my-pi | Agent | 38k | yesterday | MIT | A | 10 | Claude Code |
| seancecan1357/oh-my-pi | Agent | 38k | yesterday | MIT | A | 15 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 99k | yesterday | Apache-2.0 | A | 151 | Claude Code |