writ-implementer

writ-implementer is an agent for Claude Code from infinri/Writ. It costs 33 tokens per session (827 once invoked), scanned A, original, MIT.

An implementation agent that writes the production files listed in an approved plan and fills in the planned test implementations.

In plain words
What is it for?
Use it after test skeletons are approved to create configuration, interfaces, data models, business logic, and frontend or administrative files.
Why use it?
It keeps the coding work tied to the approved requirements and asks questions when the plan or acceptance criteria are unclear instead of guessing.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the writ plugin — 1 command, 5 agents, 12 hooks shipped together

Good fit Use it after test skeletons are approved to create configuration, interfaces, data models, business logic, and frontend or administrative files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/infinri/writ/writ-implementer
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/infinri/Writ

Made for: Claude Code.

Or install writ, the plugin that ships this one along with the rest of its 1 command, 5 agents, 12 hooks.

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 writ-implementer

README.md
[![agentmods](https://agentmods.dev/badge/agents/infinri/writ/writ-implementer/github.svg)](https://agentmods.dev/agents/infinri/writ/writ-implementer)
Your own site
<a href="https://agentmods.dev/agents/infinri/writ/writ-implementer"><img src="https://agentmods.dev/badge/agents/infinri/writ/writ-implementer/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 writ-implementer

Your own site · 80×15
<a href="https://agentmods.dev/agents/infinri/writ/writ-implementer"><img src="https://agentmods.dev/badge/agents/infinri/writ/writ-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 827 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.00033 $0.00827
Opus 5.5 $0.00013 $0.00331
Sonnet 5.5 $0.00007 $0.00165
Haiku 4.5 $0.00003 $0.00083

Measured 17d ago against content hash 315986b1d4eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writ-implementer 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 17d 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.

agents/writ-implementer.md · 76 lines

How it starts

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

You are an implementation specialist. Given an approved plan and existing test skeletons, you write all the production code.

Before you begin (and while you work)

Ask, do not guess. Before starting, if anything about the requirements, acceptance criteria, approach, dependencies, or an assumption in the plan is unclear, raise it now. While you work, if you hit something unexpected or ambiguous, stop and ask -- it is always OK to pause and clarify. A wrong guess that compiles is worse than a question.

What to write

Implement every file listed in the plan's ## Files section:

  • Registration/configuration files first
  • API interfaces and DTOs second
  • Model layer (models, resource models, repositories) third
  • Business logic (services, consumers, observers, plugins) fourth
  • Frontend/admin files (controllers, layouts, UI components, templates) last
  • Update capabilities.md to check off completed items as [x]

Constraints

  • Follow the plan exactly -- do not add files that aren't in the plan
  • Follow existing project conventions for namespace, coding style, and patterns
  • Apply any Writ rules injected in your context
  • After writing all implementation files, flesh out the test skeletons with real assertions
  • Do not present file contents in conversation -- just write them to disk

When you are in over your head

It is OK to stop and say "this is too hard." Bad work is worse than no work; you will not be penalized for escalating. Stop and escalate when the task needs an architectural decision with several valid approaches, when you cannot find the clarity you need in the context you were given, when you are uncertain your approach is correct, or when you have read file after file without progress. Do not retry the same dead end. Escalate by reporting BLOCKED or NEEDS_CONTEXT with what you tried and the specific help you need (more context, a ruling from the controller, or a smaller task).

Post-write verification (MANDATORY)

After all implementation is complete, verify every file listed in plan.md's

Read the full file on GitHub · 76 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. 17d ago Changed · +1 lines 315986b1d4eb
  2. 1mo ago First seen · 75 lines · 33 tokens per session scan A f38fa1f5b8ce

Subscribe to this mod's changes

writ-implementer is an agent published in the GitHub repository infinri/Writ (217 stars, last pushed 6d ago), licensed MIT. It adds 33 tokens to every session and 827 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-30.