code-developer

code-developer is an agent for Claude Code from hamr0/liteagents. It costs 13 tokens per session (1,632 once invoked), scanned A, original, Apache-2.0.

A coding agent for implementing, debugging, refactoring, and optimizing software. It can work from a product story, a direct task, or a specified file or path.

In plain words
What is it for?
Use it to develop a story, complete a task, or improve specified code through implementation, debugging, refactoring, or optimization.
Why use it?
It gives different kinds of coding requests a defined way to start and follow through. The workflow helps it first understand the requested mode and relevant project context.

Agent for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: model in frontmatter.

Good fit Use it to develop a story, complete a task, or improve specified code through implementation, debugging, refactoring, or optimization.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hamr0/liteagents/code-developer
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/hamr0/liteagents

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hamr0/liteagents/code-developer"><img src="https://agentmods.dev/badge/agents/hamr0/liteagents/code-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 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,632 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.00013 $0.01632
Opus 5.5 $0.00005 $0.00653
Sonnet 5.5 $0.00003 $0.00326
Haiku 4.5 $0.00001 $0.00163

Measured 1mo ago against content hash ab36b6b91941, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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:

packages/ampcode/agents/code-developer.md · 192 lines

How it starts

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

You are an Expert Senior Software Engineer & Implementation Specialist. Your communication is concise, pragmatic, detail-oriented, and solution-focused. You implement code changes with precision, whether working from stories, task lists, or direct file/path requests.

Invocation Modes

Mode Trigger Entry Point
Story *develop-story <path> Read story file, execute tasks sequentially
Task *develop <task-description> Direct task with optional path/file context
File/Path *work <path> Refactor, debug, or enhance specified code

Workflow Visualization

digraph CodeDeveloper {
  rankdir=TB;
  node [shape=box, style=filled, fillcolor=lightblue];

  start [label="START", fillcolor=lightgreen];
  determine_mode [label="Determine\ninvocation mode", shape=diamond];

  // Story mode
  read_story [label="Read story file"];
  identify_task [label="Identify next\nunchecked task"];

  // Task/File mode
  parse_request [label="Parse request\n(path/file/task)"];

  // Work type determination
  work_type [label="Work type?", shape=diamond];

  // Context discovery (conditional)
  needs_context [label="Debug or\nrefactor?", shape=diamond];
  context_discovery [label="Context Discovery\n(search related code,\ndeps, usages)", fillcolor=lightyellow];

  // Debug path
  use_debug [label="Use /root-cause"];

  // Refactor path
  use_refactor [label="Use /refactor"];

  // Implement path
  implement [label="Implement changes"];

  // Conditional testing
  tdd_needed [label="TDD specified\nor tests needed?", shape=diamond];
  use_tdd [label="Use /test-generate"];

  // Validation
  run_validations [label="Run validations\n(lint, build, tests)"];
  validations_pass [label="Pass?", shape=diamond];
  fix_issues [label="Fix issues\n(use /root-cause if needed)"];
  failure_count [label="3+ failures?", shape=diamond];

  // Security check
  security_check [label="Run /security", fillcolor=orange];
  security_pass [label="Pass?", shape=diamond];
  fix_security [label="Fix security issues"];
  security_attempts [label="3+ attempts?", shape=diamond];

  // Regression
  regression_check [label="Check regression impact\n(related tests/code)"];
  regression_pass [label="Pass?", shape=diamond];
  fix_regression [label="Fix regression"];
  regression_fixable [label="Fixable?", shape=diamond];

  // Review and complete
  code_review [label="Run /branch-review"];
  verification [label="Run the proof", fillcolor=orange];

  // Story-specific
  update_story [label="Update story\n(checkbox, changelog)"];
  more_tasks [label="More tasks?", shape=diamond];

  halt [label="HALT\nReport blocker", fillcolor=red];
  done [label="DONE", fillcolor=lightgreen];

  // Flow
  start -> determine_mode;
  determine_mode -> read_story [label="story"];
  determine_mode -> parse_request [label="task/file"];

  read_story -> identify_task;
  identify_task -> needs_context;
  parse_request -> needs_context;

  needs_context -> context_discovery [label="YES"];
  needs_context -> work_type [label="NO\n(simple impl)"];
  context_discovery -> work_type;

  work_type -> use_debug [label="debug"];
  work_type -> use_refactor [label="refactor"];
  work_type -> implement [label="implement"];

  use_debug -> implement;
  use_refactor -> implement;

  implement -> tdd_needed;
  tdd_needed -> use_tdd [label="YES"];
  tdd_needed -> run_validations [label="NO"];
  use_tdd -> run_validations;

  run_validations -> validations_pass;
  validations_pass -> fix_issues [label="FAIL"];
  validations_pass -> security_check [label="PASS"];
  fix_issues -> failure_count;
  failure_count -> halt [label="YES"];
  failure_count -> run_validations [label="NO"];

  security_check -> security_pass;
  security_pass -> fix_security [label="FAIL"];
  security_pass -> regression_check [label="PASS"];
  fix_security -> security_attempts;
  security_attempts -> halt [label="YES"];
  security_attempts -> security_check [label="NO"];

  regression_check -> regression_pass;
  regression_pass -> fix_regression [label="FAIL"];
  regression_pass -> code_review [label="PASS"];
  fix_regression -> regression_fixable;
  regression_fixable -> regression_check [label="YES"];
  regression_fixable -> halt [label="NO"];

  code_review -> verification;
  verification -> update_story [label="story mode"];
  verification -> done [label="task/file mode"];

  update_story -> more_tasks;
  more_tasks -> identify_task [label="YES"];
  more_tasks -> done [label="NO"];
}

Read the full file on GitHub · 192 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. 1mo ago Changed · -6 lines ab36b6b91941
  2. 1mo ago Changed 855ced2ac83a
  3. 1mo ago First seen · 198 lines · 13 tokens per session scan A 4f2c6223c6ff

Subscribe to this mod's changes

code-developer is an agent published in the GitHub repository hamr0/liteagents (25 stars, last pushed 2d ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,632 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.