codspeed-setup-harness

codspeed-setup-harness is a skill for Claude Code from CodSpeedHQ/codspeed. It costs 120 tokens per session (2,305 once invoked), scanned A, original, Apache-2.0.

A setup workflow for adding performance benchmarks and connecting them to CodSpeed, a service that measures and tracks code speed.

In plain words
What is it for?
Use it to inspect a project, find code worth measuring, choose a supported benchmark framework, configure CodSpeed, and add performance tests.
Why use it?
It helps create representative tests for performance-critical code and avoids a benchmark setup that produces results which are difficult to compare or maintain.

Skill for Claude Code

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

Part of the codspeed plugin — 2 skills, 1 MCP server shipped together

Good fit Use it to inspect a project, find code worth measuring, choose a supported benchmark framework, configure CodSpeed, and add performance tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codspeedhq/codspeed/codspeed-setup-harness
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 CodSpeedHQ/codspeed --skill codspeed-setup-harness
Clone the repo
git clone --depth 1 https://github.com/CodSpeedHQ/codspeed

Made for: Claude Code.

Or install codspeed, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 codspeed-setup-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/codspeedhq/codspeed/codspeed-setup-harness/github.svg)](https://agentmods.dev/skills/codspeedhq/codspeed/codspeed-setup-harness)
Your own site
<a href="https://agentmods.dev/skills/codspeedhq/codspeed/codspeed-setup-harness"><img src="https://agentmods.dev/badge/skills/codspeedhq/codspeed/codspeed-setup-harness/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 codspeed-setup-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/codspeedhq/codspeed/codspeed-setup-harness"><img src="https://agentmods.dev/badge/skills/codspeedhq/codspeed/codspeed-setup-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,305 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
  • Socket pass 17 Sept 2026
  • Snyk pass 17 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 197
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 310
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00120 $0.02305
Opus 5.5 $0.00048 $0.00922
Sonnet 5.5 $0.00024 $0.00461
Haiku 4.5 $0.00012 $0.00231

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

Security

Grade A, and why

codspeed-setup-harness 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 1mo 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/codspeed-setup-harness/SKILL.md · 322 lines

How it starts

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

Setup Harness

You are a performance engineer helping set up benchmarks and CodSpeed integration for a project. Your goal is to create useful, representative benchmarks and wire them up so CodSpeed can measure and track performance.

Step 1: Analyze the project

Before writing any benchmark code, understand what you're working with:

  1. Detect the language and build system: Look at the project structure, package files (Cargo.toml, package.json, pyproject.toml, go.mod, CMakeLists.txt), and source files.

  2. Identify existing benchmarks: Check for benchmark files, codspeed.yml, CI workflows mentioning CodSpeed or benchmarks.

  3. Identify hot paths: Look at the codebase to understand what the performance-critical code is. Public API functions, data processing pipelines, I/O-heavy operations, and algorithmic code are good candidates.

  4. Check CodSpeed auth: Ensure codspeed auth login has been run.

Step 2: Choose the right approach

Based on the language and what the user wants to benchmark, pick the right harness:

Language-specific harnesses (recommended when available)

These integrate deeply with CodSpeed and provide per-benchmark flamegraphs, fine-grained comparison, and simulation mode support.

Language Framework How to set up
Rust divan (recommended), criterion, bencher Add codspeed-<framework>-compat as dependency using cargo add --rename
Python pytest-benchmark Install pytest-codspeed, use @pytest.benchmark or benchmark fixture
Node.js vitest (recommended), tinybench v5, benchmark.js Install @codspeed/<framework>-plugin, configure in vitest/test config
Go go test -bench No packages needed — CodSpeed instruments go test -bench directly
C/C++ Google Benchmark Build with CMake, CodSpeed instruments via valgrind-codspeed

Read the full file on GitHub · 322 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. 1mo ago First seen · 322 lines · 120 tokens per session scan A a0058960f044

Subscribe to this mod's changes

codspeed-setup-harness is a skill published in the GitHub repository CodSpeedHQ/codspeed (376 stars, last pushed yesterday), licensed Apache-2.0. It adds 120 tokens to every session and 2,305 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

hotpath_cloud

Read hotpath Cloud performance verdicts with the hotpath cloud CLI and fix Rust performance regressions. Fetches the benchmark report of a commit or pull request, compares it with its baseline under the repository's regression policy and performance budgets, and lists what regressed and which budgets broke, as JSON.…

pawurb/hotpath-rs · 110 tokens

http-load-profiler

Run stepped HTTP load tests with ab/wrk, ramping concurrency levels to collect p50/p90/p99 latency, detect performance inflection points, and recommend optimal concurrency. Triggered by requests like 'load test this URL', 'benchmark my API', 'find the max concurrency', or mentions of p99 latency, throughput…

zebbern/claude-code-guide · 76 tokens

hotpath_init_ci

Set up the hotpath Cloud CI integration in a Rust project whose pull requests come from branches of the same repository (private repositories, or public ones that do not benchmark fork pull requests). Adds the hotpath-cloud feature, a regression policy file and a GitHub Actions benchmark workflow that uploads hotpath…

pawurb/hotpath-rs · 98 tokens

hotpath_init_ci_forks

Set up the hotpath Cloud CI integration in a public Rust project that benchmarks pull requests from forks. Adds the hotpath-cloud feature, a regression policy file, a GitHub Actions benchmark workflow that writes hotpath reports as artifacts and a relay workflow that uploads them, so every pull request, forks…

pawurb/hotpath-rs · 95 tokens

Artillery Load Testing

Write and run Artillery load tests with YAML phases and scenarios, CSV data payloads, the expect plugin for functional checks, and ensure thresholds that fail CI when latency or error budgets are breached.

PramodDutta/qaskills · 44 tokens

Visual Regression Review

Compare browser-rendered UI state against expected layout, content, and responsive behavior.

Raidriar7170/hermes-skilleval · 20 tokens