prereg-guard
Skill9 starsChanged 6 months agoMITView on GitHub
Verify pre-registration integrity — no uncommitted edits to benchmarks/preregistration.md, and declared studies match produced result files. Use before paper building, release gates, or when resuming scientific work after a break.
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bench-locomoSkill
- bench-studySkill
- evidence-updateSkill
- paper-bundleSkill
- release-gateSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
Read benchmarks/preregistration.md to find declared studies.
- Distinctive: line 49
If a result file is missing → WARN (study not yet run, not a violation).
- Distinctive: line 50
If a result file exists but is not committed → WARN (uncommitted results).
≈ “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
Pre-Registration Integrity Guard
Checks that benchmarks/preregistration.md has not been modified since its
last commit, and that result files exist for studies that have been run.
Any FAIL = stop before paper building or publishing.
The pre-registration file (benchmarks/preregistration.md) is the scientific
contract. It must never be edited after the first commit that introduced it.
Modifying it post-hoc would invalidate the confirmatory status of any study
whose hypothesis it declares.
Checks
1. Pre-reg file unmodified in working tree
git diff benchmarks/preregistration.md
git diff --cached benchmarks/preregistration.mdExpected: empty output. Any diff is a pre-reg violation.
2. Pre-reg file not in staged or unstaged changes
git status --short benchmarks/preregistration.mdExpected: no output (file not listed).
3. Result files vs declared studies
Read benchmarks/preregistration.md to find declared studies. For each:
| Study | Result file to check |
| S1 (LoCoMo) | benchmarks/locomo/results.json, benchmarks/locomo/results.md |
| S2 (realistic v2) | benchmarks/realistic/results.v2.md |
| S3 (ablation v2) | benchmarks/ablation/results.v2.md |
If a result file is missing → WARN (study not yet run, not a violation). If a result file exists but is not committed → WARN (uncommitted results).
4. Date ordering (CONFIRMATORY validity)
git log --oneline --format="%ci %s" benchmarks/preregistration.md | head -1
git log --oneline --format="%ci %s" benchmarks/locomo/results.json | head -1Pre-reg commit timestamp must be strictly before each result commit timestamp for the study to qualify as CONFIRMATORY.
Output format
PASS ✓ preregistration.md unmodified (working tree clean)
PASS ✓ preregistration.md unmodified (staged area clean)
PASS ✓ S1 results present: benchmarks/locomo/results.json
PASS ✓ S1 results committed
PASS ✓ S1 pre-reg predates results → CONFIRMATORY claim valid
WARN ⚠ S2 results missing: benchmarks/realistic/results.v2.md (study not yet run)
WARN ⚠ S3 results missing: benchmarks/ablation/results.v2.md (study not yet run)PASS on all checks → safe to proceed with paper building or release. Any FAIL → stop and resolve before continuing.
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.

