17 points · by skeptic_ai · 4mo ago · 18 comments
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.
"Well-organized markdown docs" are exactly what skills are.
More specifically, they are well-organized markdown docs that explain how to do some particular thing.
But whether they would do better than just markdown on its own isn't really settled. Would be interesting to see a comparison of same tasks, same agent, same context budget, skill vs the same content pasted into AGENTS.md.
Context, similar to your computer's memory, is limited.
Additionally, the more things the AI has in context, the worse it performs.
Skills helps you to quickly add more context for doing things, without polluting your context window.
I think you need to learn about AI, there isn't anything hype there. It's just an easier way of giving more context to the AI.
This can be helpful, for example, if you have an internal API that does XYZ, and you want the AI to know that API, you can save that API, its endpoints and authenticaiton methods to a skill, and invoke it when you want your harness (CC, Codex) to know about the existance of that API, to make requests, make tests etc.
After that, I think "skill" is just a good name. It sounds more "AI" than a "spell" or "incantation", which would sound magical and esoteric.
Nothing of the sort happens here though...
So you are not missing anything. What you think is exactly what it is. Just some prefix for preloading the LLM context with..
That'd be truly helpful!
An example of a skill I use a lot is draw-io skill (https://github.com/Agents365-ai/drawio-skill), it enables the agent to generate Draw.io diagrams. As you can see, there are a lot of Markdown files, but also Python scripts that the model must run to gather what it needs. If this was defined in an AGENTS.md file for a single project it wouldn’t be so bad, but if you have to maintain five skills of this size in your agent (or simply want to share them), you can’t include them in the AGENTS.md file, because they’ll consume all the context, even in a conversation where the agent won’t use any of them. It's like writing reusable and callable functions instead of writing all code in the main() method.
https://news.ycombinator.com/item?id=48132477
Don't underestimate the value of "Skill builder" skills too. Great UX
They're presented as a list of titles and descriptions to the LLM and it can pick which ones seem relevant and load them.
Markdown docs the LLM needs to make a tool call to read the files and potentially multiple tool calls to discover data if there's a hierarchy. Additionally, it now has to decide if it should read the entire file or cherry pick parts of it.
Skills organize that in an atomic and composable way.
I think ChatGPT and Claude skills will also package arbitrary artifacts like scripts as well. Not sure if that's standard or not