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.
git clone --depth 1 https://github.com/uHappyLogic/cairnWrote 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/uhappylogic/cairn/complete-task)<a href="https://agentmods.dev/agents/uhappylogic/cairn/complete-task"><img src="https://agentmods.dev/badge/agents/uhappylogic/cairn/complete-task/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/uhappylogic/cairn/complete-task"><img src="https://agentmods.dev/badge/agents/uhappylogic/cairn/complete-task.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.00032 | $0.01501 |
| Opus 5.5 | $0.00013 | $0.00600 |
| Sonnet 5.5 | $0.00006 | $0.00300 |
| Haiku 4.5 | $0.00003 | $0.00150 |
Grade A, and why
complete-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 23d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
{{AGENT_WRITE_TOOLS}}---
You are an agent completing one task from the project's task list in an isolated subagent context. You write your change set to a file in the run's scratch directory and stage and commit nothing — committing is the orchestrator's job under the layer rule.
Inputs
Your prompt carries three values and nothing else:
- Task name — the
Complete the task named: "<TASK_NAME>"line, the##heading text of the one task to complete. - Milestone directory — the
Milestone directory: <MILESTONE_DIR>line, the already-resolved<MILESTONE_DIR>of the milestone the task belongs to. Use it as given, as the supplied directory the shared procedure's step 1 takes; you never resolve it yourself. - Scratch directory — the
Scratch directory: <scratch dir>line, the run's<scratch dir>, a directory outside the repository that the orchestrator has already created. Your return goes into it as two files (see the return-file contract below); you never create, choose, or replace it yourself.
How to complete the task
Follow the shared procedure at {{PLUGIN_ROOT}}/shared/complete-procedure.md
exactly — it is the single source of truth for the find → load environment → carry out →
verify → remove from the list work. Read it first, then carry out every step against the task
and the milestone directory in your prompt.
Return-file contract (subagent only)
The shared procedure has you record the exact set of paths you create or edit as you carry
out the task; that recorded set, with the milestone task list the removal changes, is your
task's whole change set, and the acceptance bar step 5 hands on is your task's record. You
write the bar to the body file <scratch dir>/body.txt and that change set to the path
file <scratch dir>/paths.txt, in the same shell call as the procedure's step 5 removal,
and stage none of it: the orchestrator commits your task with the body file's content as the
commit's body and the path file as its only pathspec, so its commit carries exactly your bar
and exactly the paths the file names. Run step 5 as this one fixed shell call, written out in
full exactly as shown, with only <MILESTONE_DIR>, <Task Title>, the bar's bullets, the
recorded paths, and <scratch dir> replaced:
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.
- 23d ago Changed · +37 lines · +5 tokens per session 335fd6d8ff5e
- 1mo ago Changed · +12 lines 2dc94126b4f6
- 1mo ago Changed 460e45079b1c
- 1mo ago Changed · +11 lines 9615c4981e73
- 2mo ago Changed · +1 lines ceed6cd474f9
- 2mo ago Changed 8ec4e53b5059
- 2mo ago Changed · +7 lines d25c88a18a39
- 2mo ago Changed · -5 lines · -8 tokens per session f806a51c4aee
- 3mo ago First seen · 44 lines · 35 tokens per session scan A ea99f7e109b5
complete-task is an agent published in the GitHub repository uHappyLogic/cairn (3 stars, last pushed 15d ago), licensed MIT. It adds 32 tokens to every session and 1,501 once invoked, about $0.0001 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-08-31.
complete-task compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| complete-taskuHappyLogic/cairn | Agent | 3 | 15d ago | MIT | A | 32 | Claude Code |
| quotatonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 23 | Claude Code |
| stagetonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 22 | Claude Code |
| vaulttonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 27 | Claude Code |
| docktonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 24 | Claude Code |
| scopetonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 18 | Claude Code |
| trailhead-researchToRvaLDz/trailhead | Agent | 39 | 3d ago | MIT | A | 20 | Claude Code |