experiment-designer

experiment-designer is a skill for Claude Code, Codex from hardiktiwari/PM-operating-OS. It costs 36 tokens per session (605 once invoked), scanned A, original, MIT.

A planning skill for designing controlled experiments, such as A/B tests, feature rollouts, or pricing tests. An A/B test compares a changed version with a baseline version using agreed measures.

In plain words
What is it for?
Use it to define the hypothesis, control and treatment groups, primary, secondary, and guardrail metrics, and the appropriate experiment type.
Why use it?
It turns a vague test idea into a clear hypothesis, comparison, success measure, and decision rule.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define the hypothesis, control and treatment groups, primary, secondary, and guardrail metrics, and the appropriate experiment type.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hardiktiwari/pm-operating-os/experiment-designer
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 hardiktiwari/PM-operating-OS --skill experiment-designer
Clone the repo
git clone --depth 1 https://github.com/hardiktiwari/PM-operating-OS

Made for: Claude Code, Codex.

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 experiment-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/hardiktiwari/pm-operating-os/experiment-designer/github.svg)](https://agentmods.dev/skills/hardiktiwari/pm-operating-os/experiment-designer)
Your own site
<a href="https://agentmods.dev/skills/hardiktiwari/pm-operating-os/experiment-designer"><img src="https://agentmods.dev/badge/skills/hardiktiwari/pm-operating-os/experiment-designer/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 experiment-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/hardiktiwari/pm-operating-os/experiment-designer"><img src="https://agentmods.dev/badge/skills/hardiktiwari/pm-operating-os/experiment-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 605 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.00036 $0.00605
Opus 5 $0.00018 $0.00302
Sonnet 5 $0.00007 $0.00121
Haiku 4.5 $0.00004 $0.00060

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

Security

Grade A, and why

experiment-designer 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 10d 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/experiment-designer/SKILL.md · 86 lines

How it starts

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

Experiment Designer

Help PMs design rigorous experiments with clear hypotheses, variants, metrics, and decision criteria. Ensures experiments are statistically sound and actionable.

When to Use

  • Before any A/B test
  • Feature experiment design
  • Pricing or packaging test
  • Phased rollout planning
  • When asked "how do we test this?"
  • Before setting up an experiment in an experimentation platform

Process / Template

1. Capture the Hypothesis

Use format: "We believe [action] will [outcome] for [segment] because [rationale]"

  • Action — what you're changing (feature, copy, flow)
  • Outcome — expected metric movement
  • Segment — who you're testing with
  • Rationale — why you believe this (research, prior data)

2. Define Control vs. Treatment

  • Control — baseline experience (no change)
  • Treatment — the change being tested
  • Be explicit about what differs between variants

3. Define Success Metrics

  • Primary metric — main success signal (one metric)
  • Secondary metrics — supporting signals
  • Guardrail metrics — must not regress (e.g., revenue, retention)

4. Determine Experiment Type

  • A/B test — two variants, single change
  • Multivariate — multiple factors
  • Phased rollout — gradual % rollout
  • Holdout — long-term impact test

5. Calculate Sample Size and Duration

  • Power — typically 80%
  • MDE (Minimum Detectable Effect) — smallest effect you care about
  • Traffic — daily eligible users
  • Duration — run until sufficient sample size

6. Define Decision Criteria

Result Action
Primary metric improves, guardrails hold Ship
Primary metric flat, secondary improves Iterate (refine and re-test)
Primary metric declines Kill
Inconclusive (low power) Extend or increase traffic

7. Document Risks

  • What could invalidate results? (seasonality, external events)
  • Confounding factors?
  • Technical implementation risks?

Read the full file on GitHub · 86 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. 10d ago First seen · 86 lines · 36 tokens per session scan A 27e36c6f6611

Subscribe to this mod's changes

experiment-designer is a skill published in the GitHub repository hardiktiwari/PM-operating-OS (5 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 605 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

firebase-cloud-functions

Use when calling callable functions (httpsCallable), passing data to server-side logic, handling function errors/timeouts, configuring regions, or testing with the Emulator Suite.

evanca/flutter-ai-rules · 36 tokens

excalidraw-architect

Choose and compose the right Excalidraw diagram - architecture, flowchart, sequence, state, ER, swimlane, process, timeline, quadrant, pyramid, venn, loop, gantt, bar, line, scatter, and more - using the excalidraw-architect-mcp server. Use whenever a reader would learn more from a picture than from prose, or when…

BV-Venky/excalidraw-architect-mcp · 101 tokens

sdd

Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.

liatrio-labs/spec-driven-workflow · 50 tokens

bcc-throughline

BCC global progress cockpit (plans.md/progress.md/findings.md). Slash: /bcc-throughline · chat: bcc:throughline · "where are we" · reprioritize · resume after /clear. Not for coding or full PLAN grill.

bo-cao/breaking-coding-chaos · 56 tokens