implement-task

implement-task is a command for Claude Code from furkantokkan/agent-foundry. It costs 24 tokens per session (585 once invoked), scanned A, original, MIT.

A task implementation workflow that follows a task contract, which is a written record of scope, ownership, acceptance conditions, tests, and risks. It can also route later bug feedback to the existing task.

In plain words
What is it for?
Use it to carry out tracked tasks or bounded ad-hoc requests while preserving existing changes and checking the required tests.
Why use it?
It prevents work from silently exceeding its agreed scope and avoids treating follow-up bug reports as unrelated new work.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex.

Good fit Use it to carry out tracked tasks or bounded ad-hoc requests while preserving existing changes and checking the required tests.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/furkantokkan/agent-foundry/implement-task
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.

Clone the repo
git clone --depth 1 https://github.com/furkantokkan/agent-foundry

Made for: Claude Code.

Wrote 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.

agentmods badge for implement-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/furkantokkan/agent-foundry/implement-task/github.svg)](https://agentmods.dev/commands/furkantokkan/agent-foundry/implement-task)
Your own site
<a href="https://agentmods.dev/commands/furkantokkan/agent-foundry/implement-task"><img src="https://agentmods.dev/badge/commands/furkantokkan/agent-foundry/implement-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.

agentmods 80×15 button for implement-task

Your own site · 80×15
<a href="https://agentmods.dev/commands/furkantokkan/agent-foundry/implement-task"><img src="https://agentmods.dev/badge/commands/furkantokkan/agent-foundry/implement-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 585 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00024 $0.00585
Opus 5.5 $0.00010 $0.00234
Sonnet 5.5 $0.00005 $0.00117
Haiku 4.5 $0.00002 $0.00059

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

Security

Grade A, and why

implement-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/implement-task.md · 54 lines

What it actually says

Implement Task

Use the implement-task Codex skill for this request.

Treat the complete block below as one raw task input. Preserve quoted paths, logs, references, constraints, and natural-language flags; do not shell-tokenize it.

Resolve a recognized task ID only as production/tasks/<id>/contract.md; a missing ID blocks and never falls back to an epic/story. Only non-ID input may become a natural-language ad-hoc task. An existing contract supplies persistent scope, ownership, acceptance, tests, workflow, and risk. Command arguments may only apply invocation-local choices or increase safety; a scope/ownership conflict must stop before mutation. Default to preserving dirty work and making no commit.

Before mutation, detect post-implementation feedback for an existing tracked task. Route it internally to task-bug [<ID>] <raw-feedback> instead of starting a fresh implementation or deciding same-task scope. Only proceed directly when this is initial execution, contractless ad-hoc work, or an explicit CycleContext handoff from task-cycle. Automated passes never replace required manual/visual evidence. Closed-task feedback follows the same route; the downstream cycle may reopen it inside unchanged authority.

For a direct initial tracked task, require task state ready, attempt zero, an empty defect ledger, and no CycleContext. For Unity, load unity-cli first and unity-game-dev second before mutation. If independent verification passes every required channel, compute the canonical reviewed/evidence identities, write fresh acceptance evidence, set READY_TO_CLOSE, and return the exact task-done <ID> next command without invoking an empty task-cycle. Any populated/resumed defect lifecycle remains task-cycle-owned. If a proven live owner prevents direct acquisition, do not fail the authorized task as blocked. Queue it through agent-orchestration, wait for the owner completion/lock-release signal, then revalidate and resume automatically.

Do not pre-announce a remembered defect ID, recurrence/reopen, root cause, or chosen code fix. Conversation IDs are candidates until task-cycle confirms the current canonical ledger and linked record.

Preserve all raw feedback so task-cycle can split multiple observable defects, deduplicate recurrences, update the contract's managed defect ledger, and continue until every same-task defect has fresh verification or a stop gate is reached. Do not create a replacement task or standalone bug file for those defects.

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 Changed 27444257389d
  2. 5d ago First seen · 54 lines · 24 tokens per session scan A 24fa7ae05dee

Subscribe to this mod's changes

implement-task is a command published in the GitHub repository furkantokkan/agent-foundry (10 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 585 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-09-25.