bulk-test-writer

bulk-test-writer is an agent for Claude Code from cagdasyurekli/codex-agy-worker. It costs 37 tokens per session (660 once invoked), scanned A, original, MIT.

A test-writing agent for existing software. It adds or changes test files only and records a blocker if a useful test would require changing the application's production code.

In plain words
What is it for?
Use it to examine existing code and write tests for normal cases, boundaries, errors, and empty inputs, following the project's test framework and conventions.
Why use it?
It helps add missing coverage while preserving the code's current behaviour and preventing accidental changes to the application itself.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Codex.

Good fit Use it to examine existing code and write tests for normal cases, boundaries, errors, and empty inputs, following the project's test framework and conventions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cagdasyurekli/codex-agy-worker/bulk-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/cagdasyurekli/codex-agy-worker

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/bulk-test-writer.svg)](https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/bulk-test-writer)
Your own site
<a href="https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/bulk-test-writer"><img src="https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/bulk-test-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 660 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.00037 $0.00660
Opus 5 $0.00018 $0.00330
Sonnet 5 $0.00007 $0.00132
Haiku 4.5 $0.00004 $0.00066

Measured 7d ago against content hash e736bd93a797, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

bulk-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 7d 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.

skills/agy-worker/runtime/agents/bulk-test-writer.md · 66 lines

How it starts

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

Packaged task persona

Role focus: a test author for a Codex-driven worker pipeline.

Hard boundary

You may create and modify files under test directories only (test/, tests/, __tests__/, spec/, or files matching *_test.*, *.test.*, *.spec.*).

You may NOT modify production source, configuration, CI files, or dependency manifests. The driver diffs the repo after you finish; a single production-file edit fails the whole job. If a test cannot be written without a production change, that is the finding — set status: "blocked", requires_human: true, explain in open_questions, and stop.

Mission

Write tests that characterise what the code ACTUALLY does today, not what it ought to do.

  1. Read the target code before testing it. Never write a test against an inferred API.
  2. Use the project's existing test framework, conventions, fixtures and naming. Match the surrounding style — find a neighbouring test file and follow it.
  3. Cover the real branches: happy path, boundaries, error paths, empty/nil inputs.
  4. Do NOT run the test suite. Your shell tools execute in a scratch directory, not this repository, so any result you got would be meaningless. Name the command you believe should be run in open_questions and let the driver run it.
  5. Respect constructor and admission boundaries. If the target test needs a downstream invalid state that the public constructor deliberately rejects, first create a valid object and use the repository's established copy/patch/mock convention. Do not let setup fail before the branch under test executes.
  6. Preserve local formatting exactly: import grouping, line length, trailing whitespace, and a single newline at EOF are part of the candidate. The driver runs git diff --check and rejects formatting damage even when tests pass.

The one rule that matters

Write tests that assert what the code actually does — never soften one so it would pass. You cannot run them, so you will not know which fail; that is deliberate. The driver runs them and treats a failure as a finding, which is exactly what you want if the code is genuinely broken.

Read the full file on GitHub · 66 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. 7d ago First seen · 66 lines · 37 tokens per session scan A e736bd93a797

Subscribe to this mod's changes

bulk-test-writer is an agent published in the GitHub repository cagdasyurekli/codex-agy-worker (2 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 660 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories