Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

autoresearch自动研究

Agent Skill

autoresearch 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,043

周安装

86

GitHub Stars

11

下载量

716
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:autoresearch(自动研究)
来源仓库:https://github.com/akillness/oh-my-skills
仓库路径:skills/autoresearch
安装命令:
npx skills add https://github.com/akillness/oh-my-skills --skill autoresearch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-skills --skill autoresearch

简介

用于查找、检索和筛选相关信息,支持关键词驱动的任务场景。

  • 适合快速定位候选结果,建立可复现的研究流程。
  • 采用封闭循环 ML 实验模式,控制时间与资源消耗。
  • 安装命令:npx skills add https://github.com/akillness/oh-my-skills --skill autoresearch。
  • 使用前建议确认是否具备 GPU 环境和运行预算限制。

SKILL.md

autoresearch

Autoresearch is a closed-loop ML experimentation workflow:

  • human writes program.md
  • agent edits train.py
  • prepare.py stays fixed
  • every run gets the same 300-second budget
  • lower val_bpb wins
  • regressions get reverted

This skill should behave like a routing-first front door, not a giant tutorial. Pick the user's mode, enforce the immutable-harness rules, then hand them to the smallest useful script or reference.

When to use this skill

  • Set up karpathy/autoresearch on a real GPU machine
  • Write or refine program.md before a session
  • Run a bounded overnight train.py search loop
  • Interpret results.tsv after a session
  • Adapt the workflow to tighter VRAM constraints without invalidating comparisons
  • Explain the ML-specific boundary between autoresearch and nearby eval tooling

Do not use this skill when

  • The user wants to optimize a SKILL.md, prompt, or repo-local workflow with frozen prompts/evals — use skill-autoresearch
  • The user wants app-level tracing, dataset-backed LLM evals, feedback review, or observability — use LangSmith, Braintrust, Weave, Promptfoo, or similar tools
  • The job does not involve a real training repo, program.md, train.py, fixed runtime budget, and val_bpb keep/revert ratcheting
  • The user is really asking for a paper survey, general benchmark scan, or literature review with no intention to run the training loop

Core boundary

Concernautoresearch ownsRoute elsewhere
Mutable targettrain.py in a real training repoprompts, app configs, SKILL.md, product behavior
Fixed evaluatorprepare.py, validation shard, TIME_BUDGET=300, chosen MAX_SEQ_LEN / EVAL_TOKENS for the sessionprompt/eval datasets, app scorecards, observability dashboards
Acceptance rulekeep only lower val_bpb; revert ties/regressionshuman review queues, app-level release gates
Main artifactsprogram.md, results.tsv, kept/discarded commitsprompt suites, traces, feedback datasets

If that boundary does not fit, do not stretch this skill.

Required intake packet

Before acting, identify:

  1. Mode — setup, program.md, run loop, results interpretation, or constrained hardware
  2. Repository state — cloned or not, dependencies installed or not
  3. Hardware state — GPU / VRAM / CUDA / MLX / Windows path
  4. Session state — first baseline, active loop, or completed run
  5. Constraint state — target VRAM ceiling, whether prepare.py has already been frozen for this session

Instructions

Step 1: Pick exactly one operating mode

Choose the smallest mode that answers the request:

  1. Setup readiness

- install uv - clone repo - sync dependencies - verify GPU/CUDA/uv with scripts/check-hardware.sh - run the first baseline experiment

  1. program.md authoring

- write or refine the human research charter - record current baseline val_bpb - prioritize hypotheses - list what has already been tried - freeze constraints before the loop starts

  1. Bounded run loop

- confirm the evaluator is already fixed - use train.py as the only mutable search surface - run the loop with keep/revert discipline - log every experiment to results.tsv

  1. Results interpretation

- summarize best kept runs - identify repeated failures or crash patterns - extract what belongs in the next program.md - distinguish genuine gains from one-off anomalies

  1. Constrained-hardware adaptation

- set MAX_SEQ_LEN and EVAL_TOKENS before the session - keep them unchanged once the session starts - adjust model/search strategy instead of cheating the evaluator mid-run - route to community forks when CUDA assumptions do not hold

Do not answer all five modes at once unless the user explicitly asked for a full end-to-end walkthrough.

Step 2: Re-state the immutable harness

Every mode must preserve these rules:

  • program.md is human-authored and read-only during a session
  • train.py is the main mutable search surface
  • prepare.py is read-only once the session starts
  • TIME_BUDGET=300 stays fixed
  • val_bpb is the main keep/revert metric
  • results.tsv is append-only
  • dependency set in pyproject.toml stays locked

If the user wants to change the evaluator, start a new comparison track, not the current session.

Step 3: Execute the chosen mode

Mode A — Setup readiness

Use this path when the repo is not yet runnable.

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/karpathy/autoresearch
cd autoresearch
uv sync
bash scripts/check-hardware.sh
uv run prepare.py
uv run train.py > run.log 2>&1
grep "^val_bpb:\|^peak_vram_mb:" run.log

Success condition: one baseline run completes and prints both val_bpb and peak_vram_mb.

Mode B — program.md authoring

Use this path when the loop exists but direction is weak.

Minimum sections:

  • goal tied to lower val_bpb
  • current baseline val_bpb
  • directions to explore in priority order
  • what has been tried already
  • constraints: TIME_BUDGET=300, no prepare.py mutation, no new packages, VRAM ceiling, one meaningful change per experiment

For fuller templates and update patterns, use references/program-md-guide.md.

Mode C — Bounded run loop

Use this path only after setup and program.md are ready.

Loop contract:

  1. read program.md + current train.py
  2. form one hypothesis
  3. edit train.py
  4. commit
  5. run one 300-second experiment
  6. extract val_bpb
  7. keep if improved, otherwise git reset HEAD~1
  8. append result to results.tsv

Typical commands:

bash scripts/run-experiment.sh
bash scripts/run-loop.sh --max 20 --desc "session-1"

Do not encourage multi-change hero rewrites. Clean ablations matter more than flashy edits.

Mode D — Results interpretation

Use this path after a completed run or checkpoint.

Helpful commands:

bash scripts/show-results.sh --top 10
awk -F'\t' '$4=="keep"' results.tsv | sort -t$'\t' -k2 -n
awk -F'\t' '{print $4}' results.tsv | sort | uniq -c

Summarize only four things: best gains, repeated failures, what should move into What Has Been Tried, and the next narrow experiment family.

Mode E — Constrained-hardware adaptation

Use this path when VRAM, platform, or runtime constraints dominate.

Rules:

  • choose MAX_SEQ_LEN and EVAL_TOKENS before the session
  • never change them mid-session
  • lower model/search ambition before mutating the evaluator
  • prefer route-outs to community forks for Apple Silicon / non-CUDA paths

For concrete values and troubleshooting, use references/hardware-config.md.

Step 4: Route out aggressively when the request is adjacent

Route out when:

  • the user wants to optimize instructions, prompts, or repo-local skills → skill-autoresearch
  • the user wants app-level traces, feedback review, observability, or online/offline eval dashboards → LangSmith / Braintrust / Weave / Promptfoo
  • the user wants general literature synthesis rather than a runnable ML loop → research or survey tooling

Step 5: Keep the heavy detail in support files

Use support files instead of re-explaining everything inline:

  • references/operating-modes-and-route-outs.md — fast routing table, minimal response shape, and handoff logic
  • references/architecture.md — immutability contract, file map, metric rationale
  • references/program-md-guide.md — templates and update rules
  • references/hardware-config.md — VRAM tables and platform troubleshooting
  • scripts/*.sh — runnable setup / loop / reporting helpers

Available scripts

Run from inside the autoresearch repository directory:

ScriptPurposeUsage
setup.shOne-time environment setupbash scripts/setup.sh [--seq-len 512]
run-experiment.shSingle 5-minute experiment + metric extractionbash scripts/run-experiment.sh
run-loop.shAutonomous loop: run → keep/revert → repeatbash scripts/run-loop.sh [--max 20]
show-results.shHuman-readable results.tsv reportbash scripts/show-results.sh [--top 10]
check-hardware.shGPU/CUDA/uv readiness check (JSON output)bash scripts/check-hardware.sh

References

Detailed documentation in references/:

FileContents
references/operating-modes-and-route-outs.mdMode picker, adjacency boundaries, and minimal output contract
references/architecture.mdSystem design, immutability contract, git ratcheting, metric rationale
references/program-md-guide.mdHow to write and update effective program.md directives
references/hardware-config.mdVRAM settings by GPU, memory optimization, platform troubleshooting

Examples

Example 1: First 40GB GPU session

Request: “Help me run Karpathy autoresearch on a 40GB GPU.”

Expected behavior:

  • choose Setup readiness first
  • verify hardware and dependencies
  • run one baseline experiment
  • route to program.md authoring only after the baseline exists

Example 2: User wants to optimize a skill instead

Request: “Can autoresearch help me improve this SKILL.md with binary evals?”

Expected behavior:

  • route out immediately to skill-autoresearch
  • explain that this skill is for real ML training search on train.py

Best practices

  1. Start with the smallest mode that fits — setup, authoring, run loop, interpretation, or hardware adaptation
  2. Baseline before bravado — confirm one successful run before talking about overnight loops
  3. Freeze the evaluator before the sessionprepare.py, TIME_BUDGET, MAX_SEQ_LEN, and EVAL_TOKENS must stay comparable
  4. One meaningful experiment at a time — ablations beat mystery bundles
  5. Keep results.tsv append-only — discarded runs are still evidence
  6. Push deep detail into references/scripts — the front door should classify and route, not duplicate every table
  7. Route adjacent jobs away early — prompt/app eval and SKILL.md optimization are different lanes

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.02%
按下载量换算236

Claude

30.5%
按下载量换算218

Cursor

20.04%
按下载量换算143

Gemini CLI

10.14%
按下载量换算73

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills