用了Opus 5发现原来的提示词全废了?这篇帖子总结了实操经验,告诉你系统提示和CLAUDE.MD怎么改才不拖后腿。
Opus 5(Claude 5的Opus版本)被训练得更具自主性(agentic),比以往任何模型都更主动探索。用户发现,与Opus 5交互时,需要减轻系统提示和CLAUDE.MD的负担,去掉记忆和工具描述,保持轻量。使用简洁清晰的提示和技能,MCP工具描述更详细且与系统提示去重,才能更好发挥模型能力。Anthropic发布了新的上下文工程指南,帮助用户适应这种变化。
After a few more hours, I think I've figured out Opus 5. Opus 5 is trained to be more agentic than ...
After a few more hours, I think I've figured out Opus 5. Opus 5 is trained to be more agentic than anything I've used. All Claude 5 models are like that. So what changes? The way to interact with Opus 5 or contextualize it won't work the same way as with other models. It loves exploring, so it doesn't need much guidance for it. Unique preferences, artifacts, and references compliment it well and enable cleaner and more effective exploration and execution. Now that it can explore more effectively on its own and understand intent better, the best thing to do is to get out of its way (e.g., it doesn't need examples of your preferences; a clear high-level description of it works best). It's truly agentic in that sense. A good first step to provide better context for Opus 5 is to distinguish between what's situational and what needs persistence. Regardless, persistent system prompts and CLAUDE.MD needs to stay lightweight. Remove memories and tool descriptions from these. CLAUDE.MD is also a great place to tap into progressive disclosure by linking command/skills to it. On the situational side, agent skills and auto-memory can leverage progressive disclosure and the improved ability of the model to use its external context/knowledge. Conflicting and unnecessary instructions, which are common at this layer (mainly to ensure reliability), are going to throw off this model easily. That's the biggest change I had to make. Simple, clean, and clear prompts and skills work best. I had to clean a lot of my skills and system prompts. The way I prompt remains the same (usually clear and well-scoped). MCP tool descriptions are also more descriptive and have been deduped from the system prompt. Anthropic released a guide on the new rules for context engineering, which was helpful here. I started to test the recommendations and created a little artifact with the things that worked along the way. This might feel like a lot of work. Believe me, it has been frustrating. But I think we can expect future frontier models to become more agentic and smarter at figuring out the right context/gaps. The best thing to do is to prepare for that now. @bcherny mentioned that Opus 5 is their least prompt-injectable model yet. I am not sure if that was something they intentionally trained for or if it emerged based on how it was trained, which is to be extremely agentic in nature and more direct in execution. Your browser does not support the video tag. 🔗 View on Twitter 💬 2 🔄 2 ❤️ 8 👀 1242 📊 4 ⚡