lab
Skill2 starsChanged 5 days agoMITView on GitHub
Tier 3 empirical research, hard-bug diagnosis, and autonomous optimization loop. Use when the user says "tier 3", "lab", "deep lab", "autoresearch", "research loop", "overnight lab", or "spike", or when investigating flaky tests, regressions, or hard bugs whose root cause stays unclear after a quick check.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- Totopo27/skillstheir own version, first seen Nov 29, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Nov 29, 2026
- officialunofficial/skillstheir own version, first seen Nov 29, 2026
- Thoven-CORP/agent-skillstheir own version, first seen Nov 29, 2026
- ryanportfolio/HarnessFirmware.comtheir own version, first seen Nov 28, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Nov 17, 2026
Used with
Projects with it also use addskill, apply-firmware and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.
Also in 6 projects that use this
ryanportfolioSkillapply-firmware
Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.
Also in 6 projects that use this
- +10 more from ryanportfolio
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- raphaelsalaja/skills★ 72same name
- officialunofficial/skills★ 7same name
- ryanportfolio/winuse-mcp★ 2same name
- sanmidable/skills★ 2same name
- NobiResearch/Ovenbird★ 1same name
- orkait/hyperstack★ 1same name
- ryanportfolio/Corewise.Academy★ 1same name
- ryanportfolio/Harness-Firmware★ 1same name
- ryanportfolio/savetokens★ 1same name
- ryanportfolio/STK★ 1same name
6 more not listed
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 repository10 other files it gives its agents.
- ambitionSkill
- councilSkill
- editorial-writingSkill
- featureSkill
- local-llmSkill
- plain-writingSkill
- prSkill
- quickSkill
- reviewSkill
- ui-workbenchSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Rawest source & real instruments: run on raw logs, traces, or representative dev inputs rather than pre-digested summaries (never the …
- Distinctive: line 34
No harness, no theories: if you cannot build a runnable signal, stop, list what you tried, and ask the user for traces, fixtures, or access.
- Very specific: line 49
Adversarial cross-check: run review (or a fresh read-only subagent / council seat from a different provider than the winner) checking for …
- Distinctive: line 62
Hard stop: stop once a verified result clears the threshold or the round cap hits.
- Very specific: line 69
Delete throwaway worktrees, scratch scripts/state, and [DEBUG-...] logs.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lab (Tier 3)
Falsification-driven loop for uncharted problems, hard bugs, and performance or accuracy optimization. Runs beat opinions: never theorize or debate what a fast experiment can measure.
Modes
- Standard (
lab,spike, hard bugs — default): 2–3 rounds for hard bugs, flakes, and localized regressions. Run Steps 1–6 below directly. - Deep / Autoresearch (
deep lab,autoresearch,research loop,overnight lab, open-ended metric goals): Loadreferences/deep-loop.mdbefore Step 1 for$LAB_DIRstate, 3-angle Phase 0 survey, multi-roundlab/<slug>evolution, stall-breaker, and non-stop rules.
1. Question card & budget
Inherit any ambition Reframed Brief or finished grill-me decisions (map raw inputs/instruments to Gate 0 and outside judge to Signal/Step 6 holdout). State in ≤8 lines before fanning out:
- Decision: what choice or fix this informs.
- Signal: the exact metric or red/green symptom and acceptance threshold.
- Control: base commit SHA and baseline measurement.
- Write scope: choose one before Gate 0:
read-only(required in Plan mode or explicit read-only asks): stop after read-only recon/profiling and propose the harness + experiment plan for approval — do not create branches, commit fixtures, or edit files.benchmark-only: run Gate 0 + isolated experiments, then stop with verified findings and clean up scratch worktrees (skip Step 6 promotion).experiment + promote: run full loop through Step 6 clean promotion.
- Budget: defaults are max 3 concurrent delegates, max 2–3 rounds (8 rounds in Deep mode), and zero paid compute (get explicit approval before paid GPU/cloud spend).
2. Gate 0 — Harness & noise floor first
Build or name one fast, runnable command (failing test, replay script, curl, benchmark, profiler, or telemetry query) and run it on the control before generating hypotheses:
- Red-capable & calibrated: fails on the exact symptom or prints
METRIC=<value>deterministically. For flakes, raise repro rate with stress/loops first; for noisy timing/ML benchmarks, run 2–3× on control to record the noise floor (±δ) and require candidates to beat control beyond±δ. - Rawest source & real instruments: run on raw logs, traces, or representative dev inputs rather than pre-digested summaries (never the promotion holdout), and use real field instruments (profiler, solver, statistical test, simulator) instead of toy proxies.
- Minimised, shared & locked: strip unrelated steps until every piece is load-bearing. Commit new tests/fixtures on a working branch as the control SHA (or keep external replay scripts in shared scratch by absolute path); workers may never edit tests, fixtures, tolerances, or the eval harness.
- Redacted: scrub secrets (
<REDACTED>) before showing commands or outputs. - No harness, no theories: if you cannot build a runnable signal, stop, list what you tried, and ask the user for traces, fixtures, or access.
3. Diverge in isolated worktrees
Generate 3–5 falsifiable hypotheses (If X, changing Y produces Z) rooted in the underlying mechanism and hard invariants — include at least one structural change alongside incremental tweaks. Show the ranked list to the user (don't block if they are AFK or in Deep mode).
Isolate each experiment from the committed control (or current frontier commit in Deep mode):
- Multi-provider / worktree harnesses: select seats per
council§ Seats (fallback: 1 flagship per distinct provider athigheffort) and launch parallel worktrees (delegate_taskwithisolation: "worktree"in T3 Code;Agentwithisolation: "worktree"in Claude Code). Give each seat a distinct hypothesis (never duplicate prompts). - Single-provider fallback: state single-provider mode explicitly and test distinct hypotheses via fresh subagent worktrees or sequential
git worktreecheckouts from the same base SHA. - Pass the exact eval command and require a ≤15-line reply: hypothesis, commit/diff summary (
+added/-removed), command run, raw output/numbers, and lesson learned.
4. Verify & cross-examine
- Never trust self-reported numbers: the coordinator re-runs viable candidates' exact command in ranked order against the control baseline and verifies tests/fixtures/harness were untouched.
- Simplicity tie-breaker: discard complex special-case diffs that only move the metric within
±δ; prefer code-deleting simplifications at equal metric. - Adversarial cross-check: run
review(or a fresh read-only subagent /councilseat from a different provider than the winner) checking for benchmark-overfitted hotfixes, reward hacking, and broken callers. - Kill losers fast: cancel or discard branches that miss the threshold or stall (e.g.
task_cancelin T3 Code).
5. Experiment ledger & stop rules
Track every run in one compact table:
| # | Hypothesis | Change (+/−) | Metric vs control | Verdict |- Change one variable per run; tag temporary debug logs
[DEBUG-<id>]so one grep cleans them all. - Pivot cap: in Standard mode, if 2 consecutive runs fail to move the metric beyond
±δ, stop and re-frame the bottleneck and baseline assumptions with the user (in Deep mode, run the automated stall-breaker inreferences/deep-loop.mdfirst). - Hard stop: stop once a verified result clears the threshold or the round cap hits. "Inconclusive" with verified numbers is a valid outcome.
6. Clean promotion
For benchmark/read-only runs, stop after reporting verified numbers and clean up scratch worktrees. When promotion is in scope, a winning spike only proves the approach:
- Re-implement the winner minimally on a clean branch with a regression test at the real call-site seam (if no seam exists, report that architectural gap).
- Re-run the original un-minimised Gate 0 suite or promotion holdout check to prove generalization.
- Delete throwaway worktrees, scratch scripts/state, and
[DEBUG-...]logs. - State the proven cause and measured result in the commit or PR description; ship through
pronly when asked.
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.

