test-runner-discovery

test-runner-discovery is a skill for Codex from Eliyce/paqad-ai. It costs 55 tokens per session (1,007 once invoked), scanned A, original, MIT.

A project-inspection tool that identifies how the existing test runner can run tests in parallel when automatic detection cannot decide. It records the decision as validated JSON and never installs missing prerequisites.

In plain words
What is it for?
Use it after checks report that parallel testing is unknown, so later checks can use the recorded runner decision.
Why use it?
It removes guesswork about parallel test commands and prevents unsupported flags or unverified setup from being used. A test runner is the program that executes a project's tests.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it after checks report that parallel testing is unknown, so later checks can use the recorded runner decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/test-runner-discovery
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.

Any agent
npx skills add Eliyce/paqad-ai --skill test-runner-discovery
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

Made for: Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/test-runner-discovery/github.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/test-runner-discovery)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/test-runner-discovery"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/test-runner-discovery/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-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/test-runner-discovery"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/test-runner-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,007 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.00055 $0.01007
Opus 5 $0.00028 $0.00504
Sonnet 5 $0.00011 $0.00201
Haiku 4.5 $0.00006 $0.00101

Measured today against content hash 918a964beabc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

test-runner-discovery 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 today.

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.

runtime/base/skills/test-runner-discovery/SKILL.md · 92 lines

How it starts

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

What It Does

Decides how the project's own test runner parallelizes when paqad's script detection could not (checks plan printed test: sequential (unknown)). It reads the project's manifests and lockfiles, identifies the runner the project's test script invokes, and decides whether a parallel mode exists and its prerequisite is installed — never assuming, never installing anything. It emits a small JSON record; the paqad-ai checks record-runner verb validates and stores it.

Use This When

  • A feature-development checks run reported test ran sequentially: parallel mode unknown, and you want the next run to be fast. Run this once; the recorded decision makes every later run fast.

Do not run this when checks plan already shows parallel, native, or a concrete sequential (<reason>) — the script has already decided.

Inputs

  • project_root — the project to inspect.
  • test_command — the project's commands.test; the parallel command MUST start with its runner invocation and only add allowlisted parallel flags.
  • Read references/allowed-flags.md for the exact tokens a test_parallel may add.

Procedure

  1. Read the ecosystem manifest and lockfile: composer.json/composer.lock, package.json and its lockfile, pyproject.toml/requirements*.txt/poetry.lock/uv.lock, Gemfile.lock, build.gradle(.kts), go.mod, Cargo.toml, pubspec.yaml.
  2. Identify the runner the project's own test script invokes (mocha, tap, ava, …).
  3. Decide whether a parallel mode exists AND its prerequisite is present in the lockfile. If the prerequisite is missing, the mode is unavailable — never propose installing it.
  4. When available, build test_parallel from test_command by adding only tokens listed in references/allowed-flags.md, with <processes> exactly once. Never add any other token.
  5. Write <scratch>/test-runner.json (see Output Contract) and hand it to the pipeline: npx paqad-ai checks record-runner <scratch>/test-runner.json. That verb runs the deterministic guard and rejects anything outside the allowlist — do not re-implement that check here.

Read the full file on GitHub · 92 lines

Files

What ships with it

2 files 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.

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. today First seen · 92 lines · 55 tokens per session scan A 918a964beabc

Subscribe to this mod's changes

test-runner-discovery is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,007 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-09-12.