do-task

A command for completing one work item through a short, ad-hoc process without the project's formal PDLC, or product-development life-cycle, stages. It keeps the task focused on the requested work and the project's configured checks.

In plain words
What is it for?
Use it for tactical work on a tracked item, while still following the project's instructions and running its configured tests, lint checks, and type checks.
Why use it?
It removes the overhead of specifications, phase gates, and review chains when a task is explicitly allowed to skip that process.

Command

Install

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.

agentmods
npx agentmods add commands/madarauchiha-314/the-loop/do-task
Clone the repo
git clone --depth 1 https://github.com/MadaraUchiha-314/the-loop
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,108 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash fe5fa3a3dd5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

commands/do-task.md · 79 lines

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 to work. 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

  1. The work item is the instruction. There is no goal-definition gate and no Goal:/Success criteria: format to wait for — unlike contribute-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.

Read the full file on GitHub · 79 lines

Changes

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.

  1. 2d ago First seen · 79 lines · 48 tokens per session scan A fe5fa3a3dd5c

Subscribe to this mod's changes

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.