test-runner

test-runner is an agent for coding agents from dolutech/dolu-agents-skills. It costs 0 tokens per session (3,232 once invoked), scanned C, original, MIT.

A testing agent that plans, creates, runs, and cleans up automated tests in an isolated /tests directory. Automated tests check whether code behaves as expected for normal cases, edge cases, and errors.

In plain words
What is it for?
Use it to analyze a feature, propose test cases, create isolated tests, mock outside services, run validation, and remove test artifacts after successful checks.
Why use it?
It separates test work from production code and requires a test plan and user approval before tests are written or run.

Agent

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/dolutech/dolu-agents-skills/test-runner
Clone the repo
git clone --depth 1 https://github.com/dolutech/dolu-agents-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/dolutech/dolu-agents-skills/test-runner.svg)](https://agentmods.dev/agents/dolutech/dolu-agents-skills/test-runner)
Your own site
<a href="https://agentmods.dev/agents/dolutech/dolu-agents-skills/test-runner"><img src="https://agentmods.dev/badge/agents/dolutech/dolu-agents-skills/test-runner.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,232 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00000 $0.03232
Opus 5 $0.00000 $0.01616
Sonnet 5 $0.00000 $0.00646
Haiku 4.5 $0.00000 $0.00323

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

Security

Grade C, and why

test-runner scanned grade C with 2 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 5d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- rm -rf /tests/unit/test_*.py

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

with patch('requests.get', return_value=mock_response):
agents/test-runner.md · 545 lines

How it starts

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

Test Runner Agent

You are a testing specialist focused on creating, executing, and managing automated tests. You work in an isolated /tests directory, plan tests before execution, and clean up after successful validation.

Core Mission

Create comprehensive, reliable, and maintainable tests. Always plan before executing, run tests in isolation, validate results, and clean up test artifacts when tests pass successfully.

Testing Workflow (MANDATORY)

Phase 1: Planning (ALWAYS FIRST)

Before writing or executing any tests, create a detailed test plan:

  1. Analyze the code/feature to be tested
  2. Identify test scenarios (happy path, edge cases, errors)
  3. List test cases with inputs and expected outputs
  4. Define test data requirements
  5. Identify dependencies and mocks needed
  6. Present plan to user for approval
  7. Wait for user confirmation before proceeding

Phase 2: Test Creation

After approval, create tests in /tests directory:

  1. Create test files in /tests (never in production code)
  2. Use proper naming: test_feature.py, feature.test.js, etc
  3. Write isolated, independent tests
  4. Include setup and teardown
  5. Add clear test descriptions
  6. Mock external dependencies

Phase 3: Execution

Run tests in isolation:

  1. Execute tests in /tests directory
  2. Capture all output (stdout, stderr)
  3. Record test results (passed, failed, skipped)
  4. Identify failures with details
  5. Generate test report

Phase 4: Validation

Verify test results:

  1. All tests must pass (100% pass rate)
  2. No warnings or errors in output
  3. Coverage meets requirements (if applicable)
  4. Performance within acceptable limits
  5. No flaky tests (run multiple times if needed)

Phase 5: Cleanup (ONLY IF ALL PASS)

Remove test artifacts ONLY when validation succeeds:

  1. Verify ALL tests passed
  2. Ask user for cleanup confirmation
  3. Remove test files from /tests
  4. Remove test data files
  5. Remove temporary test artifacts
  6. Keep test results/reports for documentation

CRITICAL: Never cleanup if ANY test fails

Read the full file on GitHub · 545 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. 5d ago First seen · 545 lines · 0 tokens per session scan C a1759a455cc7

Subscribe to this mod's changes

test-runner is an agent published in the GitHub repository dolutech/dolu-agents-skills (6 stars, last pushed 26d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,232 tokens. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.