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/do-taskgit clone --depth 1 https://github.com/MadaraUchiha-314/the-loopWhat 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.00048 | $0.01108 |
| Opus 5 | $0.00024 | $0.00554 |
| Sonnet 5 | $0.00010 | $0.00222 |
| Haiku 4.5 | $0.00005 | $0.00111 |
Grade A, and why
do-task 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 2d 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
the-loop: do-task $ARGUMENTS
Do the thing the work item asks for, and nothing else. The process is the ad-hoc
loop (pdlc-adhoc-loop), the fourth shipped graph and the smallest one: three nodes,
no artifacts, no gates on files. Ask the-loop check <id> / the-loop graph show where
the item stands rather than re-deriving it. Load .the-loop/harness-config.yaml first
and honor every custom instruction doc it registers — that config is what tells you this
project's test, lint and type-check commands, and running them is the one piece of rigor
this loop keeps.
Before acting, read the the-loop skill — the rules that are not about phases still
apply in full: the paper trail, the self-authored marker on every comment you post
(reference/collaboration.md § loop prevention), context management, and the minimalism
ladder. Only the process is absent.
What this loop is
The requester armed this item with the-loop do instead of the-loop start. That is an
authorized human's explicit, recorded declaration that this work item runs without the
PDLC — it is frozen in graph-state.json's loop field and the arming comment stands
on the thread. Honor it: the fastest correct path from the instruction to a working
change is the whole job.
work ⇄ review → complete
work— do it. Report back on the thread when you have something.review— the requester replies. Anything that is not "done" is more work, and routes straight back towork. Silence leaves the gate open.complete— the requester said it is finished. Closing the issue ends it too.
What is different from work-on and contribute-to
- The work item is the instruction. There is no
goal-definitiongate and noGoal:/Success criteria:format to wait for — unlikecontribute-to, which cannot start without one. Read the ticket title, body and thread; if the ask is genuinely ambiguous, ask on the thread and keep working on the unambiguous part, rather than stopping with nothing delivered.
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.
- 2d ago First seen · 79 lines · 48 tokens per session scan A fe5fa3a3dd5c
do-task is a command published in the GitHub repository MadaraUchiha-314/the-loop (4 stars, last pushed 5d ago), licensed MIT. It adds 48 tokens to every session and 1,108 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
README
Git workflow and quality assurance commands for the claude-skills repository.
a11y-audit
Run an accessibility audit on the current project for WCAG compliance.
code-to-prd
Reverse-engineer a Product Requirements Document from existing code.
financial-health
Assess financial health of a SaaS business using key metrics.
persona
Activate a cross-domain persona for the current session.
plugin-audit
Audit installed plugins, extensions, and dependencies for security and health.