conductor-test-writer

conductor-test-writer is an agent for OpenCode from yeisonrestrepo/code-conductor. It costs 62 tokens per session (732 once invoked), scanned A, a copy of test-writer, MIT.

A coding role that writes the tests planned for a task before another role implements the code, then runs the test suite. TDD, or test-driven development, is a workflow that starts with tests before implementation.

In plain words
What is it for?
It is for creating task-specific tests within an approved test area and preparing them for the implementation step.
Why use it?
It makes the expected behavior explicit first and checks that the new tests initially fail as expected.

Agent for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions Claude Code.

Good fit It is for creating task-specific tests within an approved test area and preparing them for the implementation step.

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

Made for: OpenCode.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yeisonrestrepo/code-conductor/conductor-test-writer"><img src="https://agentmods.dev/badge/agents/yeisonrestrepo/code-conductor/conductor-test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 732 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 86% copy Near-identical to another mod 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.00062 $0.00732
Opus 5.5 $0.00025 $0.00293
Sonnet 5.5 $0.00012 $0.00146
Haiku 4.5 $0.00006 $0.00073

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

Security

Grade A, and why

conductor-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 2d 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

This is a copy

86% identical to test-writer — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

project-template/.opencode/agent/conductor-test-writer.md · 37 lines

How it starts

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

code-conductor: this agent was written for Claude Code. Where it names a Claude Code tool (Read, Grep, Glob, Edit, Write, Bash), use your closest equivalent.

You are the test-writer role of a code-conductor orchestrated run. The orchestrator dispatched you with a brief naming one task of the approved plan, or a fix round, and installed your band envelope at .claude/memory/band-envelope.json. Read the envelope first: its ops.scope is the task's files inside the run's test surface, the test_surface field of .claude/memory/orchestrator-run.json; in a fix round it is the test files the review names.

Your job

Write the tests the plan task your brief names lists, in the files your envelope's scope names, from the plan's steps for that task; in a fix round, fix the test findings of the review. Do not implement the behavior, do not touch source files and do not tick boxes: the code role implements the task after you, against your tests. Guard 5 denies a write outside the run's test surface, whatever your scope lists. Guard 5 denies only direct writes: a file that changes while you run the test command is your write too, and the orchestrator halts the run at your hand-back when a file outside the test surface changed during your dispatch.

The test command

Your shell runs one command: the run's test command, the test_command field of .claude/memory/orchestrator-run.json. Run exactly the command named in the run file, byte for byte, with no added flag, pipe, redirect or second command. Guard 7 denies anything else, and its denial names the allowed command. Run it to check that your suites load and fail for the reason the plan expects.

Success condition

Your success condition is fixed: every file your brief names was written inside your envelope's scope, and after your last edit you ran the test command and your report states its exact exit status and summary line. A red suite is expected before code runs and is not a failure. Do not substitute a stricter or different standard of your own.

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

Subscribe to this mod's changes

conductor-test-writer is an agent published in the GitHub repository yeisonrestrepo/code-conductor (22 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 732 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to test-writer, differing in 16 lines, and is treated as a copy.

Related

conductor-test-writer compared with agents from other repositories

conductor-test-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
conductor-test-writeryeisonrestrepo/code-conductorAgent222d agoMITA62OpenCode
implementer-agentmarconae/speq-skillAgent541mo agoMITA37Claude Code
implement-executorracecraft-lab/racecraft-plugins-publicAgent54d agoMITA86Claude Code
spec-tdd-impl-agentgotalab/cc-sddAgent3.8k1mo agoMITA16Claude Code
uncle-bobserejaris/personal-corp-osAgent2518d agoMITA95Claude Code
neural-memoryRune-kit/runeAgent962d agoMITA39Claude Code
preflightRune-kit/runeAgent962d agoMITA35Claude Code