oh-memory-lab
Skill4 starsChanged 2 months agoMITView on GitHub
Improve Oh's memory reader with subscription or explicitly budgeted Gemini/xAI development experiments, frozen preregistrations and separate confirmation. Update public results only after a notable, statistically supported comparison.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- .agents/skills/phase-final-reviewer/AGENTS.mdAGENTS.md
- .agents/skills/phase-implementer/AGENTS.mdAGENTS.md
- .agents/skills/phase-orchestrator/AGENTS.mdAGENTS.md
- .agents/skills/phase-reviewer/AGENTS.mdAGENTS.md
- .agents/skills/write-phase-plan/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- phase-final-reviewerSkill
- phase-implementerSkill
- phase-orchestratorSkill
- phase-reviewerSkill
- write-phase-planSkill
- ohSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run one-mechanism experiments against a champion reader, screen them on the development pool and promote only after a fresh confirmation.
- Distinctive: line 12
Read the protocol before the first cycle and the research seeds when choosing a mechanism.
- Very specific: line 43
Run from the repository root with OH_MEMORY_LAB set:
- Very specific: line 65
When fresh confirmation meets a preregistered notable-result threshold and establishes statistically supported superiority or …
- Very specific: line 71
Follow STYLE.md's benchmark-results rule.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Oh memory lab
Run one-mechanism experiments against a champion reader, screen them on the development pool and promote only after a fresh confirmation. Use the configured reader and judge on released BEAM scorer templates. Development scores guide experiments; comparisons with published numbers require a separately qualified, matched evaluation.
Read the protocol before the first cycle and the research seeds when choosing a mechanism.
For new multi-cycle direct-API work, use campaign v2. It freezes the original baseline, tracks candidates and confirmation allocations, and changes the champion only after verified complete evidence. Keep the v1 commands below for replaying historical pilots; do not mix their caches or decisions into a v2 campaign. The v2 source tests demonstrate transitions, not model gains.
For experiments that change the author-log context reserve, use campaign v3. It binds separate arm contexts to the same source and native rankings, supports repeated measurements within conversation clusters, and compares later confirmations with both the champion and original baseline.
Workspace
The lab workspace is private and lives outside this repository. Point OH_MEMORY_LAB at it:
$OH_MEMORY_LAB/
profile.json subscription or direct-API profile with verified local input paths
budget.json explicit combined API dollar/call/time limits, when using direct APIs
champion.json {"arm": {name, instructionFile, context}, "history": [...]}
alternatives.json up to three positive-but-short arms
NEXT.md where the next cycle starts
instructions/ reader instruction files (export registered ones with export-instruction.ts)
experiments/NNN-slug/ PREREG.md, plan.json, frozen.sha256, run.log, xcb-ledger.jsonl, assessment.json, RESULTS.md
cache/cells.jsonl every scored cell, keyed by arm identity; champion cells are reused across experimentsCommands
Run from the repository root with OH_MEMORY_LAB set:
bun scripts/benchmarks/memory-lab/export-instruction.ts task-complete-v10 v10
bun scripts/benchmarks/memory-lab/freeze.ts 004-slug
scripts/benchmarks/memory-lab/queue.sh 004-slug 005-slug # background; serial on one Claude account
bun scripts/benchmarks/memory-lab/assess.ts 004-slug
bun scripts/benchmarks/memory-lab/status.ts
bun scripts/benchmarks/memory-lab/qualify-api.ts # invented controls; direct-API setup onlyThe reader profile xcb-claude-haiku-lab-reader takes its system instruction from the experiment; the user message is
byte-identical to the registered contracts, so no question metadata enters the prompt. Do not switch the checkout the
lab imports from while a run is live.
For Gemini/xAI, read the API setup. Use the user's explicit combined spending cap, one shared ledger for qualification/readers/judges, fixed model settings and fresh qualification. Keep credentials in environment variables. Resolve development inputs and exposure evidence before dispatch; missing inputs never authorize opening a sealed set. Do not reuse subscription cells in an API experiment.
Publish notable results
When fresh confirmation meets a preregistered notable-result threshold and establishes statistically supported
superiority or noninferiority to an explicitly named, relevant external comparison target, update README.md,
the marketing site in site/, and the relevant docs/ and benchmarks/ pages in the same reviewed
change. Require a preregistered effect threshold or noninferiority margin, a sample-size rationale, fresh confirmation,
matched comparison conditions, appropriate uncertainty/multiple-comparison analysis, retained failures and independent
review. State the model, sample, date, protocol and main limit beside the result, and link the reproducible evidence.
Follow STYLE.md's benchmark-results rule. Local baseline improvements, routine screen gains, a small pilot or a champion promotion alone do not
trigger marketing updates. Keep those results in the lab notebook until this evidence threshold is met.
Guardrails
- Freeze plan, preregistration and instruction bytes before any call; never edit a frozen experiment.
- Sealed holdouts, unused BEAM families and the 10M split stay unread; they are for paid, separately preregistered claims.
- Winners become registered reader contracts through a normal PR before any paid Gateway confirmation.
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.

