一键导入
autoresearch
Autonomous experiment loop — modify code, measure, keep or discard, repeat indefinitely. Based on Karpathy's autoresearch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Autonomous experiment loop — modify code, measure, keep or discard, repeat indefinitely. Based on Karpathy's autoresearch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Control message formatting and writing style for Lark/Feishu conversations.
Create, query, edit, and manage Feishu Bitable (multidimensional spreadsheets) via lark-cli base — apps, tables, fields, records, views, dashboards, forms, workflows.
Manage Feishu calendar events via lark-cli — create/update/delete events, manage attendees, query free/busy and suggest available time slots, find and book meeting rooms.
List Feishu group chat members and resolve chat metadata via lark-cli.
Create a Feishu cloud document from Lark-flavored Markdown via lark-cli, with optional folder or wiki placement.
Comment management and media (image/file) operations on Feishu cloud documents via lark-cli.
| name | autoresearch |
| description | Autonomous experiment loop — modify code, measure, keep or discard, repeat indefinitely. Based on Karpathy's autoresearch. |
| triggers | {"intent_patterns":["autoresearch|experiment loop|autonomous experiment|自动实验"],"context_signals":{"keywords":["autoresearch","experiment","optimize","benchmark","实验循环"]},"confidence_threshold":0.6} |
| priority | 8 |
| requires_tools | ["bash"] |
| max_tokens | 200 |
| cooldown | 60 |
Autonomous experiment loop. You modify code, measure a metric, keep improvements, discard regressions. Loop forever until the human stops you.
Based on Karpathy's autoresearch. The agent IS the loop — no external orchestration.
Ask the user for ALL of the following in ONE message:
1. scope — file glob to modify (e.g. "train.py", "src/**/*.rs")
2. metric_cmd — shell command that prints a single number to stdout
3. direction — "lower_is_better" or "higher_is_better"
4. guard_cmd — [optional] must exit 0 to keep a change (e.g. "cargo clippy ...")
5. time_budget — [optional] seconds per experiment, default 300
6. mode — [optional] "unbounded" (default) or "bounded(N)"
7. branch_tag — [optional] tag for autoresearch/<tag> branch, default today's date
After collecting answers:
git status --porcelain is empty)git checkout -b autoresearch/<tag>metric_cmd — must produce a parseable numberguard_cmd (if provided) — must exit 0autoresearch-results.tsv with header row (add to .gitignore)Read the full protocol: $SKILL_DIR/references/loop-protocol.md
Summary:
LOOP FOREVER:
1. Review — read results.tsv (last 20), git log --oneline -20
2. Modify — edit scope files with ONE experimental idea, git commit
3. Run — metric_cmd > run.log 2>&1 (timeout = 2x time_budget)
4. Evaluate — extract metric, run guard if present, compare to best
5. Decide — improved? KEEP. Not improved? REVERT. Crashed? fix or skip
6. Log — append results.tsv
→ GOTO 1
> run.log 2>&1 — never flood context with experiment output.scope.$SKILL_DIR/references/loop-protocol.md — Phase-by-phase protocol with exact commands$SKILL_DIR/references/results-format.md — TSV column spec and examples