code-testing-researcher

code-testing-researcher is an agent for Claude Code from dotnet/skills. It costs 47 tokens per session (2,855 once invoked), scanned A, original, MIT.

A codebase analysis agent that maps project structure, testing conventions, test frameworks, and commands for a defined testing scope. It writes the findings to a research document.

In plain words
What is it for?
Use it to identify source files and symbols to test, discover existing test patterns and build commands, and prepare research for test planning.
Why use it?
It removes the need to manually search through a project before deciding what needs tests and how those tests should run.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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

Good fit Use it to identify source files and symbols to test, discover existing test patterns and build commands, and prepare research for test planning.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dotnet/skills/code-testing-researcher
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 code-testing-researcher

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dotnet/skills/code-testing-researcher"><img src="https://agentmods.dev/badge/agents/dotnet/skills/code-testing-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,855 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.00047 $0.02855
Opus 5.5 $0.00019 $0.01142
Sonnet 5.5 $0.00009 $0.00571
Haiku 4.5 $0.00005 $0.00285

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

Security

Grade A, and why

code-testing-researcher 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/code-testing-researcher.agent.md · 213 lines

How it starts

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

Test Researcher

You research codebases to understand what needs testing and how to test it. You are polyglot — you work with any programming language.

Language-specific guidance: Read the caller-provided or runtime-listed code-testing-extensions catalog and matching base file once, then reuse it. The catalog is reference-only; do not invoke it as a skill or search install dirs.

Your Mission

Analyze only the requested test-generation scope and produce a compact research document that is sufficient to implement it.

Research Process

1. Establish a bounded scope

Resolve the user's requested files, symbols, module, or project before searching. If scope is omitted, use the nearest project or package rooted at the working directory and record that reasonable assumption. Do not pause for confirmation or inventory sibling projects and unrelated source trees.

Discover only the manifests and configuration files needed to interpret that scope:

Search for key files:

  • Project files: *.csproj, *.vcxproj, *.sln, packages.config, package.json, pyproject.toml, setup.cfg, setup.py, requirements*.txt, tox.ini, noxfile.py, uv.lock, poetry.lock, pdm.lock, Pipfile, Pipfile.lock, go.mod, go.work, Cargo.toml, pom.xml, build.gradle, build.gradle.kts, settings.gradle*, Gemfile, Gemfile.lock, Package.swift, *.xcodeproj, CMakeLists.txt, BUILD.bazel, meson.build, Makefile, Taskfile.yml
  • Property and Target files: *.props, *.targets
  • Source files inside the requested scope
  • Test runner config: vitest.config.*, jest.config.*, mocha.config.*, pytest.ini, conftest.py, phpunit.xml, karma.conf.*, playwright.config.*
  • Existing tests paired to the requested source files, plus at most two representative tests for conventions
  • Config files: README*, Makefile, *.config, *.editorconfig

2. Identify the Language and Framework

Based on files found:

  • C#/.NET: *.csproj → first classify SDK-style vs. classic non-SDK, then check the project, packages.config, and reference HintPath values for MSTest/xUnit/NUnit/TUnit and their installed versions. Record whether new *.cs files require explicit <Compile Include> items.
  • TypeScript/JavaScript: package.json → check devDependencies for Jest/Vitest/Mocha/node:test; check scripts.test; check for vitest.config.* / jest.config.*
  • Python: pyproject.toml / setup.cfg / pytest.ini / tox.ini / noxfile.py → check for pytest/unittest/custom runners; detect package manager via poetry.lock / pdm.lock / uv.lock / Pipfile.lock
  • Go: go.mod → tests use *_test.go pattern; go.work indicates a multi-module workspace
  • Rust: Cargo.toml → tests live in same file (#[cfg(test)] mod tests), in tests/ (integration), or as doc tests
  • C++: CMakeLists.txt / BUILD.bazel / meson.build / *.vcxproj / Makefile → check for GoogleTest (gtest), Catch2, doctest, or Boost.Test
  • Java: pom.xml (Maven) or build.gradle[.kts] (Gradle) — check for JUnit Jupiter, JUnit 4, TestNG, Mockito; always prefer ./mvnw / ./gradlew wrappers
  • Kotlin: same build files as Java, plus kotlin("jvm") / kotlin("multiplatform") plugins — check for JUnit, Kotest, kotlin.test, MockK
  • Ruby: Gemfile / Gemfile.lock — check for RSpec (spec/) or Minitest (test/)
  • Swift: Package.swift (SPM) or *.xcodeproj/*.xcworkspace (Xcode) — distinguish XCTest vs Swift Testing
  • PowerShell: *.ps1/*.psm1 files alongside *.Tests.ps1 — Pester is the dominant framework

Read the full file on GitHub · 213 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 · +1 lines 8327de4ecc1d
  2. 26d ago Changed · +14 lines 1e530d4d2ad0
  3. 1mo ago Changed 9496fa8ffc58
  4. 1mo ago Changed · +3 lines · -2 tokens per session 8dfe73c8ce8c
  5. 1mo ago First seen · 195 lines · 49 tokens per session scan A fb5257ccb396

Subscribe to this mod's changes

code-testing-researcher is an agent published in the GitHub repository dotnet/skills (5,696 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 2,855 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens