researcher
Skill265 starsChanged 2 months agoMITView on GitHub
Use when user wants to optimize or tune something measurable through repeated experiments — "make X faster", "improve [metric]", "find best config", "iterate overnight", "run experiments until it hits N". Triggers on quantitative goals (build time, latency, pass rate, accuracy) or qualitative ones scoreable against a rubric (prompt quality, doc parsing). Skip for one-shot bugs with a clear fix or tasks where the user wants direct implementation without exploration.
- Deletes or force-pushes
25 other projects use a version of this.
Adopted by
Most recently taken up by
- Mazalucas/El-DT-Lightweight-Armytheir own version, first seen Oct 5, 2026
- AhmedAbdelfattah0/AI-Skillstheir own version, first seen Sep 28, 2026
- hemapriyan-rk/claude-rigor-skillstheir own version, first seen Sep 26, 2026
- KUNDURUHIMANEESHREDDY/sabertheir own version, first seen Sep 21, 2026
- calven-ai/marketing-as-codetheir own version, first seen Sep 16, 2026
- timscheuerai/gtm-architecture-templatetheir own version, first seen Sep 14, 2026
Used with
Projects with it also use cost-reducer, trigger-dev 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.
daianepepes-labSkillcost-reducer
Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.
Also in 5 projects that use this
xfstudioSkilltrigger-dev
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.
Also in 4 projects that use this
daianepepes-labSkillknow-me
Build and maintain persistent memory about the user — preferences, context, decisions, and working style. Use when asked to remember something, recall past context, or update user profile.
Also in 5 projects that use this
vikneshwaran16032005-altSkillbuild-premium-website
Build a premium, animated marketing website (React + Vite + Tailwind + GSAP) for any industry. Use when the user asks to "build a website", "make a landing page for [business]", "build a marketing site", or wants a high-end animated company website. Adapts color, copy, services, and signature animation to the industry.
Also in 3 projects that use this
vikneshwaran16032005-altSkillinstantly-campaign
Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.
Also in 3 projects that use this
ffsshhttiikkSkillscalability
Core foundational concepts and principles for Scalability
Also in 4 projects that use this
- +1 more from daianepepes-lab
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- keli-wen/agy-staff★ 715same name
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- svy04/ballast★ 74same name
- AlekseiUL/heisenberg-team★ 17same name
- maher-naija-pro/claude-researcher★ 15same name
- timscheuerai/gtm-architecture-template★ 12same name
- AlekseiUL/heisenberg-team-GPT★ 9same name
- calven-ai/marketing-as-code★ 8same name
- AhmedAbdelfattah0/AI-Skills★ 4same name
- daianepepes-lab/claude-skills★ 4same name
15 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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 14 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Commit before running. Log before resetting.
- Distinctive: line 13
Follow ALL guardrails (discard streaks, plateau, re-validation).
- Very specific: line 30
Always protect .lab/. When cleaning the repo, use targeted commands that preserve untracked directories.
- Very specific: line 36
Check if .lab/ already exists in the project root.
- Very specific: line 39
Read .lab/config.md, .lab/results.tsv, .lab/branches.md, and tail of .lab/log.md
- Distinctive: line 41
Ask: resume or start fresh?
- Distinctive: line 51
Before any experiment, understand the problem.
- Distinctive: line 70
Use a compact table. If something is default, say “default” rather than restating details.
- Distinctive: line 98
Convergence signals: check against current state
- Very specific: line 116
Lab-only experiments: only touch .lab/ or files outside scope.
- Distinctive: line 173
When the user intervenes: accept the direction, log the intervention, continue.
- Very specific: line 187
Always consider results from ALL branches when thinking.
- Distinctive: line 191
When forking due to stagnation, you are probably stuck in a local optimum.
- Distinctive: line 203
When the current metric is flawed — dimensions are unmeasurable from output, scale doesn't differentiate quality, or rubric misses what …
- Distinctive: line 217
When termination is met or user interrupts:
- Very specific: line 230
When the primary metric is qualitative, define a rubric in .lab/config.md during Phase 2:
- Distinctive: line 233
Use a consistent scale (e.g., 1–10)
- Distinctive: line 240
When the metric is qualitative (agent judgment), a single evaluator introduces bias — the same agent that made the change also judges it.
- Distinctive: line 298
measure: Must post-process raw output (awk/jq) to emit EXACTLY one numeric value.
- Distinctive: line 305
Check-before-ignore (context filters only): Verify context / token-hygiene ignore patterns (e.g., tool-specific context-ignore files) don't …
“Common” is measured: kept by at least 6 in 10 of the 20 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
Researcher — Autonomous Experimentation Skill
<critical>
Non-negotiable rules — every real experiment, no exceptions:
1. Commit before running. Log before resetting. Reset on discard. Each branch holds only keeps.
2. Protect `.lab/` — it is the single source of truth.
3. Work autonomously — only consult the user for scope violations or true dead ends.
4. Follow ALL guardrails (discard streaks, plateau, re-validation). They are mandatory, not suggestions.
</critical>You are entering researcher mode. This skill is for YOU — the main agent. You orchestrate the entire research process: planning, implementing, committing, measuring, logging. When you need independent work done (evaluation, analysis), you spawn subagents with specific, scoped tasks. You control what each subagent knows through the prompt you give it.
You have complete freedom in how you navigate the problem space. The strategies and signals later in this document are tools when you need them, not rails you must follow.
.lab/ is Sacred
.lab/ is an untracked, local directory — the single source of truth for all experiment history. It survives all git operations because it is in .gitignore. Git manages code state. .lab/ manages experiment knowledge. They are independent.
Structure:
.lab/config.md,results.tsv,log.md,branches.md,parking-lot.md— experiment metadata.lab/workspace/— scratch space for experiment files (scripts, test data, generated output, per-experiment subdirectories). Create whatever you need here — it's yours, untracked, and safe from git operations.
Always protect .lab/. When cleaning the repo, use targeted commands that preserve untracked directories. When resetting, use git reset and git checkout which leave .lab/ intact.
Phase 0: Resume Check
Check if .lab/ already exists in the project root.
If it exists:
- Read
.lab/config.md,.lab/results.tsv,.lab/branches.md, and tail of.lab/log.md - Present a summary: objective, metrics, active branches, experiment counts, current best vs baseline, last experiment status
- Ask: resume or start fresh?
- Resume → checkout the active branch, pick up from next experiment number, jump to Phase 3
- Start fresh → archive to
.lab/archives/<slug>/(slug from the existingresearch/<slug>branch; if it collides, suffix with-<timestamp>), then clear all other entries in.lab/and proceed to Phase 1
If it does not exist: proceed to Phase 1.
Phase 1: Discovery
Before any experiment, understand the problem. Ask these questions conversationally — skip what's obvious from context, use the defaults shown when the user has no preference:
- Objective — What are we trying to achieve?
- Metrics — How do we measure success?
- Primary metric (required): drives keep/discard decisions
- Quantitative: a command that outputs a number
- Qualitative: agent judgment against a rubric (see Qualitative Rubric below). Before building the rubric, ask the user: (A) "I know my criteria" — user provides them, or (B) "Help me figure it out" — generate a focused research prompt the user runs in an external tool, then build the rubric from the results instead of assumptions.
- Secondary metrics (optional): tracked for context, don't drive decisions unless primary is tied
- For each: name, measure command (or "agent judgment"), direction (lower/higher is better)
- Primary metric (required): drives keep/discard decisions
- Scope — What files/areas can we modify?
- Constraints — What is off-limits?
- Run command — How do we execute one experiment? Single command or chain (entire chain must succeed). May be omitted for qualitative-only research.
- Wall-clock budget per experiment — Maximum time a single experiment run may take before being killed. Default: 5 minutes.
- Token Hygiene — Incorporate ecosystem-specific ignore/rules files (for example,
.claudeignore,.cursorrules, or other tool-specific config files) and helper scripts to save on token usage. If yes, then what agentic ecosystem are we using? - Termination — When do we stop? Default: infinite (run until user interrupts or target is reached). Do not self-impose experiment limits. If the session ends (context limit, interruption),
.lab/persists — the next session resumes via Phase 0.- Target value: stop when primary metric reaches X
- Experiment count: stop after N experiments (only if the user explicitly requests it)
Once you have answers, repeat the configuration back minimally and get explicit confirmation before proceeding. Use a compact table. If something is default, say “default” rather than restating details.
Phase 2: Lab Setup
After confirmation:
- Branch — Create
research/<slug>from current HEAD. - Lab directory — Create
.lab/in the project root. - Config file — Write
.lab/config.mdwith all agreed parameters (objective, metrics with measure commands and directions, run command, scope, constraints, wall-clock budget, termination condition, baseline and best placeholders). - Results log — Create
.lab/results.tsvwith tab-separated columns:experiment,branch,parent,commit,metric,secondary_metrics,status,duration_s,description. Status values:keep,discard,crash,thought,keep*,interesting. - Iteration log — Create
.lab/log.md - Parking lot — Create
.lab/parking-lot.mdfor deferred ideas - Branch registry — Create
.lab/branches.mdwith columns: Branch, Forked from, Status, Experiments, Best metric, Notes - Workspace — Create
.lab/workspace/for scratch files (scripts, test data, generated output). Use per-experiment subdirectories (e.g.,.lab/workspace/exp-3/) when needed. - Token Hygiene — If not skipped, initialize
.lab/bin/with minimalist helpers (run,measure,data_head) and ecosystem-specific ignore files. Follow the [Token Hygiene Standards] (#token-hygiene-standards) below. - Git ignore — Add
.lab/andrun.logto.gitignore. - Baseline — Record experiment #0 with NO changes. For quantitative: run the measure command. For qualitative: evaluate the current artifact using the Multi-Evaluator Protocol (3 subagents). Fill in baseline in config.
- Start — Begin autonomous work immediately. No announcements needed.
Phase 3: Autonomous Research
Flow: THINK → TEST → REFLECT → repeat
THINK — Before anything, read: .lab/results.tsv, .lab/log.md (last 5 entries if 20+), .lab/branches.md, .lab/parking-lot.md, and in-scope source files. Re-read the critical rules at the top of this document and the guardrails in the Execution Discipline section. Then write a ## THINK — before Experiment N entry in .lab/log.md covering:
- Convergence signals: check against current state
- Untested assumptions: what am I assuming that I haven't tested? Have I tried the opposite of what's currently working? (e.g., if adding detail improved the score, what happens if I simplify instead?)
- Invalidation risk: could earlier findings be invalidated by recent changes? (e.g., after changing B, re-test assumptions made when only A was changed)
- Next hypothesis: what will I test and why
The log entry is mandatory — it is the evidence that you stopped to think. Without it, the THINK phase didn't happen. Stay as long as productive.
TEST — Implement, run, measure. Verify hypotheses. Follow execution discipline (below). Stay as long as you're generating new data.
REFLECT — What confirmed? What surprised? What breaks your model? Log everything. Update parking lot.
Execution Discipline
<critical>
These rules apply to every real experiment without exception. All git operations (commits, resets, branch creation) are autonomous — do not ask the user for permission. They are systemic to the research process, not discretionary actions.
</critical>Repo-file experiments modify any file in scope (as defined in config). If you change a file that is in scope, it is a repo-file experiment — even if you "just want to test something quickly." No exceptions.
Lab-only experiments only touch .lab/ or files outside scope. The commit rules below apply to repo-file experiments. Lab-only experiments just need logging.
For every real experiment (code change + run):
- Commit BEFORE running (repo-file experiments only):
Next experiment number = highestexperiment #{N}: {short description} Branch: {research branch name} Parent: #{parent experiment number} Hypothesis: {one-line hypothesis}experimentin.lab/results.tsv+ 1. Keeps stay on the branch as permanent checkpoints. Discards are reset — their SHA is recorded inresults.tsvand remains accessible untilgit gcruns. Fork from discarded SHAs sooner rather than later. - Execute ALL measure commands (primary + secondary), record raw values
- Log first — write a structured entry to
.lab/log.mdand a row to.lab/results.tsv(including the commit SHA). This must happen before any reset. - Then decide:
- KEEP — metric improved above 0.1% noise threshold, or equal with simpler code
- KEEP* — primary improved but secondary significantly regressed (log the trade-off, note in commit or lab log)
- DISCARD — metric equal or worse →
git reset --hard HEAD~1. The commit disappears from the branch but its SHA is in.lab/results.tsv. Want to revisit a discarded idea? Fork a new branch from that SHA. - INTERESTING — metric didn't improve, but result reveals something valuable → keep or reset, your call
- CRASH —
git reset --hard HEAD~1. Only read last 50 lines ofrun.logor grep for patterns.- Trivial (typo, missing import): fix and re-run ONCE
- Fundamental (OOM, missing dependency): log, reset, move on
- 3+ crashes in a row: rethink the approach entirely
- TIMEOUT — kill, log as crash (metric = 0.000000), reset. 2+ in a row: reassess viability.
- Guardrails (after every decide/reset):
<critical>3+ discards in a row: STOP. Write a## 3-Discard Guardrail — after Experiment Nentry in.lab/log.mdreviewing convergence signals and documenting why you are continuing vs. forking. This entry is mandatory — without it, you cannot proceed to the next experiment.</critical><critical>5+ discards in a row: Fork is the default action. Write a## 5-Discard Fork — after Experiment Nentry in.lab/log.md. Before forking, check.lab/parking-lot.md— if there are untested ideas there, try one first. Otherwise, to stay on the current branch, you must name a specific, untested hypothesis that is NOT a variant of what you already tried. If you cannot, fork — and follow the strategy diversification rules below.</critical>- Global best unchanged for 8+ real experiments: You are on a plateau. Fork from baseline (#0) with inverted assumptions — follow the strategy diversification rules. This triggers even if individual experiments are keeps (fine-tuning that barely moves the needle is still a plateau).
<critical>Every 10th real experiment (experiment #10, #20, #30...): before running the next experiment, re-run current HEAD and compare to recorded best. Log the re-validation result in.lab/log.mdas## Re-Validation after Experiment N. If regressed >2%, log drift and consider forking from the best experiment. This is mandatory — do not skip.</critical>
For every thought experiment: Log with status thought in both files.
Log entry format — each entry as a heading, followed by labeled fields (one per line or inline, your choice — just be consistent):
## Experiment N — <title>
Branch: ... / Type: thought|real / Parent: #M
Hypothesis: ...
Changes: ...
Result: ...
Duration: ...
Status: keep|discard|crash|thought|keep*|interesting
Insight: ...Autonomy
Default: complete autonomy. You do not return to the user with progress updates. You work, you log, the user observes.
Consult the user ONLY when:
- The only viable path requires modifying files outside agreed scope
- You have exhausted all strategies, branches, and parking lot ideas
When the user intervenes: accept the direction, log the intervention, continue.
Branching
The experiment history is non-linear. Fork branches to explore divergent approaches.
When to fork: fundamentally different approach from an earlier state, current branch stagnating, combining keeps from different branches into a new line of experimentation, or promising divergence.
How to fork:
- Pick a parent experiment from any branch. For keeps:
git log --oneline --grep="experiment #N:". For discards: find the SHA in.lab/results.tsv. git checkout <SHA>→git checkout -b research/<descriptive-slug>- Register in
.lab/branches.md(the "Forked from" column tracks genealogy — branch names don't need to encode it) - Continue — next experiment's parent is the forked-from experiment. Experiment numbers are global (not per-branch).
Always consider results from ALL branches when thinking. Mark exhausted branches as closed in .lab/branches.md.
Strategy Diversification
When forking due to stagnation, you are probably stuck in a local optimum. Tweaking the same variables from the same starting point will not escape it. Before creating the fork:
- Write an assumptions list in
.lab/log.md: what does the current best strategy assume? (e.g., "verbose prompts score better", "caching is the bottleneck", "users prefer shorter messages"). These are your current priors. - Choose a fork point deliberately:
- Fork from baseline (#0) when you want to explore a completely different region — this prevents anchoring to your current best.
- Fork from the best keep only when you want to refine or combine with a specific finding.
- Fork from a discarded experiment when it showed an interesting signal worth pursuing differently.
<critical>Invert at least one core assumption as the first experiment on the new branch. This is mandatory, not optional. If the current strategy assumes "more detail is better" — try minimal. If it assumes "aggressive caching" — try no caching. Not a minor tweak of the same approach. The whole point of forking is to discover whether a different region has a higher peak — you cannot discover this without going there. Invert means explore the opposite region, not the opposite extreme.</critical>- Name the branch after the strategy, not the parameter (e.g.,
research/low-alpha-approachnotresearch/tweak-delta).
Metric Revision
When the current metric is flawed — dimensions are unmeasurable from output, scale doesn't differentiate quality, or rubric misses what actually matters — revise it mid-series:
- Log the problem — in
.lab/log.md, describe what is wrong with the current metric and why (e.g., which dimensions always score neutral, what the metric fails to capture) - Define new metric — in
.lab/config.md, add a## Metric v2section (keep v1 intact). Include: date, what changed, rationale for each dropped/added/modified dimension - Re-score all keeps — evaluate every existing keep with the new metric. This is mandatory — without re-scoring, the trend in
results.tsvis meaningless because you cannot tell whether improvement came from the experiment or the metric change - Mark re-scored rows — append new rows to
results.tsvwith a version suffix on the experiment number (e.g.,2v2for experiment #2 re-scored under metric v2). Original rows stay untouched for audit - Continue — the new metric applies to all experiments from this point forward. Update baseline in config if re-scoring changed its value
Metric revision is expensive (re-scoring every keep), so do it once and get it right. If you suspect the metric is flawed, run a thought experiment first to confirm before triggering a full revision.
Phase 4: Wrap-Up
When termination is met or user interrupts:
- Re-validate — re-run from global best, confirm final metric. For qualitative metrics, use the Multi-Evaluator Protocol.
- Summary — write
.lab/summary.md: total experiments, keeps, discards per branch and global; best vs baseline; top 3 impactful changes; branch history; experiment genealogy; key insights; failed approaches; remaining parking lot ideas - Code state — checkout the branch containing the global best experiment. If it's on a closed branch, create a new branch from that experiment's SHA. Commit with message
research complete: {short description of best result}. - Report — present summary concisely
<reference name="qualitative-rubric">Qualitative Rubric
When the primary metric is qualitative, define a rubric in .lab/config.md during Phase 2:
- List 3–5 criteria with clear definitions
- Assign weights (sum to 1.0)
- Use a consistent scale (e.g., 1–10)
- Composite score =
sum(criterion_score × weight)
This composite becomes the quantitative proxy. Log it in results.tsv with per-criterion scores in log entries.
Multi-Evaluator Protocol
When the metric is qualitative (agent judgment), a single evaluator introduces bias — the same agent that made the change also judges it. To counteract this:
- Spawn at least 3 evaluator subagents per experiment. You (the main agent) spawn each one as a separate subagent call. Each evaluator is a fresh subagent with no shared context. You cannot evaluate the experiment yourself — you made the change, so you are biased.
- Each evaluator subagent receives only:
- The artifact/output to evaluate (e.g., the file content)
- The rubric (criteria, weights, scale)
- An instruction to return scores in a structured format
- Nothing else — no hypothesis, no experiment number, no prior scores, no context about what changed or why
- Aggregate — the experiment's score is the median of the evaluations (not the mean, to resist outliers). Log all individual scores in
.lab/log.md, median inresults.tsv. - Flag divergence — if any evaluator's total score differs from the median by more than 20% of the scale range, log it as a disagreement. Disagreements on 2+ experiments in a row suggest a rubric problem — consider metric revision.
This protocol is mandatory for qualitative metrics. Quantitative metrics (command output) do not need it.
Hypothesis Strategies
Tools when you're stuck, not a menu to follow. You have complete freedom to invent your own.
| Strategy | When it helps |
| Ablation — remove something | Unsure what's actually helping |
| Amplification — push what works further | After a keep |
| Combination — merge wins from separate experiments | Multiple keeps in different areas |
| Inversion — try the opposite | String of discards |
| Isolation — change one variable | Unclear what helped |
| Analogy — borrow from adjacent domains | Truly stuck |
| Simplification — remove complexity, preserve metric | Accumulated cruft |
| Scaling — change by order of magnitude | Small tweaks plateaued |
| Decomposition — split big change into parts | Promising change discarded |
| Sweep — test parameter across a range | Right value unknown |
Convergence Signals
| Signal | Meaning |
| 5+ discards in a row | Current approach exhausted |
| Thought experiments repeating | Go empirical |
| Results consistently confirm theory | Go deeper |
| Results contradict theory | Model is wrong — rethink |
| Metric plateau (<0.5% over 5 keeps) | Try something radically different |
| Same code area modified 3+ times | Explore elsewhere |
| Alternating keep/discard on similar changes | Isolate variables |
| 2+ timeouts in a row | Approach too expensive |
| Branch stagnating, other thriving | Switch or combine |
| Best results split across branches | Fork to combine |
| Change only tested in one direction | Test the opposite to confirm the assumption holds |
| 5+ discards with increasingly desperate variants | Locally optimal — fork from baseline, invert assumptions |
| All branches share the same core assumptions | Anchored — fork from baseline and invert |
| Global best unchanged for 8+ experiments | Plateau — fork from baseline with inverted assumptions |
| Dimension always scores neutral (e.g., 5/10) | Dimension unmeasurable — consider metric revision |
</reference><reference name="token-hygiene-standard">Token Hygiene Standards
1. Robust Helper Scripts (.lab/bin/)
- measure: Must post-process raw output (awk/jq) to emit EXACTLY one numeric value.
- Hard Rule: Must
tr -d '[:space:]'to strip invisible characters. - Hard Rule: Must exit non-zero if extraction fails or the underlying command fails.
- Hard Rule: Must
- data_head: Safe previewer. Use
headfor text. For dataframes (parquet/arrow), use apython -csnippet if dependencies exist; otherwise, fall back to a file metadata summary. Never dump raw binary.
2. Context Safety
- Never exclude from agent context
.lab/workspace/or any files explicitly listed in the research Scope via token-hygiene / context-ignore patterns. This is separate from version-control ignores (e.g., it is still correct to add.lab/to.gitignore). - Check-before-ignore (context filters only): Verify context / token-hygiene ignore patterns (e.g., tool-specific context-ignore files) don't accidentally blind the agent to required inputs.
</reference>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.

