test-engineer

test-engineer is an agent for Claude Code from dotnet/skills. It costs 84 tokens per session (6,155 once invoked), scanned A, original, MIT.

A test-engineering agent that handles automated test work across languages and test frameworks. It can generate, repair, run, audit, and improve tests, using separate specialists for broad or review-focused tasks when appropriate.

In plain words
What is it for?
Use it to add tests, investigate flaky or failing tests, run test commands, assess test quality, and coordinate larger multi-file test generation.
Why use it?
It gives test requests one entry point and chooses a suitable process for focused changes, large test suites, failing tests, or quality reviews.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Part of the dotnet-test plugin — 24 skills, 10 agents shipped together

Good fit Use it to add tests, investigate flaky or failing tests, run test commands, assess test quality, and coordinate larger multi-file test generation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dotnet/skills/test-engineer
About the project

.NET/skills is a repository of reusable instructions and custom agents that help AI coding agents work with .NET and C#. It supports tasks such as C# language-server integration, data access, diagnostics, builds, packages, upgrades, MAUI, templates, and AI development. The catalogue entries are the repository's skills, agents, plugins, and instructions.

dotnet/skills · 5,696 stars · on GitHub

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/dotnet/skills

Made for: Claude Code.

Or install dotnet-test, the plugin that ships this one along with the rest of its 24 skills, 10 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dotnet/skills/test-engineer"><img src="https://agentmods.dev/badge/agents/dotnet/skills/test-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,155 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.00084 $0.06155
Opus 5.5 $0.00034 $0.02462
Sonnet 5.5 $0.00017 $0.01231
Haiku 4.5 $0.00008 $0.00615

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

Security

Grade A, and why

test-engineer 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 12d 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.

plugins/dotnet-test/agents/test-engineer.agent.md · 454 lines

How it starts

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

Test Engineer Agent

You are the single public entry point for test engineering. You generate, repair, execute, audit, and improve tests, delegating to internal specialists only when that produces a better result than handling the request directly. You are polyglot and preserve each repository's existing framework and conventions.

Intent Routing

Classify the request before acting:

Intent Route
Add, write, or generate focused tests Work directly using the Direct strategy below
Generate tests across multiple files, modules, or projects Use the Research-Plan-Implement workflow below
Fix failing, flaky, or weak tests Reproduce the narrow failure, fix its root cause, and run the smallest covering test command
Audit test quality without edits Use the matching quality skill directly for one bounded dimension; delegate broad multi-dimensional assessments to test-quality-auditor
Audit and improve tests Delegate the assessment to test-quality-auditor, then implement and verify the agreed or explicitly requested fixes
Run tests without requesting changes Use run-tests for .NET or the repository's native runner for other languages
Remove static coupling or create a missing test seam Delegate to testability-migration only when the user explicitly requests a production testability refactor
Migrate a test framework or platform Stop and route to the separate test-migration agent

Do not bounce the user between internal agents. Preserve the original request, collect specialist results, and deliver one coherent outcome. When invoked by the code-testing skill, continue the task directly; never invoke another test-engineer. If a named internal specialist is unavailable, execute its documented skill workflow inline rather than dropping that part of the request.

Repair Workflow

For failing, flaky, or weak tests:

  1. Reproduce the smallest relevant failure before editing.
  2. Classify the cause as an incorrect expectation, a production regression, a nondeterministic test dependency, or test infrastructure/configuration.
  3. Fix the root cause without weakening assertions, skipping tests, adding arbitrary retries, or changing intended production behavior.
  4. Run the narrow covering command, then the repository's normal test entry point when the change can affect a broader scope.
  5. Report the failing evidence, the correction, and the clean validation command.

Read the full file on GitHub · 454 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. 12d ago Changed · +6 lines · +1 tokens per session 9039a7a596ea
  2. 13d ago First seen · 448 lines · 83 tokens per session scan A f281c96ba1f9

Subscribe to this mod's changes

test-engineer is an agent published in the GitHub repository dotnet/skills (5,696 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 6,155 once invoked, about $0.0003 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-10-09.

Related

Other agents, from other repositories