experiment-charter

experiment-charter is a skill for Claude Code, Codex from wsauret/flywheel. It costs 18 tokens per session (1,656 once invoked), scanned A, original, Apache-2.0.

A guided workflow for designing an experiment charter section by section. An experiment charter records the question, measurements, checks, and agreed plan before an experiment starts.

In plain words
What is it for?
It is for drafting and approving an experiment charter, creating its measurement and checking scripts, and committing the resulting files.
Why use it?
It prevents an experiment plan from being written before the user approves each part and ensures the measurement command can produce the main metric.

Skill for Claude CodeCodex

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

Good fit It is for drafting and approving an experiment charter, creating its measurement and checking scripts, and committing the resulting files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wsauret/flywheel/experiment-charter
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 wsauret/flywheel --skill experiment-charter
Clone the repo
git clone --depth 1 https://github.com/wsauret/flywheel

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wsauret/flywheel/experiment-charter"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/experiment-charter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,656 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.00018 $0.01656
Opus 5.5 $0.00007 $0.00662
Sonnet 5.5 $0.00004 $0.00331
Haiku 4.5 $0.00002 $0.00166

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

Security

Grade A, and why

experiment-charter 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 21d 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.

src/orchestration/modules/experiments/definitions/skills/experiment-charter/SKILL.md · 93 lines

How it starts

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

Experiment Charter

Lead a section-by-section approval conversation that produces .experiment/charter.md, .experiment/measure.sh, and .experiment/checks.sh, proves the measure command emits the primary metric, and commits exactly those three files. ARGUMENTS is the user's goal. Never call init_experiment, run_experiment, or log_experiment here; /experiment start validates the committed charter and begins the loop, and /experiment dashboard shows it.

The charter is the user's contract with the loop. Every section is drafted by you, presented in full, and approved by the person before the next section starts. Never write a file before the complete draft is approved. Working memory (candidate levers, open questions, rejected drafts) goes to the session checkpoint through checkpoint_replace, never into the charter.

Two references travel with this package; read each with the skill tool's resource action when you reach the section it serves. references/scripts.md is the authoring guide for ./.experiment/measure.sh and ./.experiment/checks.sh (the Commands section). references/loop-rules.md holds the operating rules the Search strategy section copies into the charter so a fresh agent can run the loop from the charter alone.

Preflight

  1. The current directory must be the Git worktree root with a clean tree (git status --porcelain empty); otherwise ask the user to commit or move first. It is work_dir.
  2. If .experiment/charter.md exists, read it and offer to revise it instead of starting over.
  3. Read the source, build and test entry points, and any existing benchmark; understand the workload deeply before drafting.

Charter layout

charter.md is a title, exactly one strict TOML block, then the approved ## sections in the order of the content model below (Objective through Search strategy). /experiment start requires every heading present and non-empty, and refuses any unknown key, missing required key, or type mismatch in the block:

Read the full file on GitHub · 93 lines

Files

What ships with it

2 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. 21d ago Changed · +1 lines 85aa3fddf26a
  2. 22d ago Changed 53914fe3903f
  3. 28d ago First seen · 92 lines · 18 tokens per session scan A 91aac67d3994

Subscribe to this mod's changes

experiment-charter is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 1,656 once invoked, about $0.0001 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-03.

Related

experiment-charter compared with skills from other repositories

experiment-charter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
experiment-charterwsauret/flywheelSkill19todayApache-2.0A18Claude Code, Codex
codew-release-qa-sweepHmbown/CodeWhaleSkill41k2d agoMITA31Claude Code, Codex
gh-find-prsHmbown/CodeWhaleSkill41k2d agoMITA27Claude Code, Codex
contributor-onboardingHmbown/CodeWhaleSkill41k2d agoMITA57Claude Code, Codex
fleet-managerHmbown/CodeWhaleSkill41k2d agoMITA25Claude Code, Codex
handoffHmbown/CodeWhaleSkill41k2d agoMITA70Claude Code, Codex
plugin-creatorHmbown/CodeWhaleSkill41k2d agoMITA29Claude Code