Glean 拾遗
日刊 /2026-06-01 / Andrej Karpathy 亲述:99% 的 AI 用户不知道的 7 个基本功

Andrej Karpathy 亲述:99% 的 AI 用户不知道的 7 个基本功

原文 x.com 收录 2026-06-01 06:00 阅读 8 min
AI 解读

OpenAI 联合创始人、前 Tesla AI 负责人 Andrej Karpathy 认为,多数 AI 用户的瓶颈不是模型或提示词,而是缺少一套围绕模型构建的系统。本文拆解了他的 7 条实操铁律:不要纠结“魔法提示词”,必须喂足上下文;认真定制 CLAUDE.md;用 /raw、/wiki、配置文件搭建三层记忆结构;把每次满意的输出永久保存为引用页;长项目必需 index.md 和 log.md;把 AI 当成无品位的超级实习生,用小步验证循环;以及一句将研究输出转化为可导航 HTML 的指令。适合总在调提示词却拿不到稳定产出的工程师,用半天搭好这套基础,AI 才能真正为你工作。

原文 8 分钟
原文 x.com ↗
§ 1

Andrej Karpathy says 99% of AI users are missing 7 basics. I broke them all down.

Picture this.

It's 11pm. You've been staring at the same AI chat window for two hours. You've rephrased the same request six different ways. You've tried being polite, being blunt, being specific, being vague. You've copy-pasted three different "magic prompts" from some guy on X who swears his template makes Claude "10x smarter."

Nothing works the way you expected. The output is either too generic, structurally wrong, or confidently incorrect about something you already told it twenty minutes ago – in this very same conversation.

You close the tab. You'll try again tomorrow. Maybe a different model. Maybe a different prompt. Maybe you're just not good at this yet.

Andrej Karpathy says 99% of AI users are missing 7 basics. I broke them all down.

想象一下这个场景。

深夜11点。你已经盯着同一个AI聊天窗口看了两个小时。你用了六种不同的方式重新表述同一个请求。你试过礼貌的、直接的、具体的、模糊的。你从X上某个家伙那里复制了三个不同的“魔法提示”,他声称他的模板能让 Claude 的智商提升10倍。

但什么也没按你预期的方式工作。输出要么太泛泛,要么结构错误,要么在你二十分钟前——就在这个对话里——已经明确告知的事情上自信地犯着错。

你关闭标签页。明天再试,也许换个模型,也许换个提示,也许你就是还不太擅长这个。

§ 2

Here's the uncomfortable truth: it's probably not the model. And it's definitely not the prompt.

While most people are endlessly tweaking their wording, hunting for the perfect instruction, or buying yet another "AI productivity course" – a small group of people quietly figured out that the problem was never the prompt at all.

The problem was everything around the prompt.

The context. The memory. The structure. The workflow.

一个残酷的真相:很可能不是模型的问题,也绝不是提示的问题。

当大多数人没完没了地调整措辞、寻找完美指令,或者购买又一个“AI生产力课程”时,一小部分人已经悄悄发现——问题从来就不在提示本身。

问题出在提示周围的一切。

上下文。记忆。结构。工作流。

§ 3

Andrej Karpathy is one of those people. And unlike most voices in the AI space, he has receipts: co-founder of OpenAI, former head of AI at Tesla, Stanford professor, one of the engineers who actually built the systems everyone else is trying to "hack" with clever prompting.

He's been thinking about this longer than almost anyone. And what he's concluded is both obvious in hindsight and almost completely ignored in practice.

He doesn't use magic prompts. He builds infrastructure.

Seven habits. A few simple files. A specific working rhythm. That's it.

Here's exactly what he does – and why each piece matters.

Andrej Karpathy 就是这群人中的一员。而且和 AI 领域里的大多数声音不同,他有实打实的履历:OpenAI 联合创始人、前特斯拉 AI 负责人、斯坦福教授,他就是那个真正构建了其他人正试图用“聪明提示”去破解的系统的工程师之一。

他思考这个问题的时间比几乎任何人都长。而他的结论,事后看来既明显,在实践里又几乎被完全忽视。

他不用什么魔法提示。他搭建基础设施。

七个习惯。几个简单的文件。一种特定的工作节奏。就这些。

以下就是他具体在做什么——以及每一步为什么重要。

§ 4

TIP 1: Forget magic prompts. The problem is almost always missing context.

Since 2022, "prompt engineering gurus" have dominated X and Instagram.

The message: learn the right spell and the model obeys.

Karpathy disagrees. The real reason most people iterate 100 times and still get bad output? They ignore context entirely.

His actual formula:

  • Write a standard, clear request
  • Always include a concrete example of what good output looks like
  • Paste the full error message or full background – never a trimmed snippet

Don't cut your code or text to "save context window." When the model guesses what's missing, it gets it wrong. Every time.

No secret instructions will teleport your background into the model's head. You have to write it out.

提示1:忘了那些魔法提示吧。问题几乎总是出在缺失上下文。

自2022年以来,“提示词工程大师”们占据了 X 和 Instagram。

他们传递的信息是:学会正确的咒语,模型就会听话。

Karpathy 不这么看。大多数人来来回回迭代了一百遍,输出还是烂,真正的原因是什么?他们完全忽略了上下文。

他实际给出的公式:

  • 写一条标准的、清晰的请求
  • 总是附上一个好输出的具体例子
  • 粘贴完整的错误信息或完整背景——绝不要裁剪过的片段

别为了“节省上下文窗口”而删减你的代码或文字。当模型去猜你漏掉了什么时,它一定会猜错,次次如此。

没有哪条秘密指令能把你的背景直接传入模型的大脑。你必须自己把它写出来。

§ 5

TIP 2: Your CLAUDE.md is probably garbage. Go check it right now.

Did you copy it from someone else's template? Did you let Claude write it for itself? Then that file is not working for you.

Your main config file must clearly explain five things:

  • Who you are
  • What the project is (general frame only)
  • What not to touch
  • File naming conventions
  • How to format responses Almost everyone has the file. Almost nobody has set it up properly.

Before you blame the model for being "dumb" – go read your own instructions to it.

And if you only use browser-based AI tools? You still need this. Set a pinned brief. Same logic applies.

提示2:你的 CLAUDE.md 大概率是个垃圾,现在就去检查。

你是从别人的模板里抄过来的吗?你是让 Claude 自己给自己写的吗?那这个文件就没在真正为你工作。

你的主配置文件必须清晰地说明五件事:

  • 你是谁
  • 这个项目是什么(只需总体框架)
  • 哪些东西不能碰
  • 文件命名规范
  • 如何格式化回复

几乎人人都有这个文件,但几乎没人把它设置对。

在你责怪模型“蠢”之前——先读读你给它的指令。

而且,如果你只用浏览器里的 AI 工具呢?你仍然需要这个。设置一个固定的简介,同样的逻辑适用。

§ 6

TIP 3: Build a three-layer system. Stop restarting from zero every session.

Karpathy's pipeline:

  • /raw – your raw source material, dumped in as-is
  • /wiki – structured pages the model writes and maintains
  • CLAUDE.md – your standing operating principles New source comes in → drop it in /raw → tell the model to process it.

That's 30 minutes saved per day, compounding.

If your project lives longer than a couple of days and you're re-explaining everything in every new session – that's not a workflow, that's a loop.

提示3:建一个三层系统,别再每个会话都从头开始。

Karpathy 的文件流转管道:

  • /raw —— 你的原始素材,原样扔进去
  • /wiki —— 由模型编写和维护的结构化页面
  • CLAUDE.md —— 你固定的操作原则

新素材进来 → 扔进 /raw → 告诉模型去处理它。

这样每天能省出30分钟,还能不断累积。

如果你的项目持续时间超过几天,而你在每个新会话里都要把所有东西重新解释一遍——那就不叫工作流,那只是在原地兜圈。

§ 7

TIP 4: After every strong answer – save it. Permanently.

The default habit: get a great response, copy the result, close the tab, forget it. Karpathy says this is quietly killing your long-term productivity. Models need references.

After every valuable response:

"Save this as a permanent page: wiki/topic/.md"

Then audit your notes periodically for duplicates, conflicts, and outdated information.

Skip this and your best AI outputs quietly drown in chat history. You'll spend hours on tasks you already solved.

提示4:每次得到一个好答案,就永久保存下来。

大多数人的默认习惯:得到一个很棒的回答,复制结果,关掉标签页,扭头就忘。Karpathy 说,这正在悄悄杀死你的长期生产力。模型需要参考材料。

在每一个有价值的回答之后:

“将其保存为永久页面:wiki/话题/.md”

然后定期审查你的笔记,查找重复、冲突和过时的信息。

跳过这一步,你那些最好的AI输出结果就会默默淹没在聊天记录里。你会花好几个小时去解决你早解决过的问题。

§ 8

TIP 5: For any project lasting over a week – add index.md and log.md. No exceptions.

Two files. Two purposes:

  • index.md – a map of everything that exists
  • log.md – a running changelog: date | type | description

Example: 28-05-2026 | summary | customer interview breakdown

If you vibe-code 1–2 hours a day, in two weeks you genuinely won't remember what you built on day three. These two files are your memory layer.

提示5:任何一个持续一周以上的项目——必须加上 index.mdlog.md,没有例外。

两个文件,两个用途:

  • index.md —— 现有一切内容的索引
  • log.md —— 不断更新的变更日志:日期 | 类型 | 描述

示例:28-05-2026 | 摘要 | 客户访谈拆解

如果你每天 vibe-coding 一两个小时,两周后你绝对想不起来第三天到底做了啥。这两个文件就是你的记忆层。

§ 9

TIP 6: AI is a brilliant intern with no taste. Treat it like one.

Karpathy's framing: AI agents are "superpowered interns with massive knowledge, who constantly hallucinate and have zero taste for code." They need a tight leash.

His actual working loop:

  • Load full context
  • Ask for 2–3 options for the next small step only
  • Pick one
  • Evaluate, test, commit
  • Repeat

Never ask it to do everything in one prompt. That's how you get 500 lines of undebuggable mess.

提示6:AI 是一个知识海量但毫无品味的实习生。就像对待实习生那样对待它。

Karpathy 的定位:AI 智能体是“拥有海量知识的超级实习生,他们不停产生幻觉,对代码好坏毫无感知。”它们需要被紧紧牵住。

他实际的工作循环:

  • 加载完整上下文
  • 只要求模型为下一小步提供 2-3 个选项
  • 选一个
  • 评估、测试、提交
  • 重复

永远别在一句提示里让它把所有事情做完。那是你得到500行根本无法调试的烂代码的原因。

§ 10

TIP 7: One sentence that makes every research prompt 10x more readable.

Add this to the end of any analysis or research prompt:

"Structure your final response as a self-contained HTML file."

AI models render anything into clean, navigable HTML in seconds. Reading time drops dramatically. It costs you one sentence. Use it every time.

提示7:让每一个研究提示输出清晰度提升10倍的一句话。

在任何分析或研究提示的结尾加上这句话:

“将你的最终回复组织成一个自包含的 HTML 文件。”

AI 模型能在几秒内把任何东西渲染成干净、可导航的 HTML。阅读时间将大幅下降。你只需多花一句话,记住每次都用。

§ 11

Here's what's strange about all of this.

None of these tips are secret. None of them require a paid subscription, a special tool, or a 40-hour course. They're all, once you see them, completely obvious. Of course the model needs full context. Of course you should save what works. Of course a project needs a map and a log.

And yet – go look at how you actually use AI right now. Be honest. How many of these seven things are actually in place in your workflow today?

Most people are in a strange place with AI. They believe it's powerful – they've seen it do impressive things – but in their own hands it keeps underperforming. So they assume the gap is about the model, or the prompt, or some insider knowledge they haven't found yet. They spend hours searching for the trick instead of spending twenty minutes building the foundation.

Karpathy's entire message is that the gap isn't about magic. It's about memory, structure, and incrementalism. Give the model your full picture. Save what it builds. Work in small, committed steps. The model isn't the bottleneck – your workflow is.

The people who will get dramatically more out of AI over the next two years aren't the ones who found the best prompts. They're the ones who built the best systems around the model – even simple ones. A /raw folder, a /wiki, a proper CLAUDE.md, two markdown files, and a working loop.

That's the whole edge. It's almost embarrassingly small. But almost nobody is doing it.

这一切奇怪的地方就在这里。

这些技巧没有一个是秘密,不需要付费订阅、特殊工具或40小时的课程。一旦你看清楚,它们全都显而易见。模型当然需要完整上下文,当然应该保存有效的部分,项目当然需要索引和日志。

但是——去看看你现在到底是怎么用 AI 的。诚实一点。今天你的工作流里,这七件事到底落实了几件?

大多数人对 AI 的状态很奇怪。他们相信它很强大——他们也见过它做出惊人的东西——但在自己手里它却总是表现不佳。于是他们就以为差距在于模型,或者提示,或者某些他们还没找到的内部秘辛。

他们花好几个小时去寻找诀窍,而不是花二十分钟去把基础搭好。

Karpathy 整篇要传达的就是:差距跟魔法没关系,只跟记忆、结构和增量迭代有关。把完整画面给模型,把它的产出保存下来,用小的、可提交的步子来工作。瓶颈不在模型,在你的工作流。

未来两年里能从 AI 中得到超值回报的人,不是那些找到最佳提示的人。而是那些为模型搭建了最佳系统的人——哪怕是最简单的系统。一个 /raw 文件夹、一个 /wiki、一份正确的 CLAUDE.md、两个 markdown 文件,再加上一个工作循环。

这就是全部优势,小到几乎有点难为情。但几乎没人在做。

§ 12

Go back to the story at the top. That person at 11pm, frustrated, closing the tab – that's not a story about a bad AI. That's a story about a workflow with no memory, no structure, and no incremental loop. The model was ready to help. It just didn't know enough about what it was helping with.

Now you know what to build. Start with one file. One folder. One saved response. The system compounds fast.

回到文章开头的那个故事。那个深夜11点,一脸沮丧、关掉标签页的人——那并不关于 AI 有多差,而是一个没有记忆、没有结构、没有增量循环的工作流的故事。模型原本准备好帮忙了。它只是不知道自己在帮什么。

现在你知道该搭建什么了。从一个文件开始,一个文件夹,一次保存的回答。这个系统会快速叠加出效果。

§ 13

TL;DR

Stop tweaking prompts. Start building infrastructure. A proper config file, a /raw and /wiki structure, permanent reference pages, index and log files for long projects, a small-steps working loop, and one HTML trick. The model stops guessing – and starts actually helping. The edge isn't a secret. It's a system. And it takes about an afternoon to set up.


If this was useful – bookmark it. You'll want to come back to it.

Follow @ScottyBeamIO for more breakdowns like this.

No fluff, just what actually works.

太长不看版

别再纠结提示词,去搭建基础设施。一个正确的配置文件,一个 /raw 和 /wiki 的结构,永久的参考页面,长项目的 index.mdlog.md,小步迭代的工作循环,外加一个 HTML 的小技巧。模型不再凭空猜测,而是真正开始帮忙。优势不是什么秘密,它是一套系统。而且,一个下午就能搭起来。


如果这篇对你有用——收藏它。你会想再回来看的。

关注 @ScottyBeamIO 获取更多类似拆解。

没有废话,只讲真有用的。

打开原文 ↗