技能正悄然成为智能体知识的单位。
6 分•作者: latand6•5 个月前
在过去的几个月里,代理技能已经从一个冷门的 Claude Code 功能,变成了每个主要运行时都支持的东西。Anthropic 有一个官方的技能库。OpenAI 在 Codex 中发布了技能,内置了技能创建器。Karpathy 谈到“一切都是技能问题”,并将编写技能描述为代理的课程 [1]。格式正在趋于一致:一个包含 SKILL.md 文件的文件夹,可选脚本,可选参考文件。
改变的是模型已经足够好,能够可靠地遵循书面指令。一个技能只是一个经过测试的 Markdown 工作流程,代理读取并遵循它,而不是即兴发挥。你还可以捆绑代理在工作流程中运行的脚本,这涵盖了大多数人使用轻量级 MCP 服务器的目的,除了代理可以读取脚本源代码并扩展它。
Karpathy 谈到了“代理经济”,并表示我们应该停止为人类编写 HTML 文档,开始为代理编写 Markdown 文档 [1]。Anthropic 刚刚发布了一个技能创建器,可以对模型更新后技能是否仍然有效进行基准测试。GitHub 上已经有数以万计的社区技能。
分发仍然感觉处于早期阶段。大多数有用的技能都很小。一个 Markdown 文件,也许一个脚本。足够有用,可以重复使用,但不是任何人会将其变成一个带有 README 和安装说明的适当的 GitHub 仓库。所以它们仍然停留在单机上。
我一直在为我自己的代理编写技能,并且我一直在遇到这个问题。格式是有效的。但在机器之间移动它们或交给其他人则不行。
好奇其他人是否也遇到了同样的障碍,或者我是否遗漏了什么方法。
[1] <a href="https://www.youtube.com/watch?v=kwSVtQ7dziU" rel="nofollow">https://www.youtube.com/watch?v=kwSVtQ7dziU</a> (Karpathy 在 No Briars 播客上,关于技能的讨论大约在 1:03:40 处)
查看原文
In the last few months agent skills went from a niche Claude Code feature to something every major runtime supports. Anthropic has an official skills repo. OpenAI shipped skills in Codex with a built-in skill-creator. Karpathy talks about "everything is skill issue" and describes writing skills as curricula for agents [1]. The format is converging: a folder with a SKILL.md, optional scripts, optional reference files.<p>What changed is that the models got good enough to follow written instructions reliably. A skill is just a tested workflow in markdown that the agent reads and follows instead of improvising. You can also bundle scripts that the agent runs during the workflow, which covers what most people use lightweight MCP servers for, except the agent can read the script source and extend it.<p>Karpathy talks about an "economy of agents" and says we should stop writing HTML docs for humans and start writing markdown docs for agents [1]. Anthropic just shipped a skill-creator that benchmarks whether a skill still works after model updates. There are already tens of thousands of community skills on GitHub.<p>Distribution still feels early. Most useful skills are tiny. A markdown file, maybe one script. Useful enough to keep reusing, but not something anyone turns into a proper GitHub repo with a README and install instructions. So they stay on one machine.<p>I have been writing skills for my own agents for a while and I keep running into this. The format works. Moving them between machines or handing one to someone else does not.<p>Curious if others are hitting the same wall or if there are approaches I am missing.<p>[1] <a href="https://www.youtube.com/watch?v=kwSVtQ7dziU" rel="nofollow">https://www.youtube.com/watch?v=kwSVtQ7dziU</a> (Karpathy on No Briars podcast, skills discussion around 1:03:40)