test-suite-prioritizer

test-suite-prioritizer is a skill for Claude Code, Codex from ArabelaTso/Skills-4-SE. It costs 84 tokens per session (3,624 once invoked), scanned A, original, Apache-2.0.

A tool that ranks tests according to recent code changes and their likely impact. It links modified files to the tests that cover them and explains the resulting order.

In plain words
What is it for?
Prioritize tests from Git changes, pull-request file lists, specified files, or working-directory modifications when time or CI capacity is limited.
Why use it?
Running a large test suite can take time, especially in continuous integration (CI), so the most relevant tests can run first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Prioritize tests from Git changes, pull-request file lists, specified files, or working-directory modifications when time or CI capacity is limited.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arabelatso/skills-4-se/test-suite-prioritizer
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 ArabelaTso/Skills-4-SE --skill test-suite-prioritizer
Clone the repo
git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE

Made for: Claude Code, 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-suite-prioritizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/arabelatso/skills-4-se/test-suite-prioritizer/github.svg)](https://agentmods.dev/skills/arabelatso/skills-4-se/test-suite-prioritizer)
Your own site
<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/test-suite-prioritizer"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/test-suite-prioritizer/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-suite-prioritizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/test-suite-prioritizer"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/test-suite-prioritizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,624 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00084 $0.03624
Opus 5 $0.00042 $0.01812
Sonnet 5 $0.00017 $0.00725
Haiku 4.5 $0.00008 $0.00362

Measured 8d ago against content hash 94d93ae26969, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

test-suite-prioritizer 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 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.

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.

skills/test-suite-prioritizer/SKILL.md · 544 lines

How it starts

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

Test Suite Prioritizer

Intelligently prioritize test execution based on code changes and project impact.

Core Capabilities

This skill helps optimize test execution by:

  1. Analyzing code changes - Identifying which files were modified
  2. Mapping test coverage - Determining which tests cover changed code
  3. Calculating priority scores - Ranking tests by impact and relevance
  4. Generating execution order - Creating an optimized test run sequence
  5. Providing reasoning - Explaining why each test is prioritized

Test Prioritization Workflow

Step 1: Identify Code Changes

Determine what code has been modified to focus testing efforts.

Sources of Change Information:

  • Git diff (most recent commit or uncommitted changes)
  • Pull request file list
  • Specific files mentioned by user
  • Modified files in working directory

Collect Changed Files:

# Recent commit changes
git diff --name-only HEAD~1 HEAD

# Uncommitted changes
git diff --name-only

# Changes in current branch vs main
git diff --name-only main...HEAD

# Files in last N commits
git diff --name-only HEAD~N HEAD

Example Output:

src/auth/login.py
src/payment/processor.py
src/models/user.py
tests/test_auth.py

Step 2: Analyze Test Coverage

Map which tests cover the changed code.

Strategies:

1. Direct Test-to-Code Mapping

  • Tests in same directory as changed code
  • Tests with similar names (e.g., user.pytest_user.py)
  • Integration tests that import changed modules

2. Static Analysis

  • Parse test files for imports
  • Identify which modules each test uses
  • Map dependencies transitively

3. Coverage Data (if available)

  • Use pytest-cov, coverage.py, JaCoCo output
  • Identify tests that execute changed lines
  • Most accurate but requires prior test run

Example Mapping:

Changed: src/auth/login.py
Covered by:
  - tests/test_auth.py::test_login_success
  - tests/test_auth.py::test_login_failure
  - tests/integration/test_user_flow.py::test_complete_registration
  - tests/e2e/test_authentication_flow.py::test_full_auth_cycle

Changed: src/payment/processor.py
Covered by:
  - tests/test_payment.py::test_process_payment
  - tests/test_payment.py::test_refund
  - tests/integration/test_checkout.py::test_complete_purchase

Read the full file on GitHub · 544 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. 8d ago First seen · 544 lines · 84 tokens per session scan A 94d93ae26969

Subscribe to this mod's changes

test-suite-prioritizer is a skill published in the GitHub repository ArabelaTso/Skills-4-SE (252 stars, last pushed 22d ago), licensed Apache-2.0. It adds 84 tokens to every session and 3,624 once invoked, about $0.0004 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-03.

Related

Other skills, from other repositories

github-copilot-upgrader

Use this to update the Github Copilot CLI/SDK.

microsoft/vscode · 18 tokens

test-generator

A test-writing helper that creates unit or integration tests from the code's actual behavior and contracts. Unit tests check small pieces of code, while integration tests check how real components work together.

laolaoshiren/claude-code-skills-zh · 79 tokens

merge-queue-readiness

Pre-queue merge-group CI simulation. Triggered before adding a PR to a GitHub merge queue. Prevents merge-queue kick-outs from integration test failures.

ZaxbyHub/opencode-swarm · 39 tokens

111-java-maven-dependencies

Use when you need to add or evaluate Maven dependencies that improve code quality or domain modeling — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), architecture testing (ArchUnit), or money and currency support (JavaMoney) — and want a…

jabrena/plinth · 133 tokens

130-java-testing-strategies

Use when you need to apply testing strategies for Java code — RIGHT-BICEP to guide test creation, A-TRIP for test quality characteristics, or CORRECT for verifying boundary conditions. This should trigger for requests such as Review Java code for testing strategies; Apply RIGHT-BICEP testing strategies in Java code…

jabrena/plinth · 96 tokens

131-java-testing-unit-testing

Use when you need to review, improve, or write Java unit tests — including migrating from JUnit 4 to JUnit 5, adopting AssertJ for fluent assertions, structuring tests with Given-When-Then, ensuring test independence, applying parameterized tests, mocking dependencies with Mockito, verifying boundary conditions…

jabrena/plinth · 160 tokens