learnprompt/andrej-karpathy-skills/karpathy-agentic-engineering
Claude Code and agent skill by learnprompt/andrej-karpathy-skills
- community
Checking that the SKILL.md file is still in the repository.
Apply Karpathy-style agentic engineering to any coding or building task. Use this skill when the user wants to set up an agent-driven workflow, needs to write a CLAUDE.md or AGENTS.md, wants to orchestrate agents with clear success criteria, or says things like "agent loop", "let the agent handle it", "agentic coding", "set up agent workflow". Includes the 7-step inner loop from Karpathy claude coding notes.
Install
npx vskill@latest install learnprompt/andrej-karpathy-skills/karpathy-agentic-engineeringSKILL.md
The same SKILL.md was published earlier as learnprompt/andrej-karpathy-skills/karpathy-agentic-engineering.
Skill 1: Agentic Engineering(代理工程)
Source: https://x.com/karpathy/status/2004607146781278521 | https://x.com/karpathy/status/2015883857489522876 | https://x.com/karpathy/status/2026731645169185220"It is hard to communicate how much programming has changed." — ~37k likes
Core Principle
You are no longer writing code. You are directing a team of tireless junior engineers.
The shift: write code → write tasks with success criteria → agent loops → human taste review
The 7-Step Inner Loop (Karpathy's Incremental Coding Rhythm)
This is the micro-loop for every coding session:
- Stuff context — Load entire project into context (
files-to-prompt, relevant docs, recent diffs) - Discuss plan — Ask agent for high-level approaches with pros/cons before any code
- Request first draft — Pick one approach, get a minimal first implementation
- Inline learning — Manually review the diff; ask agent to explain any API you don't recognize
- Test — Run tests, check outputs, verify success criteria
- Commit — Only commit what you understand and have verified
- Ask for next — Let agent suggest the next incremental step
Never skip step 4. Understanding atrophies if you rubber-stamp every diff.
CLAUDE.md / AGENTS.md Template
Write this file at the project root to prevent the most common agent failure modes:
Master Prompt Template
Common Failure Modes to Prevent
| Agent Sin | Prevention | |
|---|---|---|
| Over-refactoring | "Only touch files directly related to the task" | |
| Sycophantic confirmation | "Tell me what could go wrong with this plan" | |
| Hallucinated APIs | "Cite the exact line in the docs for any API you use" | |
| Dependency creep | "No new pip/npm installs without asking" | |
| No success criteria | Always define DONE before starting |
Workflow
属于工作流:想法到上线(开发者)
| 位置 | 上游 | 下游 | |
|---|---|---|---|
| 第2步 | karpathy-idea-files(先定义想法) | karpathy-minimalism(极简实现) |
完整链路:idea-files → agentic-engineering → minimalism → supply-chain-hygiene → vibe-to-agentic
也常在反偏见决策工作流中作为执行层出现——当决策完成后需要落地时,切换到本 Skill。
Prompt Contract
Verification Checklist
- [ ] 成功标准已经写成可检查项目(不是模糊描述)
- [ ] 每轮变更都有实际验证证据:测试通过、lint clean、diff 范围正确
- [ ] Agent 没有修改任务范围外的文件
- [ ] 人类已 review 每个 diff 中不理解的部分(不跳步)
- [ ] 最终提交前,能用一句话向同事解释改了什么、为什么
When to Apply This Skill
- Starting any coding task > 30 minutes
- Setting up a new project with agent assistance
- Debugging a complex issue (agent as rubber duck + implementer)
- Writing CLAUDE.md / AGENTS.md for a repo
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingkarpathy-agentic-engineering/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-agentic-engineering)