jimezsa/opencolab/projects/SKILLS/autoresearch/SKILL.md
autoresearch
Iterative keep/discard experiment workflow over one explicitly configured repo, editable file, run command, and metric rule. Any agent may use it, but the `autoresearch` specialist is the default owner for sustained experiment-loop work.
- Source repository stars
- 11
- Declared platforms
- 0
- Static risk flags
- 2
- Last source update
- 2026-08-04
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
Use this skill for iterative experiment loops over one explicitly configured repo.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/jimezsa/opencolab --skill "projects/SKILLS/autoresearch"Inspect the Agent Skill "autoresearch" from https://github.com/jimezsa/opencolab/blob/f647b8e4c37a18b4bd3443bd4a8f5470ea1b9d09/projects/SKILLS/autoresearch/SKILL.md at commit f647b8e4c37a18b4bd3443bd4a8f5470ea1b9d09. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Required Repo Contract
Do not start the loop until these are explicit:
repopath: local path to the experiment repoeditablefilepath: the only file you may modifyruncommand: the command that launches one experiment run - 02
Core Rules
Work only inside the configured repo.
Work only inside the configured repo.Edit only the configured editable file unless the human explicitly changes the repo contract.Treat the configured metric rule as the source of truth for keep/discard decisions. - 03
Git Safety Boundary
Use a dedicated disposable branch or worktree for this loop.
keep or discard decisions may use branch rewindsdiscard operations are pre-approved for this workflownormal OpenColab safety rules still apply - 04
Minimal Loop
1. Confirm the repo contract. 2. Enter the configured repo and inspect the current baseline. 3. Ensure you are working in the dedicated disposable experiment branch or worktree. 4. Make one narrow change in the configured editable file. 5. Run the configured experiment command.…
Confirm the repo contract.Enter the configured repo and inspect the current baseline.Ensure you are working in the dedicated disposable experiment branch or worktree. - 05
Keep Or Discard Rules
Prefer simple decision logic:
keep the change when the metric improves under the configured direction rulediscard the change when the run fails or the metric regressesif the result is ambiguous, say so plainly and propose the smallest useful next experiment
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
a run fails when the command exits non-zero or the metric cannot be extractedRuns scripts
The documentation asks the agent to run terminal commands or scripts.
the run command is `uv run train.py`Writes files
The documentation asks the agent to create, modify, or delete local files.
Edit only the configured editable file unless the human explicitly changes the repo contract.Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 85/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 11 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- jimezsa/opencolab
- Skill path
- projects/SKILLS/autoresearch/SKILL.md
- Commit
- f647b8e4c37a18b4bd3443bd4a8f5470ea1b9d09
- License
- MIT
- Collected
- 2026-08-04
- Default branch
- main
View the original SKILL.md
Autoresearch Skill
Use this skill for iterative experiment loops over one explicitly configured repo.
This is a normal shared OpenColab skill. Any agent may use it when it is the right tool, but the built-in autoresearch specialist is the default owner for sustained experiment-loop work.
Required Repo Contract
Do not start the loop until these are explicit:
repo_path: local path to the experiment repoeditable_file_path: the only file you may modifyrun_command: the command that launches one experiment runmetric_rule: how to extract the metric and whether higher or lower is better
Optional:
results_file: repo-local results table or summary logbranch_prefix: disposable experiment branch prefix
Default failure rule:
- a run fails when the command exits non-zero or the metric cannot be extracted
Do not assume:
- the editable file is
train.py - the run command is
uv run train.py
Those are upstream examples, not OpenColab requirements.
Core Rules
- Work only inside the configured repo.
- Edit only the configured editable file unless the human explicitly changes the repo contract.
- Treat the configured metric rule as the source of truth for keep/discard decisions.
- Keep changes narrow and reviewable.
- Run one bounded experiment at a time.
- Keep artifacts in the experiment repo unless the user asks for a different handoff.
- If remote GPU execution is needed, combine this workflow with
projects/SKILLS/runpod-job/SKILL.md.
Git Safety Boundary
Use a dedicated disposable branch or worktree for this loop.
Inside that dedicated experiment branch or worktree:
- keep or discard decisions may use branch rewinds
- discard operations are pre-approved for this workflow
Outside that dedicated experiment branch or worktree:
- normal OpenColab safety rules still apply
- do not perform destructive git actions without approval
Minimal Loop
- Confirm the repo contract.
- Enter the configured repo and inspect the current baseline.
- Ensure you are working in the dedicated disposable experiment branch or worktree.
- Make one narrow change in the configured editable file.
- Run the configured experiment command.
- Extract the metric using the configured metric rule.
- Decide keep or discard.
- Record the outcome in the configured results file when one exists.
- Summarize the result and next useful step.
Keep Or Discard Rules
Prefer simple decision logic:
- keep the change when the metric improves under the configured direction rule
- discard the change when the run fails or the metric regresses
- if the result is ambiguous, say so plainly and propose the smallest useful next experiment
Do not overfit the loop with hidden heuristics.
Bounded Execution
Default to bounded batches, not indefinite unattended looping.
If the user wants longer-running work:
- say clearly how many iterations or how much time you intend to spend
- keep summaries concise
- resume in another turn when needed instead of pretending the loop is unbounded
Suggested Repo Contract Shape
Use a compact shape like this in planning notes, PROJECT-AND-TEAM.md, or the specialist's local files:
repo_path: research/autoresearch-demo
editable_file_path: train_gpt2.py
run_command: uv run python train_gpt2.py --eval-only
metric_rule:
source: stdout
pattern: "val_bpb=([0-9.]+)"
direction: lower_is_better
results_file: results.tsv
branch_prefix: autoresearch
Reporting Back
When you report results, include:
- repo and editable file used
- command run
- extracted metric or failure condition
- keep or discard decision
- short rationale
- recommended next action
If this is sustained experiment-loop work, route ownership back to the autoresearch specialist when available.
Progress Graph
When the repo contract includes a results_file, you may generate a progress plot with the bundled helper:
python3 projects/SKILLS/autoresearch/scripts/plot_progress.py \
--results results.tsv \
--metric-column val_bpb \
--direction lower \
--metric-label "Validation BPB" \
--output progress.png
Use the metric named by the repo's metric_rule. Set --direction lower or --direction higher to match the keep/discard rule. The input must be a delimited table with a header; the default columns are status and description, and the default output is progress.png.
The plot shows experiment number on the x-axis, the key metric on the y-axis, green kept experiments with shortened descriptions, gray discarded or otherwise non-kept experiments, and a running-best line. It focuses the y-axis from the baseline to the best kept metric by default; pass --include-all-y when outliers or regressions should remain visible. The helper requires matplotlib; install it in the experiment environment with python3 -m pip install matplotlib if needed.
Alternatives
Compare before choosing
Orchestra-Research/AI-Research-SKILLs
autoresearch
Orchestrates end-to-end autonomous AI research projects using a two-loop architecture. The inner loop runs rapid experiment iterations with clear optimization targets. The outer loop synthesizes results, identifies patterns, and steers research direction. Routes to domain-specific skills for execution, supports continuous agent operation via Claude Code /loop and OpenClaw heartbeat, and produces research presentations and papers. Use when starting a research project, running autonomous experimen
github/awesome-copilot
autoresearch
Autonomous iterative experimentation loop for any programming task. Guides the user through defining goals, measurable metrics, and scope constraints, then runs an autonomous loop of code changes, testing, measuring, and keeping/discarding results. Inspired by Karpathy's autoresearch. USE FOR: autonomous improvement, iterative optimization, experiment loop, auto research, performance tuning, automated experimentation, hill climbing, try things automatically, optimize code, run experiments, auton
AgriciDaniel/claude-obsidian
autoresearch
Run a bounded, source-grounded research loop, draft a cited dossier, and optionally propose a separately reviewed canonical vault merge. Use when the user wants autonomous or deep research that may access the public web. Triggers: /autoresearch, autoresearch, research this topic, deep dive into, investigate, find everything about, research and file, go research, build a wiki on.
xoai/sage
autoresearch
Autonomous iteration toward a measurable outcome. Use when the user wants to optimize a numeric metric through repeated modify-verify cycles — reduce bundle size, increase test coverage, improve query time, lower readability score. Not for exploratory research, subjective judgment, or tasks without a verification command.