Skip to content
Back to skills

Oh Memory Lab

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 30, 2026
ai-agentsrailsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add hraness/oh --skill oh-memory-lab --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Oh Memory Lab?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Oh Memory Lab
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hraness-oh-memory-lab/badge)](https://www.skillsdirectory.com/skills/hraness-oh-memory-lab)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oh-memory-lab
description: 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.
---

# 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](references/protocol.md) before the first cycle and [the research seeds](references/research-seeds.md)
when choosing a mechanism.

For new multi-cycle direct-API work, use [campaign v2](references/campaign-v2.md).
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](references/campaign-v3.md).
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:

```text
$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 experiments
```

## Commands

Run from the repository root with `OH_MEMORY_LAB` set:

```sh
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 only
```

The 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](references/api-setup.md). 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.

Files in this skill

  • SKILL.md4.4 KB
  • assets/profile.api.example.json969 B
  • assets/profile.example.json959 B
  • references/api-setup.md3.4 KB
  • references/campaign-v2.md4.3 KB
  • references/protocol.md5.5 KB
  • references/research-seeds.md676 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.