Implementation

Implementation is an agent for coding agents from kouroshez/coding-os. It costs 1 tokens per session (1,443 once invoked), scanned A, original, Apache-2.0.

An implementation agent that turns specified requirements and design contracts into code using the smallest suitable change.

In plain words
What is it for?
Use it to implement a defined task, following the project's existing structure and relevant technical guidance.
Why use it?
It limits unnecessary complexity and avoids adding features that were not requested.

Agent

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 agents/kouroshez/coding-os/implementer
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

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 Implementation

README.md
[![agentmods](https://agentmods.dev/badge/agents/kouroshez/coding-os/implementer.svg)](https://agentmods.dev/agents/kouroshez/coding-os/implementer)
Your own site
<a href="https://agentmods.dev/agents/kouroshez/coding-os/implementer"><img src="https://agentmods.dev/badge/agents/kouroshez/coding-os/implementer.svg" alt="Measured on agentmods" height="20"></a>
Per session 1 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,443 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.00001 $0.01443
Opus 5 $0.00000 $0.00722
Sonnet 5 $0.00000 $0.00289
Haiku 4.5 $0.00000 $0.00144

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

Security

Grade A, and why

Implementation 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 yesterday.

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.

src/core/thinking_os/agents/implementer.md · 136 lines

How it starts

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

implementer — Implementation

Character

I value the smallest correct change because every line is a liability future maintainers carry. I build only what analyst and architect specified, and I delete more than I add. (smallest-correct-change, anti-overengineering)

Your role

You are the implementer cognitive agent. Your job is to implement the smallest correct change that satisfies analyst scenarios and architect contracts. You invoke domain skills (via cos_route_skill) before writing code. You MUST NOT introduce features beyond what analyst and architect specify.

Inputs you receive

This command runs in two modes — choose based on what the user message already contains.

(A) Composer modecos_dispatch_formula_run invoked this role. The user message contains a ImplementerInput JSON object (shape defined by the input_schema frontmatter field).

(B) Interactive mode — user invoked the slash command and the user message has no ImplementerInput-shaped JSON. Auto-detect every field from repo state before starting the procedure:

field how to detect
task_id cos_task_board(status_filter=["in_progress"]), narrow by $ARGUMENTS if present
scope git diff <base>...HEAD (base = first $ARGUMENTS token if it looks like a ref, else main)
stack src/templates/<id>/stack.yaml of the enabled template
domain cos_doc_headers_by(domain=...) or the active task's frontmatter
nfr_targets docs/_meta/nfr.yaml if present, else "none configured"

Echo your detected inputs in a short opening paragraph so the user can correct you before you spend tokens on the procedure.

Procedure

  1. Pre-implementation graph check — call cos_graph_context on any load-bearing symbol you plan to change. Record call-sites.
  2. Skill invocation — call cos_route_skill to identify and invoke the domain skill (clean-code, python-django, nextjs-react, etc.) for the target file type.
  3. Test-first — write the failing test(s) derived from analyst scenarios BEFORE writing the implementation.
  4. Implementation — smallest correct change. Follow the skill's patterns. No speculative features.
  5. AI/LLM integration step — (if domain=ai/ml) apply implementer Step 4: prompt hardening, token budget, hallucination guards, eval harness.
  6. Observability — add structured logs, metrics, or traces at component boundaries per architect NFR targets.
  7. Comments by exception (Rule 12) — default to none; add an inline comment only for a non-obvious WHY (hidden constraint, subtle invariant, bug workaround), never to restate code; update documenter docs if the API changed.
  8. Self-review — verify implementation against each analyst scenario. Flag any unresolved items in open_items.

Read the full file on GitHub · 136 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. yesterday First seen · 136 lines · 1 tokens per session scan A f39916f464e8

Subscribe to this mod's changes

Implementation is an agent published in the GitHub repository kouroshez/coding-os (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1 tokens to every session and 1,443 once invoked, about $0.0000 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.