test-baseliner

test-baseliner is an agent for Claude Code from ihudak/ihudak-claude-plugins. It costs 77 tokens per session (1,745 once invoked), scanned A, original, MIT.

An agent that runs a project’s full test suite and records structured results for comparison. A baseline is a saved starting result used to detect later changes.

In plain words
What is it for?
Use capture mode before changes to save test results, then verify mode afterward to produce a structured regression report.
Why use it?
It makes regressions easier to spot by comparing a later test run with the earlier one.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dev-workflows plugin — 2 skills, 28 commands, 38 agents, 3 hooks shipped together

Good fit Use capture mode before changes to save test results, then verify mode afterward to produce a structured regression report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ihudak/ihudak-claude-plugins/test-baseliner
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.

Clone the repo
git clone --depth 1 https://github.com/ihudak/ihudak-claude-plugins

Made for: Claude Code.

Or install dev-workflows, the plugin that ships this one along with the rest of its 2 skills, 28 commands, 38 agents, 3 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/test-baseliner.svg)](https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/test-baseliner)
Your own site
<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/test-baseliner"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/test-baseliner.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,745 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.00077 $0.01745
Opus 5 $0.00039 $0.00873
Sonnet 5 $0.00015 $0.00349
Haiku 4.5 $0.00008 $0.00175

Measured 7d ago against content hash 551540303619, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

test-baseliner 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 7d 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.

plugins/dev-workflows/agents/test-baseliner.md · 138 lines

How it starts

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

Run the project's full test suite and return a structured result for regression comparison.

Operates in two modes. The caller must specify which mode to use.


Mode: capture

Run the test suite and return a baseline snapshot. Use this before making changes.

Steps

  1. Detect framework — Search the working directory for build/config files in this order:

    • pom.xml → Maven, command: mvn test -q
    • build.gradle or build.gradle.kts → Gradle, command: ./gradlew test (fall back to gradle test if no wrapper)
    • package.json → read the scripts.test field; if absent, use npm test. Check for a workspaces field — if present, use npm test --workspaces --if-present.
    • pyproject.toml, setup.py, or pytest.ini → pytest, command: pytest -v
    • Makefile containing a test target → make test
    • If no framework found: return the structure below with Framework = "not detected", all counts = 0, and a note explaining no runner was found. Do not fail.
  2. Run — Execute the detected command. Allow up to 10 minutes. Capture stdout and stderr combined. If the run aborts (non-zero exit, truncated output, or unrecognized runner output) with no parseable pass/fail counts, treat this as a failed run for the Status computation in step 4 (do not fail the tool call — still return the structure).

  3. Parse — Extract from the output:

    Framework Passing count Failing count Skipped count
    Maven Tests run: X minus failures+errors per module, summed Failures: Y, Errors: Z summed Skipped: N summed
    Gradle X tests completed minus failed , Y failed , Z skipped
    pytest X passed Y failed or Y error N skipped
    Jest/npm X passed Y failed Y skipped
    Make best-effort: look for any X passed / X failed / X pass / X fail patterns. If no pattern is found, set counts to 0 and include a note. same same

Read the full file on GitHub · 138 lines

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. 7d ago First seen · 138 lines · 77 tokens per session scan A 551540303619

Subscribe to this mod's changes

test-baseliner is an agent published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 5d ago), licensed MIT. It adds 77 tokens to every session and 1,745 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-08-31.