run-tests

run-tests is a skill for Claude Code from noahlz/claude-plugins. It costs 20 tokens per session (1,121 once invoked), scanned A, original, MIT.

A workflow for running a project's test suite, examining failures, and suggesting fixes with help from separate agents. A test suite is the collection of automated checks for a project.

In plain words
What is it for?
Use it when asked to run tests or build and test a project. It first determines the project's test commands from its files and instructions, then records and analyzes the results.
Why use it?
It provides a defined way to verify changes and investigate failures without repeatedly rerunning commands just to inspect their output.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev-workflow plugin — 10 skills, 4 agents shipped together

Good fit Use it when asked to run tests or build and test a project. It first determines the project's test commands from its files and instructions, then records and analyzes the results.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add noahlz/claude-plugins
Claude Code
/plugin install dev-workflow

Made for: Claude Code.

Or install dev-workflow, the plugin that ships this one along with the rest of its 10 skills, 4 agents.

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 run-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/noahlz/claude-plugins/run-tests/github.svg)](https://agentmods.dev/skills/noahlz/claude-plugins/run-tests)
Your own site
<a href="https://agentmods.dev/skills/noahlz/claude-plugins/run-tests"><img src="https://agentmods.dev/badge/skills/noahlz/claude-plugins/run-tests/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 run-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/noahlz/claude-plugins/run-tests"><img src="https://agentmods.dev/badge/skills/noahlz/claude-plugins/run-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,121 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.00020 $0.01121
Opus 5.5 $0.00008 $0.00448
Sonnet 5.5 $0.00004 $0.00224
Haiku 4.5 $0.00002 $0.00112

Measured 8d ago against content hash 71d612ef11a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-tests 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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/parse-build-errors.js, scripts/parse-test-failures.js, scripts/run-command.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/dev-workflow/skills/run-tests/SKILL.md · 137 lines

How it starts

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

Activate this skill when:

  • You say or think phrases like
    • "Running tests to verify changes"
    • "Now I should run tests to verify my changes"
  • The user requests test execution, using phrases like:
    • "test"
    • "run tests"
    • "test the changes"
    • "build and test"

IMPORTANT: Follow the workflow steps EXACTLY as written.


Skill Context

PLUGIN_ROOT: ${CLAUDE_PLUGIN_ROOT}

Node.js Check: !node "${CLAUDE_PLUGIN_ROOT}/lib/check-node-version.js"

⛔ HALT if Node.js Check shows ERROR.


Skill Workflow Instructions

Workflow Rules

MANDATORY:

  • ⛔ NEVER run test or build commands directly — use run-command.js for ALL execution
  • ⛔ NEVER re-run tests to inspect output — Read the output file instead
  • ⛔ ALL diagnostic information comes from files, never from re-execution
  • Use memory to recall test commands for this project

1. Determine How to Build and Test

Check memory, CLAUDE.md, and project files (package.json, pom.xml, go.mod, Cargo.toml, Makefile, etc.) to determine:

  • The test command to run
  • Whether a separate build step is required (most projects don't need one)
  • The output format (TAP, pytest, go, jest, etc.)

Quiet/silent flags: Use --silent, --quiet, or equivalent when the build tool writes structured results to files (e.g., Maven surefire XML reports, TAP reporters, Jest JSON output). Omit quiet flags when the tool's console output is the only source of test results.

If uncertain: Use AskUserQuestion. Save the answer to memory.

2. Build (if needed)

Most projects don't need a separate build step. Skip this step unless you have determined one is required.

Run build command:

node "${CLAUDE_SKILL_DIR}/scripts/run-command.js" --cmd "<build command>" --out dist/build.log

Parse the JSON output. If exitCode is non-zero: → DELEGATE_TO: references/extract-build-errors.md ⛔ READ FILE AND FOLLOW INSTRUCTIONS, THEN RETURN HERE → Show analysis, ask user: "Enter plan mode to implement fixes?"

  • Yes → use EnterPlanMode with analysis context
  • No → exit workflow

Read the full file on GitHub · 137 lines

Files

What ships with it

6 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 Changed · -2 lines 71d612ef11a5
  2. 1mo ago First seen · 139 lines · 20 tokens per session scan A 24cc2624375e

Subscribe to this mod's changes

run-tests is a skill published in the GitHub repository noahlz/claude-plugins (5 stars, last pushed 8d ago), licensed MIT. It adds 20 tokens to every session and 1,121 once invoked, about $0.0001 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 skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

eval-dataset-design

A guide to creating reliable test sets for AI agents. Each evaluation task includes the request, the simulated user's behaviour, a reset starting state, and a success check that can be independently verified.

bojieli/ai-agent-book · 138 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens