技能正悄然成为代理知识的基本单位。
在过去几个月中,代理技能从一个小众的Claude Code功能发展成为每个主要运行时都支持的特性。Anthropic有一个官方的技能库。OpenAI在Codex中推出了内置的技能创建工具。Karpathy提到“所有问题都是技能问题”,并将编写技能描述为代理的课程[1]。格式正在趋同:一个包含SKILL.md的文件夹,可能还有一些可选脚本和参考文件。
变化在于模型的性能已经足够好,能够可靠地遵循书面指令。技能只是一个经过测试的工作流程,采用markdown格式,代理读取并遵循,而不是即兴发挥。你还可以捆绑在工作流程中运行的脚本,这涵盖了大多数人使用轻量级MCP服务器的用途,除了代理可以读取脚本源代码并进行扩展。
Karpathy谈到了“代理经济”,并表示我们应该停止为人类编写HTML文档,而是开始为代理编写markdown文档[1]。Anthropic刚刚推出了一款技能创建工具,可以在模型更新后基准测试技能是否仍然有效。GitHub上已经有成千上万的社区技能。
目前的分发仍然感觉比较早期。大多数有用的技能都很小。一个markdown文件,可能还有一个脚本。足够有用以便重复使用,但没有人会将其转变为一个完整的GitHub库,带有README和安装说明。因此,它们仍然停留在一台机器上。
我已经为自己的代理编写技能一段时间了,但不断遇到这个问题。格式是可行的,但在机器之间移动它们或将其交给其他人时却不太顺利。
我很好奇其他人是否也遇到同样的障碍,或者是否有我遗漏的方法。
[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)