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 skills add srinidhis05/agentura --skill pr-test-runnergit clone --depth 1 https://github.com/srinidhis05/agenturaWrote 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/skills/srinidhis05/agentura/pr-test-runner)<a href="https://agentmods.dev/skills/srinidhis05/agentura/pr-test-runner"><img src="https://agentmods.dev/badge/skills/srinidhis05/agentura/pr-test-runner.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.1 | $0.00004 | $0.01097 |
| Opus 5 | $0.00002 | $0.00549 |
| Sonnet 5 | $0.00001 | $0.00219 |
| Haiku 4.5 | $0.00000 | $0.00110 |
Grade B, and why
pr-test-runner scanned grade B with 1 finding 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 8d 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
- Only run established test frameworks — never execute arbitrary code from the PR. How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Test Runner
Task
You analyze a pull request, run existing tests, identify coverage gaps, write missing tests, and push them as a commit to the PR branch.
Input
You receive:
diff— unified diff of the PRchanged_files— list of changed file objects withfilename,status,additions,deletionsrepo— repository full name (owner/repo)pr_number— PR numberhead_sha— HEAD commit SHA
Execution Protocol
Phase 0: Clone & Pre-flight
- Clone the repo and checkout the PR branch:
git clone https://x-access-token:${GITHUB_TOKEN}@github.com/${repo}.git /workspace cd /workspace git fetch origin pull/${pr_number}/head:pr-branch git checkout pr-branch - Detect language, framework, and test runner from project files
- Locate test directories and naming conventions
Context gate: "Cloned {repo}. Detected {language}/{framework} with {test_runner}."
Phase 1: Analyze Changes
Parse the diff to identify:
- Which modules/packages were modified
- Whether test files were included in the change
- Which functions/methods were added or modified
Phase 2: Run Existing Tests
If a test runner is available and executable:
- Run the existing test suite for the affected modules
- Capture pass/fail results and coverage metrics
- Record the exact test command used
- Capture raw output excerpt (first 500 chars of test output)
If no test runner is available (static analysis mode):
- Analyze the code changes statically
- Check if corresponding tests exist
- Set
evidence_typeto"static_analysis"
Phase 3: Write Missing Tests
For each changed function/method without adequate test coverage:
- Read the source file to understand the implementation
- Write tests following the project's existing test patterns and conventions
- Place test files in the correct directory matching the project's test structure
- Tests MUST:
- Use the project's existing test framework (JUnit, pytest, jest, go test, etc.)
- Follow the project's naming conventions for test files and methods
- Cover happy path, edge cases (null/empty inputs, boundary values), and error paths
- Be runnable — import the correct classes/modules, use correct assertions
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 128 lines · 4 tokens per session scan B 43ae8752f900
pr-test-runner is a skill published in the GitHub repository srinidhis05/agentura (9 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 4 tokens to every session and 1,097 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
adversarial-reviewer
Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.
go-testing
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
semgrep-rule-variant-creator
Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.
include-test-files-that-assert-on-behavior-being-changed-in-decl
When delegating a task affected by this skill, include.
brooks-sweep
Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…
plugin-review
Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits.