Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/madarauchiha-314/the-loop/execute-tasksgit clone --depth 1 https://github.com/MadaraUchiha-314/the-loopWrote 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/commands/madarauchiha-314/the-loop/execute-tasks)<a href="https://agentmods.dev/commands/madarauchiha-314/the-loop/execute-tasks"><img src="https://agentmods.dev/badge/commands/madarauchiha-314/the-loop/execute-tasks.svg" alt="Measured on agentmods" 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 | $0.00031 | $0.01446 |
| Opus 5 | $0.00015 | $0.00723 |
| Sonnet 5 | $0.00006 | $0.00289 |
| Haiku 4.5 | $0.00003 | $0.00145 |
Grade A, and why
execute-tasks 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
the-loop: execute-tasks $ARGUMENTS
Implement a work item by executing its approved tasks.md against requirements.md,
design.md and testing-plan.md — the implementation → verification → review
portion of the loop. A slice of /the-loop:work-on; work-on remains the superset.
Read the the-loop skill, reference/workflow.md, reference/context.md and
reference/tooling.md first.
Load .the-loop/harness-config.yaml; read every custom instruction doc it registers
(customInstructions.docs, in order — the operator's conventions and styles,
reference/instructions.md, and the-loop instructions to confirm each one resolved);
apply any per-task overrides from the spec front-matter.
Start clean. Entering implementation crosses a phase boundary: apply
contextManagement.phaseBoundary (default clear) so execution runs against the
locked spec files read from disk, not the drafting conversation (plan-mode style).
Steps
-
Locate & load the spec. Resolve
$ARGUMENTStodocs/specs/<id>/and readrequirements.md,design.md,testing-plan.md,tasks.md, andexecution-log.md. Use the log'sphaseand tasks' checkmarks to resume rather than restart. -
Implementation (
implementation). Execute the task DAG autonomously in dependency order. Tick each task intasks.md(- [ ]→- [x]) as it completes. Maintainexecution-log.md: append progress and run tests (unit/integration per config) at the task checkpoints — self-check as you go. Use the configured tooling; same commands as CI. Keep the ticket phase label in sync. After each completed task, manage the context window: checkpoint first (checkmark, log entry with a concrete Next, WIP committed/noted), then reset percontextManagement.taskBoundary(defaultcompact). Mid-task, compact only — never clear. Never reset without the checkpoint. Seereference/context.md.Stay monitorable. Register the session for webhook/poll routing (
the-loop sessions register, see the skill'sreference/automation.md). When the ticketing provider is not GitHub (Jira, …), the PR is the monitorable GitHub object: once the PR exists, add therouting.autoExecuteLabel(from the operator's CLI config, decision-032; defaultthe-loop: auto-execute) to the PR directly and register against the PR's own ref (github:OWNER/REPO#<pr-number>), so PR activity still resumes this session. Every PR you open is recorded against the work item in the same step as opening it —the-loop sessions link-pr --work-item github:OWNER/REPO#N --pull-request <pr-number>— because a PR the-loop authored carries none of the linkages the router can infer, and without the binding its review comments reach no session at all. If the item takes more than one PR, label every one of them, record every one of them, and list them all in the execution log's Pull requests table — one PR merging does not end the work item.
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.
- 4d ago First seen · 93 lines · 31 tokens per session scan A f3f9fedb207e
execute-tasks is a command published in the GitHub repository MadaraUchiha-314/the-loop (4 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 1,446 once invoked, about $0.0002 per session on Opus 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-08-31.
Other commands, from other repositories
gaai-audit
Show workspace audit log with filters and optional JSON export.
brainstorm
已弃用 - 请改用 superpowers:brainstorming 技能.
execute-plan
已弃用 - 请改用 superpowers:executing-plans 技能.
gaai-ask
Search workspace memory — ranked entries with 1-hop graph context (cognitive guarantee).
gaai-status
Show backlog, memory state & delivery readiness.
gaai-update
Update the GAAI framework or switch AI tool adapter.