earnings-edge: Agent for Claude Code

.claude/agents/test-writer.md

test-writer is an agent for Claude Code from suhaas/earnings-edge. It costs 15 tokens per session (112 once invoked), scanned A, original, no licence file.

An AI agent that creates starter unit and integration tests for Python code. Unit tests check small pieces of code, while integration tests check how pieces work together.

In plain words
What is it for?
Use it to generate unit-test and integration-test stubs for Python projects.
Why use it?
It gives you initial test files to build on, reducing the effort of writing basic test scaffolding by hand.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is suhaas/earnings-edge's own configuration. It tells Claude Code how to work on earnings-edge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything earnings-edge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to suhaas/earnings-edge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/suhaas/earnings-edge/main/.claude/agents/test-writer.md
Clone the repo
git clone --depth 1 https://github.com/suhaas/earnings-edge

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/suhaas/earnings-edge/test-writer/github.svg)](https://agentmods.dev/agents/suhaas/earnings-edge/test-writer)
Your own site
<a href="https://agentmods.dev/agents/suhaas/earnings-edge/test-writer"><img src="https://agentmods.dev/badge/agents/suhaas/earnings-edge/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/suhaas/earnings-edge/test-writer"><img src="https://agentmods.dev/badge/agents/suhaas/earnings-edge/test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 112 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.00015 $0.00112
Opus 5.5 $0.00006 $0.00045
Sonnet 5.5 $0.00003 $0.00022
Haiku 4.5 $0.00002 $0.00011

Measured 1mo ago against content hash 22738f730680, 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.

.claude/agents/test-writer.md · 19 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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 · 19 lines · 15 tokens per session scan A 22738f730680

Subscribe to this mod's changes

test-writer is an agent published in the GitHub repository suhaas/earnings-edge (10 stars, last pushed 29d ago), with no licence file. It adds 15 tokens to every session and 112 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-31.

Related

Other agents, from other repositories

tester

Test writing (unit, integration, e2e). Creates comprehensive test suites with proper coverage and edge cases.

AgentWorkforce/relay · 24 tokens

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

rn-pr-qa

Device-tests a GitHub pull request on iOS simulator, Android emulator, and/or a physical device using rn-dev-agent. Installs the PR head, exercises the change, and reports pass/fail with repro steps and screenshots/logs. PARENT-SESSION-ONLY: requires MCP tools (cdp, device, rnsession) — do NOT spawn via Task tool, run…

Lykhoyda/rn-dev-agent · 299 tokens

tdmcp-coverage-lead

Orchestrates tdmcp test-coverage improvement waves. Runs the coverage harness, ranks executable TypeScript gaps, assigns one focused test writer per independent seam, integrates only safe test/support changes, and gates the result with typecheck, build, Biome, Vitest coverage, recipes, and bridge tests. Use for…

hybridlabor-api/bdb-dev-optimized-agent-skills · 92 tokens

td-trend-scout

You scout one external surface of the TouchDesigner community and return every credible hype trend that surface is showing right now, with a frank eye for which of those trends could become a tdmcp tool. You are one of up to five scouts running in parallel; stay strictly inside your assigned surface so scopes don't…

hybridlabor-api/bdb-dev-optimized-agent-skills · 130 tokens

td-builder

You implement a single tdmcp feature from a td-architect spec. Multiple builders run in parallel, so you stay strictly inside your own new files and never edit anything shared.

hybridlabor-api/bdb-dev-optimized-agent-skills · 66 tokens