experimentation

experimentation is a skill for Claude Code from cbrock84/headcount. It costs 68 tokens per session (1,254 once invoked), scanned A, original, MIT.

A guide to running A/B tests, where two versions are compared with real users, and other controlled experiments. It covers forming a clear hypothesis, choosing measurements, deciding how much data is needed, and interpreting results honestly.

In plain words
What is it for?
Use it to plan experiments, set sample sizes and durations, choose primary and safety metrics, check test quality, and decide whether a result supports action.
Why use it?
It reduces false conclusions caused by small samples, stopping tests too early, or judging success with changing measurements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the demand-generation plugin — 12 skills shipped together

Good fit Use it to plan experiments, set sample sizes and durations, choose primary and safety metrics, check test quality, and decide whether a result supports action.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cbrock84/headcount/experimentation
About the project

headcount is an organization of independently installable Claude Code plugins, each grouping skills for a department such as finance, security, or demand generation. Claude Code users install the departments they need and invoke their skills for specialized work; the catalogue entries are skills and related agent tooling from that organization.

cbrock84/headcount · 2,589 stars · on GitHub · cbrock84.github.io

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 cbrock84/headcount --skill experimentation
Clone the repo
git clone --depth 1 https://github.com/cbrock84/headcount

Made for: Claude Code.

Or install demand-generation, the plugin that ships this one along with the rest of its 12 skills.

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 experimentation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cbrock84/headcount/experimentation"><img src="https://agentmods.dev/badge/skills/cbrock84/headcount/experimentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,254 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.00068 $0.01254
Opus 5.5 $0.00027 $0.00502
Sonnet 5.5 $0.00014 $0.00251
Haiku 4.5 $0.00007 $0.00125

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

Security

Grade A, and why

experimentation 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sample_size.py), 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/demand-generation/skills/experimentation/SKILL.md · 105 lines

How it starts

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

Experimentation

Most A/B testing programs produce confident conclusions from insufficient data. The discipline is almost entirely in what you do before launch.

Before running

  • Hypothesis with a mechanism. "Moving the pricing table above the fold will raise trial starts, because visitors currently leave before seeing pricing." Not "let's try a green button."
  • One primary metric, chosen in advance. Secondary metrics are context, never the verdict.
  • Sample size calculated in advance, from your baseline rate and the smallest lift that would change a decision. If the required sample is unreachable, do not run the test — decide by judgment and say so.
  • Duration set in advance, covering at least one full weekly cycle, and two if the buying cycle is long.
  • Guardrail metrics that would make you reject a win: refunds, support volume, downstream retention.

While running

Do not look at results and act on them mid-flight. Peeking and stopping at significance is the single most common way to generate false positives, and it is very effective at it.

Check only that the test is running correctly — even split, no broken variant, tracking firing.

Reading

  • At the pre-set duration, not before, and not extended because it is nearly significant. Extending until significance manufactures it.
  • Significance is not size. A statistically significant 0.3% lift may not be worth shipping.
  • Inconclusive is a real result and the most common one. It means the change did not matter enough to detect, which is useful.
  • Check the guardrails before declaring a win.
  • Segment afterward for hypotheses only, never for verdicts. Slice enough ways and something is always significant.

Program level

Test where the traffic and the leverage are. Most sites can only run a handful of adequately powered tests a year — spend them on structural questions, not button colors.

Keep a log of every test: hypothesis, result, decision. Without it, teams re-run the same tests every eighteen months and re-learn the same things.

Read the full file on GitHub · 105 lines

Files

What ships with it

3 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. 3d ago Changed · +17 lines 575a2857ac34
  2. 4d ago Changed · +12 lines 7b6cc2e5bcc0
  3. 2mo ago Changed · +7 lines 1112191cd4bb
  4. 3mo ago Changed · +20 lines b62b173f3490
  5. 3mo ago First seen · 49 lines · 68 tokens per session scan A dbf3251dc3d6

Subscribe to this mod's changes

experimentation is a skill published in the GitHub repository cbrock84/headcount (2,589 stars, last pushed 3d ago), licensed MIT. It adds 68 tokens to every session and 1,254 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-08-30.

Related

experimentation compared with skills from other repositories

experimentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
experimentationcbrock84/headcountSkill2.6k3d agoMITA68Claude Code
dnsproyecto26/system-design-skillsSkill1521mo agoMITA131Claude Code
distributed-searchproyecto26/system-design-skillsSkill1521mo agoMITA117Claude Code
sharded-countersproyecto26/system-design-skillsSkill1521mo agoMITA106Claude Code
negative-keyword-sweepmarkifact/markifact-mcpSkill5914d agoMITA56Cursor
rotate-creativemarkifact/markifact-mcpSkill5914d agoMITA57Cursor
launch-google-searchmarkifact/markifact-mcpSkill5914d agoMITA56Cursor