test-speed

test-speed is a skill for Claude Code from motlin/claude-code-plugins. It costs 85 tokens per session (1,808 once invoked), scanned A, original, Apache-2.0.

A test-maintenance guide for keeping software test suites fast while preserving coverage. It favors extending suitable existing tests and testing logic at the lowest level that proves the behavior.

In plain words
What is it for?
Use it when speeding up, consolidating, or rebalancing tests, or when adding tests during feature work.
Why use it?
Large suites can become slow because every extra test repeats setup and waits, especially when too much work is tested end to end.

Skill for Claude Code

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

Part of the code plugin — 12 skills, 2 commands shipped together

Good fit Use it when speeding up, consolidating, or rebalancing tests, or when adding tests during feature work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/motlin/claude-code-plugins/test-speed
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 motlin/claude-code-plugins --skill test-speed
Clone the repo
git clone --depth 1 https://github.com/motlin/claude-code-plugins

Made for: Claude Code.

Or install code, the plugin that ships this one along with the rest of its 12 skills, 2 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/test-speed"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/test-speed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,808 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.00085 $0.01808
Opus 5.5 $0.00034 $0.00723
Sonnet 5.5 $0.00017 $0.00362
Haiku 4.5 $0.00009 $0.00181

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

Security

Grade A, and why

test-speed 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 24d 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/code/skills/test-speed/SKILL.md · 98 lines

How it starts

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

Test Speed

Agents add a test or two with every change and rarely add assertions to an existing test, so after a long run of tasks a suite grows by hundreds of tests, each paying its own setup, and drifts toward slow end-to-end tests. Every extra second is paid on every commit gate and every CI run. Even 1% growth deserves attention because it compounds.

Load the code:test-assertions skill alongside this one. Folding tests together almost always means replacing scattered checks with one strict whole-value assertion, and that alone often nudges coverage up.

When writing a test during feature work

Extend an existing test before adding a new one. Look for a test that already builds the same setup (the same fixture, database, server, render, command invocation) or exercises the same subject, and add the new case there: a new field in its expected value, another row in its table of cases, another step in its scenario.

Red/green still applies. The red step is the extended test failing on its new expectation, then the implementation turns it green.

Add a new test only when no existing test fits, and write it at the lowest level of the pyramid that proves the behavior. Pure logic gets a unit test over the function, not a browser run or a full command invocation. If logic is tangled into a component or handler, extract the pure function and test that.

When running a speed pass

Run the pass directly when invoked. The user queues it as a task themselves when they want one.

Measure without running the suite twice

Running the suite once just to measure doubles the cost of the thing being fixed. Take timings from runs that happen anyway:

  • Read the durations the normal gate already prints or saves: the test runner's summary line, per-file times from a verbose or JSON reporter, surefire XML reports, saved precommit or git-test logs.
  • If the project records nothing usable, configure the runner to write per-file timings to a stable path on every run (a JSON reporter output file, surefire reports kept in place) and include that in the pass, so the next pass gets numbers for free. The build:test-setup skill is the place to make git-test gates keep these logs.

Read the full file on GitHub · 98 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. 24d ago First seen · 98 lines · 85 tokens per session scan A 1a42d7be4aae

Subscribe to this mod's changes

test-speed is a skill published in the GitHub repository motlin/claude-code-plugins (20 stars, last pushed 2d ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,808 once invoked, about $0.0003 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-11-11.

Related

test-speed compared with skills from other repositories

test-speed next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-speedmotlin/claude-code-pluginsSkill202d agoApache-2.0A85Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code