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.
npx skills add wsauret/flywheel --skill experiment-finalizegit clone --depth 1 https://github.com/wsauret/flywheelWrote 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.
[](https://agentmods.dev/skills/wsauret/flywheel/experiment-finalize)<a href="https://agentmods.dev/skills/wsauret/flywheel/experiment-finalize"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/experiment-finalize/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.
<a href="https://agentmods.dev/skills/wsauret/flywheel/experiment-finalize"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/experiment-finalize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00804 |
| Opus 5.5 | $0.00007 | $0.00322 |
| Sonnet 5.5 | $0.00004 | $0.00161 |
| Haiku 4.5 | $0.00002 | $0.00080 |
Grade A, and why
experiment-finalize 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.
How it starts
The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Finalize Experiments
Turn a noisy experiment branch into clean, independent branches, one per logical change, each starting from the merge-base. The bundled finalize.sh script does the branch surgery; references/groups-json.md defines the input it takes, read with the skill tool's resource action before Step 2.
Step 1: Analyze and propose groups
- Read the run history:
flywheel events search --type experiment.run.recorded --json --limit 0 --session <sessionId>. The session id is thesessions/<sessionId>segment of your scratchpad directory path. Keep only rows whosesourceisstoreand whosesessionIdis this session; drop everylogrow. Validate each payload:runandsegmentare integers,commitanddescriptionare strings,statusis one ofkeep,discard,crash,checks_failed,metricis a finite number. Sort the rows bypositionascending; timestamps are not the order. Then filter to kept experiments only. - Read
.experiment/charter.mdfor context. - Expand every short commit hash to a full hash with
git rev-parse <short_hash>, and get the merge-base withgit merge-base HEAD main. - For each kept commit, get the diff stat (
$BASE..<commit>for the first,<prev_kept>..<commit>for the rest). - Group kept commits into logical changesets. Preserve application order. No two groups may touch the same file, because each branch is applied to the merge-base independently; merge groups that overlap. Flag cross-file dependencies ("group 2 depends on group 1, review together") and merge tightly coupled groups. Keep each group to one idea; the count follows the work.
Present the proposed grouping to the user as a numbered list: title, commits, files, and the metric before and after each group. Before you ask, write the complete groups JSON (the shape in references/groups-json.md) to a session note so it is frozen. Wait for approval before proceeding. After approval, run exactly the frozen JSON; do not recompute it. If the user asks for changes, revise the proposal, freeze the revised JSON, and ask again.
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.
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.
- 21d ago Changed · +1 lines a34aebc47493
- 22d ago Changed b488a5edc0f5
- 28d ago First seen · 35 lines · 18 tokens per session scan A 2852d28df6b4
experiment-finalize 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 804 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.
experiment-finalize compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| experiment-finalizewsauret/flywheel | Skill | 19 | today | Apache-2.0 | A | 18 | Claude Code, Codex |
| cw-landHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 44 | Claude Code, Codex |
| writing-git-commitspatriceckhart/zot | Skill | 373 | yesterday | MIT | A | 14 | Claude Code, Codex |
| autofix-prQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 142 | Claude Code |
| codew-release-qa-sweepHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 31 | Claude Code, Codex |
| gh-find-prsHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 27 | Claude Code, Codex |
| contributor-onboardingHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 57 | Claude Code, Codex |