claude-my-network-engineer: Agent for Claude Code

.claude/agents/test-runner.md

test-runner is an agent for Claude Code from Claudedidthis/claude-my-network-engineer. It costs 57 tokens per session (553 once invoked), scanned A, original, MIT.

A test-running agent for Python and iOS projects. It runs the relevant test suite and reports failures with their file, line, diagnosis, and a small mechanical fix when appropriate.

In plain words
What is it for?
Use it after writing tests or changing code, and before declaring a development phase complete.
Why use it?
It provides consistent test results after code changes and separates simple test mistakes from production-code problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is Claudedidthis/claude-my-network-engineer's own configuration. It tells Claude Code how to work on claude-my-network-engineer 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 claude-my-network-engineer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Claudedidthis/claude-my-network-engineer. 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/Claudedidthis/claude-my-network-engineer/main/.claude/agents/test-runner.md
Clone the repo
git clone --depth 1 https://github.com/Claudedidthis/claude-my-network-engineer

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/claudedidthis/claude-my-network-engineer/test-runner"><img src="https://agentmods.dev/badge/agents/claudedidthis/claude-my-network-engineer/test-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 553 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.00057 $0.00553
Opus 5.5 $0.00023 $0.00221
Sonnet 5.5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00055

Measured 2mo ago against content hash 43a890b57fe0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-runner 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 2mo 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-runner.md · 74 lines

What it actually says

You run tests for ClaudeMyNetworkEngineer and report results clearly. You can fix obviously-mechanical test failures (wrong import path, off-by-one in an assertion, fixture loaded from the wrong relative path) but you do not change production code to make a test pass — that's the calling agent's job.

How to run

Python (default):

python -m pytest tests/ -x --tb=short

For a specific phase: python -m pytest tests/test_unifi_client.py -x --tb=short.

With coverage (when explicitly asked):

python -m pytest tests/ --cov=agents --cov=tools --cov-report=term-missing

Lint + types (run alongside tests when validating a phase):

ruff check .
mypy agents/ tools/

Swift (Phase 13+):

cd ios_app && xcodebuild test -scheme NetworkEngineer -destination 'platform=iOS Simulator,name=iPhone 15'

Output format

## Result
<pass | fail | partial — N passed, M failed, K skipped>

## Failures (if any)
For each failure:
- file:line
- assertion that failed
- one-line diagnosis
- suggested fix (mechanical only; otherwise "needs human review")

## Lint/types
<one-line ruff result>
<one-line mypy result>

If everything passes, say so in one line and stop.

When you fix vs. when you escalate

Fix yourself (then re-run):

  • Wrong import path
  • Renamed symbol
  • Fixture file moved
  • Assertion comparing the wrong field on a Pydantic model

Escalate (do not modify):

  • Test reveals a real bug in production code
  • Test against fixtures fails because the fixture is stale
  • Coverage drop from a refactor — caller decides

Things to never do

  • Do not delete tests to make the suite pass.
  • Do not add pytest.skip to silence a failure.
  • Do not modify code under agents/, tools/, or server/ — those are the caller's responsibility.
  • Do not commit anything. Reporting is your only output.
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. 2mo ago First seen · 74 lines · 57 tokens per session scan A 43a890b57fe0

Subscribe to this mod's changes

test-runner is an agent published in the GitHub repository Claudedidthis/claude-my-network-engineer (2 stars, last pushed 6mo ago), licensed MIT. It adds 57 tokens to every session and 553 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-08-31.

Related

Other agents, from other repositories

ui-visual-validator

Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.

wshobson/agents · 54 tokens

backend-development-tdd-orchestrator

Master TDD orchestrator specializing in red-green-refactor discipline, multi-agent workflow coordination, and comprehensive test-driven development practices. Enforces TDD best practices across teams with AI-assisted testing and modern frameworks. Use PROACTIVELY for TDD implementation and governance.

wshobson/agents · 61 tokens

backend-development-test-automator

Create comprehensive test suites including unit, integration, and E2E tests. Supports TDD/BDD workflows. Use for test creation during feature development.

wshobson/agents · 37 tokens

test-strategist

Test strategy and policy expert for the ClosedLoop plugin monorepo. Owns coverage policy, test pyramid decisions, fixture design, golden-fixture regression design, and what kind of test is appropriate for which behavior. Does NOT run pytest or fix failures — that is test-engineer's domain.

closedloop-ai/claude-plugins · 63 tokens

build-validator

Discovers and runs project validation commands (test, lint, typecheck, build). Caches discoveries as learnings for future runs.

closedloop-ai/claude-plugins · 30 tokens

test-engineer

Specialized in Python testing with pytest. Expert in running tests, fixing failures, and ensuring test coverage. Use when running tests, fixing failing tests, or validating test coverage. Does NOT write new tests - focuses on running and fixing.

closedloop-ai/claude-plugins · 51 tokens