preregister
Skill10 starsChanged 5 months agoMITArchived repositoryView on GitHub
Lock a confirmatory falsification target and its fixed multiple-comparison family before observing the confirmatory result. Use before promoting an exploratory finding to a main claim or whenever several related hypotheses need Bonferroni control. Records metric, threshold, family id/size, correction, and seed budget.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- matthewdigiuseppe/MStacktheir own version, first seen Nov 1, 2026
- dilulloriccardo-arch/rigor-skillstheir own version, first seen Sep 2, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- matthewdigiuseppe/MStack★ 17same name
- dilulloriccardo-arch/rigor-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bt-tournamentSkill
- debug-sopSkill
- preregisterSkill
- prove-sopSkill
- replaySkill
- research-sopSkill
- writeup-sopSkill
- bt-tournamentSkill
- debug-sopSkill
- prove-sopSkill
- replaySkill
- research-sopSkill
- writeup-sopSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before a result is promoted from exploratory to a confirmatory manuscript claim.
- Very specific: line 33
Call mcp__verify__list_preregistrations(hypothesis_id=...).
- Very specific: line 34
Before the first family member is resolved, define the full family.
- Very specific: line 37
Call mcp__verify__preregister(...) with the exact metric text, threshold, family_id, and family_size.
- Very specific: line 55
Never edit a prereg after lock.
- Distinctive: line 57
Do not invoke this skill in parallel with a confirmatory seed_perturb.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Preregister
This skill supports "decide before observing" for confirmatory claims. Exploratory runs may still use seed_perturb / pin_metric, but any number intended as a main publication claim should have a matching prereg row first.
When to invoke
- Before a result is promoted from exploratory to a confirmatory manuscript claim.
- Right after
bt-tournamentreturns the top-2 hypotheses when the next run is explicitly confirmatory. - Whenever the user types
/preregister.
Required arguments
| arg | meaning | example |
hypothesis_id | id from mem_nodes (kind=hypothesis) | hyp_a3f9... |
metric_name | exact claim text the engineer will pin later | "test accuracy" |
direction | higher_better or lower_better | higher_better |
threshold | number that separates met from missed | 0.85 |
seed_count | how many seeds the seed_perturb call must use | 5 |
alpha | nominal Type-I error rate | 0.05 |
mc_correction | bonferroni (default), none, or legacy alias bh | bonferroni |
family_id | stable id shared by related confirmatory tests | primary_metrics |
family_size | total number of tests planned in that family | 4 |
heldout_dataset | optional dataset name to be queried via query_heldout | mnist-test |
Workflow
- Call
mcp__verify__list_preregistrations(hypothesis_id=...). If a row exists with statusopen, do not fail the session. Ask whether to reuse that lock, withdraw it outside this tool, or create a separate confirmatory prereg for a genuinely different metric. - Before the first family member is resolved, define the full family. Use one
family_idand the same lockedfamily_size, alpha, and correction for all related tests. A standalone test gets an automatically generated family of 1. - Call
mcp__verify__preregister(...)with the exact metric text, threshold,family_id, andfamily_size. - Surface the resulting
prereg_idand family metadata before implementation. - Pass
prereg_idalong the workflow so the confirmatory run stays linked.
Resolution
The engineer or verifier later calls mcp__verify__resolve_preregistration(prereg_id, observed_value, observed_p_value). The verdict is frozen at that point and:
- Bonferroni correction uses the fixed
family_sizesaved at lock time. Resolving earlier rows never relaxes alpha for later rows. The oldbhvalue remains a compatibility alias and resolves with the same fixed-family Bonferroni calculation. prereg_resolvedevents fire into the cockpit.- The
revieweragent later treats confirmatory manuscript claims with status !=metas blockers. Exploratory claims must be labelled as exploratory in the manuscript.
Guardrails
- Never edit a prereg after lock. There is no
update_preregistration. If the locking was wrong, file a new prereg and add a note in the manuscript explaining that the earlier run was exploratory or superseded. withdrawnis reserved for cases the user actively cancels a hypothesis; the verifier never withdraws on its own.- Do not invoke this skill in parallel with a confirmatory seed_perturb. Exploratory seed_perturb runs may exist before the lock, but must stay labelled exploratory.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

