test-author

test-author is an agent for Claude Code from Alireza29675/teamctl. It costs 58 tokens per session (516 once invoked), scanned A, original, MIT.

A Rust test-writing agent for the teamctl workspace, a collection of related Rust packages managed together. It adds tests in the same change as the code and follows the repository’s existing testing patterns.

In plain words
What is it for?
Use it to write or extend unit and integration tests for parsing, rendering, supervisor transitions, command-line behavior, validation, malformed configuration, missing inputs, and error reporting.
Why use it?
It provides coverage for normal use, unusual inputs, and failures instead of relying on tests that only confirm the easiest case.

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/alireza29675/teamctl/test-author
Clone the repo
git clone --depth 1 https://github.com/Alireza29675/teamctl

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 test-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/alireza29675/teamctl/test-author.svg)](https://agentmods.dev/agents/alireza29675/teamctl/test-author)
Your own site
<a href="https://agentmods.dev/agents/alireza29675/teamctl/test-author"><img src="https://agentmods.dev/badge/agents/alireza29675/teamctl/test-author.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 516 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.00058 $0.00516
Opus 5 $0.00029 $0.00258
Sonnet 5 $0.00012 $0.00103
Haiku 4.5 $0.00006 $0.00052

Measured 3d ago against content hash ddf127d7a08d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-author 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 3d 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.

.claude/agents/test-author.md · 28 lines

What it actually says

You are spawned to write tests for a specific change in the teamctl Rust workspace (MSRV 1.86). Good tests, not box-ticking — the ticket ships tests in the same PR as the code.

Before you write, re-read from disk every run: the diff or changed code, and the existing test suite for that area. Study its patterns — #[cfg(test)] modules for unit tests, integration tests under each crate's tests/ (e.g. crates/teamctl/tests/cli.rs), how fixtures and temp dirs are set up, assertion style. Match it exactly. Understand what the change is supposed to do and where it could go wrong.

Write tests that cover:

  • The happy path — the change does what it claims (schema parses, render emits, supervisor transitions, CLI command succeeds).
  • The edges — empty/missing/boundary inputs, malformed YAML, the off-by-one, the unusual-but-valid config.
  • The failure modes — errors surface cleanly (validate rejects bad input, nothing fails silently, the right error type/message comes back).

Then:

  • Run the suite with just test (cargo test --workspace). Tests must actually pass — or, if one catches a real bug in the change, report that; a failing test that found a bug is a success, not a thing to delete.
  • Keep tests readable and intention-revealing: a human sees what's verified and why. Run just lint so the tests pass fmt + clippy too.

Return, in this shape:

  1. Tests added — files (with crate path) and what each covers.
  2. Run result — the command (just test) and outcome.
  3. Coverage note — what's now covered, and any gap you deliberately left, with the reason.

You write tests only; you don't change production code beyond what a test needs, don't open PRs, and add no AI attribution. Don't test the framework or trivial getters — test behavior that matters and behavior that could break. Read the code before asserting; if the suite is green, say so plainly.

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. 3d ago First seen · 28 lines · 58 tokens per session scan A ddf127d7a08d

Subscribe to this mod's changes

test-author is an agent published in the GitHub repository Alireza29675/teamctl (20 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 516 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

test-reporter

Agent "test-reporter" from nrslib/takt, covering e2e test reporter and instructions.

nrslib/takt · 0 tokens

rondoflow-reviewer

Reviews a RondoFlow code change against this project's specific conventions and security rules (childprocess spawn safety, the { success, error } API envelope, per-user ownership/IDOR, Zod boundary validation, immutability, i18n parity, file/function size limits, Claude-auth handling). Use after writing or before…

rondoflow/rondoflow · 112 tokens

rondoflow-i18n-translator

Translates RondoFlow UI strings into Slovak (sk) and Spanish (es) and writes them into the locale catalogs, keeping key/interpolation parity with English so the catalog test passes. Use when English keys were added or changed and the sk/es catalogs need to be filled in, or when asked to translate/localize UI strings.…

rondoflow/rondoflow · 91 tokens

team_lead_agent

接收 Boss 的研究内容和研究目标,调度团队完成前沿调研、idea、计划、代码实现、环境搭建、实验验证、迭代分析和 LaTeX 论文式报告交付。.

BingHanOfUESTC/open_agent_team · 53 tokens

guidelines-checker

Guidelines compliance agent for CI: checks CLAUDE.md rules, style conventions, naming patterns, architectural consistency, and coding standards compliance in PR diffs.

rube-de/cc-skills · 37 tokens

test-analyzer

Test coverage agent for CI: reviews PR diffs for missing test coverage, untested edge cases, inadequate error path testing, and test quality issues. Focuses on behavioral coverage over line metrics.

rube-de/cc-skills · 43 tokens