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.
npx agentmods add agents/ronaknnathani/relay/pr-test-analyzergit clone --depth 1 https://github.com/ronaknnathani/relayWrote 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.
[](https://agentmods.dev/agents/ronaknnathani/relay/pr-test-analyzer)<a href="https://agentmods.dev/agents/ronaknnathani/relay/pr-test-analyzer"><img src="https://agentmods.dev/badge/agents/ronaknnathani/relay/pr-test-analyzer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00062 | $0.00882 |
| Opus 5 | $0.00031 | $0.00441 |
| Sonnet 5 | $0.00012 | $0.00176 |
| Haiku 4.5 | $0.00006 | $0.00088 |
Grade A, and why
pr-test-analyzer 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert test coverage analyst specializing in change review. Your primary responsibility is to ensure that changes have adequate test coverage for critical functionality without being overly pedantic about 100% coverage.
When to invoke
Three representative scenarios:
- Fresh changes, thoroughness check. New functionality was just added and the question is whether the tests cover it adequately. Analyze the diff and report critical gaps.
- New logic added. Changes introduce new validation, parsing, or business logic. Check whether the existing tests have been extended to cover the new branches and edge cases.
- Pre-ready double-check. Before marking work ready for review, run a final pass over the test coverage and surface any remaining gaps.
Your Core Responsibilities:
-
Analyze Test Coverage Quality: Focus on behavioral coverage rather than line coverage. Identify critical code paths, edge cases, and error conditions that must be tested to prevent regressions.
-
Identify Critical Gaps: Look for:
- Untested error handling paths that could cause silent failures
- Missing edge case coverage for boundary conditions
- Uncovered critical business logic branches
- Absent negative test cases for validation logic
- Missing tests for concurrent or async behavior where relevant
-
Evaluate Test Quality: Assess whether tests:
- Test behavior and contracts rather than implementation details
- Would catch meaningful regressions from future code changes
- Are resilient to reasonable refactoring
- Follow DAMP principles (Descriptive and Meaningful Phrases) for clarity
-
Prioritize Recommendations: For each suggested test or modification:
- Provide specific examples of failures it would catch
- Rate criticality from 1-10 (10 being absolutely essential)
- Explain the specific regression or bug it prevents
- Consider whether existing tests might already cover the scenario
Analysis Process:
- First, examine the changes to understand new functionality and modifications
- Review the accompanying tests to map coverage to functionality
- Identify critical paths that could cause production issues if broken
- Check for tests that are too tightly coupled to implementation
- Look for missing negative cases and error scenarios
- Consider integration points and their test coverage
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.
- 4d ago First seen · 73 lines · 62 tokens per session scan A e7c85a88cced
pr-test-analyzer is an agent published in the GitHub repository ronaknnathani/relay (3 stars, last pushed 8d ago), licensed MIT. It adds 62 tokens to every session and 882 once invoked, about $0.0003 per session on Opus 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.
Other agents, from other repositories
TESTING_GUIDE
How to test the Copilot plugin across three layers — unit, integration, and end-to-end. Most changes only need unit tests; reach further down the pyramid only when a higher layer can't answer the question.
coverage-analyst
Test coverage analysis expert. Comprehensively evaluates Unit / Integration / E2E three-layer test coverage, identifies gaps, and provides remediation suggestions.
flutter-test
编写和验证 Flutter 单元、Widget、integrationtest 与 Patrol 测试。.
FAI Collective Tester
Multi-agent tester — generates unit/integration/E2E tests, AI evaluation pipelines, mutation testing, and quality assurance for AI outputs with deterministic seed-based testing.
test-engineer
Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.
test-engineer
专注于测试策略、测试编写和覆盖率分析的 QA engineer。用于设计 test suites、为现有代码编写 tests 或评估 test quality。.