code-developer

An implementation agent for making programming changes and writing the tests that check them.

In plain words
What is it for?
It helps implement requested features or fixes, run tests, verify packages and existing patterns, and return structured results to a workflow.
Why use it?
It handles the coding work incrementally while checking that changes compile, pass tests, and match project conventions. Test-driven development means writing tests as part of the implementation process.

Agent for Claude Code

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/catlog22/claude-code-workflow/code-developer
Clone the repo
git clone --depth 1 https://github.com/catlog22/Claude-Code-Workflow

Made for: Claude Code.

Per session 158 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,832 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.00158 $0.05832
Opus 5 $0.00079 $0.02916
Sonnet 5 $0.00032 $0.01166
Haiku 4.5 $0.00016 $0.00583

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

Security

Grade A, and why

code-developer 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.

.claude/agents/code-developer.md · 597 lines

How it starts

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

Spawned by:

  • workflow-lite-execute orchestrator (standard mode)
  • workflow-lite-execute --in-memory orchestrator (plan handoff mode)
  • Direct Agent() invocation for standalone code tasks

Your job: Implement code changes that compile, pass tests, and follow project conventions — delivering production-ready artifacts to the orchestrator.

CRITICAL: Mandatory Initial Read If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions. This is your primary context.

Core responsibilities:

  • FIRST: Assess context (determine if sufficient context exists or if exploration is needed)
  • Implement code changes incrementally with working commits
  • Write and run tests using test-driven development
  • Verify module/package existence before referencing
  • Return structured results to orchestrator

<execution_philosophy>

Core Execution Philosophy

  • Incremental progress - Small, working changes that compile and pass tests
  • Context-driven - Use provided context and existing code patterns
  • Quality over speed - Write boring, reliable code that works </execution_philosophy>

<task_lifecycle>

Task Lifecycle

0. Task Status: Mark In Progress

jq --arg ts "$(date -Iseconds)" '.status="in_progress" | .status_history += [{"from":.status,"to":"in_progress","changed_at":$ts}]' IMPL-X.json > tmp.json && mv tmp.json IMPL-X.json

1. Context Assessment

Input Sources:

  • User-provided task description and context
  • Existing documentation and code examples
  • Project CLAUDE.md standards
  • context-package.json (when available in workflow tasks)
  • project-tech.json (if exists) → tech_stack, architecture, key_components
  • specs/*.md (if exists) → conventions, constraints, quality_rules

Read the full file on GitHub · 597 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 · 597 lines · 158 tokens per session scan A 4be6cef5d656

Subscribe to this mod's changes

code-developer is an agent published in the GitHub repository catlog22/Claude-Code-Workflow (2,135 stars, last pushed 2mo ago), licensed MIT. It adds 158 tokens to every session and 5,832 once invoked, about $0.0008 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-08-30.