商业产业 Hacker News AI 2026-08-02T00:09 正文 ok 103 words

Ask HN:我仍然不理解为什么 AI Agent 需要“技能”

英文标题:🔶 Ask HN: I still don't understand why AI agents need "skills"

一位开发者质疑 Claude Code、Codex 等 AI Agent 框架为何要引入“技能(skills)”概念,而不是直接使用组织良好的 Markdown 文档。其设想是通过一个 AGENTS.md 指向不同的 .md 文档目录,并说明 Agent 应在何时读取这些资料。提问者认为两种方式在功能上似乎等价,因此希望了解 skills 是否存在实际的架构优势,还是主要服务于标准化与使用便利性。该讨论涉及 Agent 的上下文管理、工具封装和可复用工作流等设计取舍。
打开原文相关 3 · 机会 1
media315 B media43 B

中文

我已经问过 AI 几次了,但还是没搞明白。

为什么像 Claude Code 或 Codex 这样的框架,会有“技能(skills)”这一概念,而不是直接使用组织良好的 Markdown 文档?

难道我不能只创建一个 AGENTS.md,让它指向存放 .md 文件的目录,并告诉 Agent 应该在什么情况下阅读它们吗?对我来说,这在功能上似乎是等价的。

我遗漏了什么?这是否存在真正的架构性优势,还是主要只是标准化或便利性方面的考虑?

我怀疑,如果 skills 仅仅是放在 skills 文件夹里的一个 Markdown 文件,我们不会为它制造这么多热度。所以我感觉自己肯定遗漏了什么。

English / 原文

I’ve asked AI a few times and I still don’t get it.

Why do frameworks like Claude Code or Codex have the concept of “skills” instead of just using well-organized Markdown docs?

Couldn’t I just have an AGENTS.md that points to folders of .md files and tells the agent when to read them? That feels functionally equivalent to me.

What am I missing? Is there a real architectural benefit, or is it mostly a standardization/convenience thing?

I doubt we’d create so much hype about skills if they’d just be a md file that’s in a skills folder. So I feel I’m missing something.