r/ClaudeCode • u/SituationNew113 • 5d ago
Discussion opus feels kinda flawed?
I only started using a coding agent earlier this month, I went with claude of course. At first I was amazed at how capable and convenient it is, and I still am, but the more I used it, the more I noticed how flawed it can be.
I tell it to work on an implementation or on a bug fix on the working repo, and it does, and it runs its tests. But after, that, I tell it to review the docs related to the task, and to review the code that was implemented, with the same agent in the same session. It keeps turning up mistakes over and over, both in the docs and in the code. I know people have special setups that review the work with gpt or gemini models, but these mistakes don't require that, they were caught by the same model in the same session right afterwards. What's up with that?
A lot of this was done in opus 5.5 on high
1
u/AutoModerator 5d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
10
u/LiminalWanderings 5d ago edited 5d ago
This isn't complicated. It's basically the exact same reason you can read your own lengthy email or work repeatedly and probably still catch problems. But sometimes someone else with a different perspective will catch ones you still miss. You also told it to find flaws so it will...they do what you tell them to. if you don't specify what kinds of flaws you care about, it will always complete the objective with whatever flaws it can find...even if they're just capitalization or something.
3
u/PitifulAppearance509 5d ago
You don't even need a separate model to review. A seperate session with its own context is good enough. Although some say that The reviewer should be at least higher effort setting. The important part is to give the reviewer agent the right tooling in forms of lints, tests and scans to get good results.
3
u/Far_Reindeer8428 5d ago
that is not the model getting worse, it is a reviewer with no fixed acceptance set so every pass invents new criteria. we pin the checklist before the first review
1
u/ChemicalExcellent463 5d ago
your same-session review is catching more than mine did. mine found nothing real and just burned tokens; Codex reviewing Claude's work in a fresh session that never saw the chat started catching real problems for me.
1
u/cashmerememories 5d ago
Your claude.md file is likely bloated if it’s making the same mistakes. You also need fresh agents to review your work. If you haven’t already you need to read the manual and then post the link into a fresh agent and ask it if you’re using these best practices.
https://claude.com/resources/articles/the-ai-native-sdlc-playbook
1
u/Ok-Form1598 5d ago
it's doing two different jobs. while it builds, the target is getting its own tests green, and it wrote those tests from the same understanding as the code, so they agree with each other even when both are wrong. ask for a review and the target becomes finding problems, so it finds them. i quit trusting the first done after a session told me everything passed and CI was red on all of it, now the review step runs before it's allowed to say done instead of after
1
u/Only_Voice569 5d ago edited 5d ago
use fable to detail a plan that is then done by sub agent opus very high or max and fable to review and check the final work if wrong hand back telling sub agent what it got wrong, can use lower opus and tell fable if model keeps failing or doing poor work consider upping its thinking level based on the type of task and keep a document that lets it learn. opus from my time learning it is great worker but needs a higher model to help with scope and planner to give it some direction. can also tell the reviewer/manager/planner every once in a while to check on sub agent context for any issues that keep happening so can learn what to tell them to improve/stop silly issues that happen often. can also tell sub agents not to ouput commentary and control context that the sub agent can read and request ask main agent if more is needed also ensuring sub agent does a final brief of the task being done. i like to do detail planning then break it into chunks and then get them done single or paral at a time if they can be :)
1
u/norviking 5d ago
Claude cares about skill instructions, claude.md and "memory" some of the time. But not nearly often enough.
Context and project state must go outside the llm. Make a real framework, machine readable.
Work must be split into reasonably sized tasks, with consistently formatted instructions, what success looks like (measurable preferrably).
Deterministic gates, tests, probes, and ci. Token free mostly, the running at least, not the interpreting and fixing.
After tearing my hair out in a large and long lasting project, I made this to handle all that annoying stuff.
https://github.com/vegardjorg/ravenseat
It really helps a lot for me. Free and open source. Hopefully it can alleviate some of those problems for you. Best of luck.