7 ms·
Am I missing something here? Obviously directly including context in something like a system prompt will put it in context 100% of the time. You could just as
by jgbuddy 8mo ago
Am I missing something here?
Obviously directly including context in something like a system prompt will put it in context 100% of the time. You could just as easily take all of an agent's skills, feed it to the agent (in a system prompt, or similar) and it will follow the instructions more reliably.
However, at a certain point you have to use skills, because including it in the context every time is wasteful, or not possible. this is the same reason anthropic is doing advanced tool use ref: https://www.anthropic.com/engineering/advanced-tool-use https://www.anthropic.com/engineering/advanced-tool-use, because there's not enough context to straight up include everything.
It's all a context / price trade off, obviously if you have the context budget just include what you can directly (in this case, compressing into a AGENTS.md)
- orlandohohmeier 8mo agoI’ve been using symlinked agent files for about a year as a hacky workaround before skils became a thing load additional “context” for different tasks, and it might actually address the issue you’re talking about. Honestly, it’s worked so well for me that I haven’t really felt the need to change it.
- mbm 8mo agoWhat sort of files do you generally symlink in?
- observationist 8mo agoThis is one of the reasons the RLM methodology works so well. You have access to as much information as you want in the overall environment, but only the things relevant to the task at hand get put into context for the current task, and it shows up there 100% of the time, as opposed to lossy "memory" compaction and summarization techniques, or probabilistic agent skills implementations. Having an agent manage its own context ends up being extraordinarily useful, on par with the leap from non-reasoning to reasoning chats. There are still issues with memory and integration, and other LLM weaknesses, but agents are probably going to get extremely useful this year.
- judahmeek 8mo ago> only the things relevant to the task at hand get put into context for the current task And how do you guarantee that said relevant things actually get put into the context? OP is about the same problem: relevant skills being ignored.
- jstummbillig 8mo ago> Obviously directly including context in something like a system prompt will put it in context 100% of the time. How do you suppose skills get announced to the model? It's all in the context in some way. The interesting part here is: Just (relatively naively) compressing stuff in the AGENTS.md seems to work better than however skills are implemented.
- cortesoft 8mo agoIsn't the difference that a skill means you just have to add the script name and explanation to the context instead of the entire script plus the explanation?
- sevg 8mo agoYou could put the name and explanation in CLAUDE.md/AGENTS.md, plus the path to the rest of the skill that Claude can read if needed. That seems roughly equivalent to my unenlightened mind!
- verdverm 8mo agoI like to think about it this way, you want to put some high level, table of contents, sparknotes like stuff in the system prompt. This helps warm up the right pathways. In this, you also need to inform that there are more things it may need, depending on "context", through filesystem traversal or search tools, the difference is unimportant, other than most things outside of coding typically don't do filesystem things the same way
- imiric 8mo agoThe amount of discussion and "novel" text formats that accomplish the same thing since 2022 is insane. Nobody knows how to extract the most value out of this tech, yet everyone talks like they do. If these aren't signs of a bubble, I don't know what is.
- stevenhuang 8mo ago
- verdverm 8mo agoYou aren't wrong, you really want a bit of both. 1. You absolutely want to force certain context in, no questions or non-determinism asked (index and sparknotes). This can be done conditionally, but still rule based on the files accessed and other "context" 2. You want to keep it clean and only provide useful context as necessary (skills, search, mcp; and really a explore/query/compress mechanism around all of this, ralph wiggum is one example)
- teknopaul 8mo agoMy reading was that copying the doc's ToC in markdown + links was significantly more effective than giving it a link to the ToC and instructions to read it. Which makes sense. & some numbers that prove that.
- _the_inflator 8mo agoI agree with you. I think Vercel mixes skills and context configuration up. So the whole evaluation is totally misleading because it tests for two completely different use cases. To sum it up: Vercel should us both files, agents.md is combination with skills. Both functions have two totally different purposes.
- deaux 8mo agoYou're right, the results are completely as expected. The article also doesn't mention that they don't know how the compressed index output quality. That's always a concern with this kind of compression. Skills are just another, different kind of compression. One with a much higher compression rate and presumably less likely to negatively influence quality. The cost being that it doesn't always get invoked.
- TeeWEE 8mo agoIndeed seems like Vercel completely missed the point about agents. In Claude Code you can invoke an agent when you want as a developer and it copies the file content as context in the prompt.
- singingbard 8mo agoSo you’re not missing anything if you use Claude by yourself. You just update your local system prompt. Instead it’s a problem when you’re part of a team and you’re using skills for standards like code style or architectural patterns. You can’t ask everyone to constantly update their system prompt. Claude skill adherence is very low.