test-writer

test-writer is an agent for Claude Code from AnExiledDev/CodeForge. It costs 130 tokens per session (4,026 once invoked), scanned A, original, no licence file.

An automated test-writing specialist that examines existing code, identifies the project’s test framework and conventions, and creates tests.

In plain words
What is it for?
Use it to add unit or integration tests, write tests for existing code, and increase test coverage.
Why use it?
It reduces the work of designing a test suite and checks that the tests it writes pass.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter.

Part of the agent-system plugin — 1 skill, 19 agents, 3 hooks shipped together

Good fit Use it to add unit or integration tests, write tests for existing code, and increase test coverage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/anexileddev/codeforge/test-writer
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/AnExiledDev/CodeForge

Made for: Claude Code.

Or install agent-system, the plugin that ships this one along with the rest of its 1 skill, 19 agents, 3 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 test-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/anexileddev/codeforge/test-writer"><img src="https://agentmods.dev/badge/agents/anexileddev/codeforge/test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,026 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 unknown 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.00130 $0.04026
Opus 5.5 $0.00052 $0.01610
Sonnet 5.5 $0.00026 $0.00805
Haiku 4.5 $0.00013 $0.00403

Measured 1mo ago against content hash 2396012e45ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-writer 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.

container/.devcontainer/plugins/devs-marketplace/plugins/agent-system/agents/test-writer.md · 362 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 First seen · 362 lines · 130 tokens per session scan A 2396012e45ce

Subscribe to this mod's changes

test-writer is an agent published in the GitHub repository AnExiledDev/CodeForge (10 stars, last pushed 2mo ago), with no licence file. It adds 130 tokens to every session and 4,026 once invoked, about $0.0005 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-31.

Related

Other agents, from other repositories

e2e-test-specialist

Playwright, Cypress, and visual regression testing specialist. Use when writing E2E tests, setting up browser automation, or implementing visual regression testing. Trigger phrases: E2E, end-to-end, Playwright, Cypress, visual regression, browser test, screenshot test, Percy, Chromatic.

travisjneuman/.claude · 67 tokens

refactoring-specialist

Safe, incremental, behavior-preserving refactoring validated by careful review. Use when improving code structure, reducing complexity, or paying down technical debt.

travisjneuman/.claude · 34 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

reviewer

Owns an MCP Task Orchestrator work item's review phase — independently verifies the implementation against its plan and fills the review-phase notes its resolved schema requires.

jpicklyk/task-orchestrator · 34 tokens

test-author

Writes tests for a work item independently of its implementation — blind to production source by capability boundary, not by request.

jpicklyk/task-orchestrator · 26 tokens

investigator

Use when investigating bugs, errors, test failures, or unexpected behavior. Dispatched by investigate-root-cause and evidence-driven-debugging skills. Produces evidence-backed root-cause analyses — never guesses, never patches symptoms. Context: An API endpoint is returning intermittent 500s. user: "The /api/users…

duthaho/claudekit · 155 tokens