Problems with Claude following Agent OS instructions #66
Replies: 3 comments 2 replies
-
And has that fixed the issue? |
Beta Was this translation helpful? Give feedback.
-
Thanks for raising this @davidvictor -- I've been noticing the same, especially the last few days (maybe Opus 4.1 behaves differently, not sure yet). Specifically, I noticed when running /create-spec it often doesn't wait for my approval before proceeding to create the tasks list. In my recent update, I did remove the previous CLAUDE.md instructions (to avoid context overload) but I'm considering adding back some direct instructions there, similar to what you suggested. |
Beta Was this translation helpful? Give feedback.
-
Spoiler Alert: My final post shows the solution that worked for me. I've tried Agent OS a few times, and I've never been able to get Claude to follow the execution plan correctly. I set up Agent OS in a new project tonight. Classic ToDo app for testing. No core installation (just project level) and didn't do any manual editing of .md files. When I ran /execute-tasks, the workflow specified in execute-tasks.md was completely bypassed. Claude just went right to work on the tasks. So, I decided to interrogate Claude. I wondered if the presence of numbered steps in tasks.md and execute-tasks.md would cause confusion. Claude agreed this was a problem but later explained that it completely ignored execute-tasks.md, lol. Maybe it isn't the numbers but the use of the word "tasks" that is confusing. A potentially useful suggestion was to put a reminder in tasks.md. Yet, this feels like a band-aid. When we run a command, Claude shouldn't ignore the instructions in that file. However, Claude stated it may have been confused about which .md files were explicit instructions. I have no idea if using Claude to self-diagnose is useful. I'll test more when I can. Here are a few of the responses in case they are useful. Claude on the step confusion (which was contradicted by saying execute-tasks.md was completely ignored):
Another interesting response:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been having trouble getting Claude to consistently follow the Agent OS instructions. Moving all references into my project folder helped a little bit but it's still basically 50/50 whether Claude follows the instructions. This potentially is an issue with the new version of Opus 4.1, but I am unsure. In order to fix this, I added this command to my claude.md:
`## 🚨 CRITICAL: Agent OS Command Execution
WHEN AN AGENT OS COMMAND IS INVOKED (from .claude/commands/), YOU MUST:
.agent-os/instructions/
This is MANDATORY. Agent OS commands are core to this project's workflow.`
Beta Was this translation helpful? Give feedback.
All reactions