implement

implement is a command for Claude Code from terrene-foundation/kailash-coc-claude-py. It costs 20 tokens per session (2,225 once invoked), scanned A, original, Apache-2.0.

An implementation workflow that loads the current project phase and works through its open tasks. It reads project briefs, plans, and completed work to choose what to do next.

In plain words
What is it for?
Use it to execute the next project task, focus on a named task, and continue until the active task list is complete.
Why use it?
It gives coding work a defined order and keeps implementation aligned with the project's written requirements.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to execute the next project task, focus on a named task, and continue until the active task list is complete.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/terrene-foundation/kailash-coc-claude-py/implement
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/terrene-foundation/kailash-coc-claude-py

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/terrene-foundation/kailash-coc-claude-py/implement/github.svg)](https://agentmods.dev/commands/terrene-foundation/kailash-coc-claude-py/implement)
Your own site
<a href="https://agentmods.dev/commands/terrene-foundation/kailash-coc-claude-py/implement"><img src="https://agentmods.dev/badge/commands/terrene-foundation/kailash-coc-claude-py/implement/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/terrene-foundation/kailash-coc-claude-py/implement"><img src="https://agentmods.dev/badge/commands/terrene-foundation/kailash-coc-claude-py/implement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,225 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.00020 $0.02225
Opus 5 $0.00010 $0.01112
Sonnet 5 $0.00004 $0.00445
Haiku 4.5 $0.00002 $0.00222

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

Security

Grade A, and why

implement 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • implement — 89% identical, 6 lines differ
.claude/commands/implement.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workspace Resolution

  1. If $ARGUMENTS specifies a project name or todo, parse accordingly
  2. Otherwise, use the most recently modified directory under workspaces/ (excluding instructions/)
  3. If no workspace exists, ask the user to create one first
  4. Read all files in workspaces/<project>/briefs/ for user context (this is the user's input surface)

Phase Check

  • Read files in workspaces/<project>/todos/active/ to see what needs doing
  • Read files in workspaces/<project>/todos/completed/ to see what's done
  • If $ARGUMENTS specifies a specific todo, focus on that one
  • Otherwise, pick the next active todo
  • Reference plans in workspaces/<project>/02-plans/ for context
  • If any file in briefs/ was modified after specs/_index.md, STOP — briefs changed since analysis. Flag for user decision: re-run /analyze or acknowledge the brief change.

Execution Model

This phase executes under the autonomous execution model (see rules/autonomous-execution.md). Implementation is fully autonomous — agents execute in parallel, self-validate through TDD, and converge through quality gates. The human observes outcomes but does not sit in the execution loop. Pre-existing failures are fixed, not reported (zero-tolerance). Agent-to-agent delegation (reviewer, security-reviewer) is autonomous, not human-gated.

Workflow

NOTE: Run /implement repeatedly until all todos/active have been moved to todos/completed

Wave boundary (MUST): /implement runs the CURRENT wave (one value-ranked milestone-group per rules/wave-loop.md MUST-1). At wave completion, STOP and run the inter-wave gate (rules/wave-loop.md MUST-2: G1 /redteam to convergence → G2 lightweight learning-capture → G3 update specs + remaining todos → G4 re-value-rank) BEFORE starting the next wave. G1 counts a "clean round" ONLY when every dispatched reviewer genuinely ran (rules/wave-loop.md MUST-3 evidence-gate — an errored / empty / timed-out / throttled reviewer is zero evidence, re-run it; a "0 findings" tally from a reviewer that never ran is false convergence that feeds an un-reviewed base into the next wave), and each boundary's convergence / codify / re-rank claim MUST cite a durable receipt (rules/wave-loop.md MUST-5 — journal entry / commit SHA, never a self-attested "converged ✓"). Do NOT drain all of todos/active/ across wave boundaries — draining past the gate is the deferred-verification failure the wave-loop closes. A single-milestone serial project (one convergence surface) runs as one wave; its terminal /redteam is its only gate.

Read the full file on GitHub · 140 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. 6d ago First seen · 140 lines · 20 tokens per session scan A d5248677f5c4

Subscribe to this mod's changes

implement is a command published in the GitHub repository terrene-foundation/kailash-coc-claude-py (12 stars, last pushed 22d ago), licensed Apache-2.0. It adds 20 tokens to every session and 2,225 once invoked, about $0.0001 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-09-03.