learnprompt/andrej-karpathy-skills/karpathy-autoresearch
Claude Code and agent skill by learnprompt/andrej-karpathy-skills
- community
Checking that the SKILL.md file is still in the repository.
Set up an autonomous research loop where an agent iterates on experiments, hypotheses, and code on git branches. Use this skill when the user wants to automate ML experiments, set up a research agent that self-improves, needs to run many variations of an experiment without manual intervention, or says "automate experiments", "agent research loop", "self-improving agent", "run hyperparameter search", "autoresearch". Based on Karpathy 28k-like AutoResearch post.
Install
npx vskill@latest install learnprompt/andrej-karpathy-skills/karpathy-autoresearchSKILL.md
The same SKILL.md was published earlier as learnprompt/andrej-karpathy-skills/karpathy-autoresearch.
Skill 6: AutoResearch(自主研究循环)
Source: https://x.com/karpathy/status/2030371219518931079"Autoresearch project — agent self-iterates training code" — 28k likes
Core Principle
You change the prompt. The agent changes everything else.
The loop: agent reads current state → runs experiment → analyzes results → proposes next iteration → you approve the prompt change → repeat.
You stay in the hypothesis space. Agent stays in the implementation + execution space.
The AutoResearch Architecture
Setup Prompt (One-Time)
Per-Iteration Loop Prompt
Experiment Log Format
Research Summary Prompt (run after N iterations)
Applying AutoResearch Beyond ML
This pattern works for any iterative optimization:
| Domain | Research Question | Metric | |
|---|---|---|---|
| ML training | Best architecture/hyperparams | Validation loss | |
| Prompt engineering | Best system prompt | Task success rate | |
| Code optimization | Fastest implementation | Runtime (ms) | |
| Content creation | Most engaging format | Click/read rate | |
| Product design | Best UX flow | Task completion rate |
Safety Rails
Workflow
属于工作流:研究到发布(内容创作者/研究者)
| 位置 | 上游 | 下游 | |
|---|---|---|---|
| 入口 | 用户有研究问题时直接触发 | karpathy-llm-wiki(把实验结果沉淀为知识页) |
完整链路:autoresearch → llm-wiki → output-evolution → education-first
Prompt Contract
Verification Checklist
- [ ] 研究问题有明确的单一评估指标
- [ ] 每轮实验只改一个变量
- [ ] 所有结果都记录到 experiments.jsonl
- [ ] 每轮在独立 git branch 上工作
- [ ] 人类在方向性变更前被征求意见
- [ ] 有明确的停止条件(指标连续恶化/达到目标)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingkarpathy-autoresearch/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 9
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/learnprompt/andrej-karpathy-skills/karpathy-autoresearch)