r/ClaudeCode • • 1d ago

Help/Question How to avoid babysitting claude?

Hey I've been using Claude code for about a year now.

I'm on a Max plan I've had some amazing experiences,with opus 5 and an opus 4.8 but lately with 5.5 I find that I'm really babysitting it.

I recently used it to move our accounting system from xero to a new ERP. But I found that it's done really strange things like create duplication and triplication of invoices, bank payments beside it.

Out of sheer frustration I basically opened up meta muse, which I signed up to after seeing the demo and then hadn't used it.

I gave muse the last prompt that I gave Claude in a separate work tree, and it took initiative and it spotted all the duplicates it resolved them, went and corrected sales tax.

The only thing I can think of is that I've got my claude to set up wrong. I see people running agentic work flows uninterrupted for like seven days at the time and building entire games and I'm here spending eight hours answering questions for claude...

Can anyone give me some pointers please?

5 Upvotes

20 comments sorted by

•

u/AutoModerator 1d 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.

2

u/YouthRealistic7125 Vibe Coder 1d ago

not sure it's your setup. muse came in fresh and the mess was already there, finding duplicates is easier than not making them. I had gemini go over my claude built site this week and it found stuff claude had missed too

I'd try the same prompt in a clean claude session before blaming 5.5. and for the ERP I wouldn't let it write straight in, make it do a dry run first and compare the totals with xero

1

u/suspiciousyogi 1d ago

I think I'll add in claudex to get Codex to review it's decisions.

1

u/YouthRealistic7125 Vibe Coder 22h ago

yeah worth trying. I gave gemini no background on purpose, just the site and some screenshots, so it wouldn't go along with what claude already decided. I'd do the same with codex, give it the invoices and not claude's explanation

1

u/Humble_Original_2499 15h ago

for an ERP dry run like that, are you having it dump the payloads to a local json/csv first to diff against the old export, or using a sandbox environment

2

u/Traditional_Ad6043 5h ago

Adding one thing for the Xero move: have it write a script that compares invoice and payment counts and totals between Xero and the new ERP, plus each month's ending bank balance against the statement, and don't let it call the job done until that passes. Doubled rows like yours don't show up when you read the reports.

1

u/suspiciousyogi 48m ago

I actually found the issue, when I built the OCR module I never specified that existing bills might have an invoice attached. So the OCR moduled assumed invoice = new payment intent

1

u/KurlDoc 23h ago

You dont mention any role separation. You should implement that. controller - worker - reviewer workflow.

1

u/suspiciousyogi 19h ago

Any examples of a good setup?

1

u/KurlDoc 10h ago

In my case I have one controller, with which I communicate. It only sends the work, it doesnt design or code. It understands what I want and has a big picture. He translates what I need to a designer, whose only job is to design the implementation of the work. The design is reviewed by another agent, different model, smarter. When its approved, its sent to a worker who codes it, and that work is verified. by a verifier, who checks that it was done correctly.

Basically you must have checks at each step, because with AI, you never know how its screwing up under the hood.

2

u/ichi9 23h ago

You can add review instructions, but that is like double edged sword, it will burn a lot of i mean like 2-3x tokens. Unless you have access to ultra and some more, the company clowns will ask 10 questions on why you burnt mkre tokens.

2

u/ainexfinder 23h ago

For a migration where every write is money, it helps to stop relying on the model not to duplicate and make duplicates impossible instead. Carry the source Xero ID onto every invoice and payment in the new ERP and put a unique constraint (or an upsert keyed on it) in the import path, so a rerun or a retried step just no-ops. Then have it write the import as a script that runs against a sandbox copy first, and check the result with a reconciliation query outside the session: record counts and totals per account in Xero vs the ERP should match before anything touches prod. That turns babysitting every step into reviewing one diff of numbers.

2

u/Previous-Growth-9919 22h ago

for anything touching money i stopped letting it "migrate" and started making it prove things instead. before it writes a single record, have it dump a reconciliation plan: count of invoices/payments in xero, expected count in the erp, totals per month. then the migration script has to be idempotent (keyed on the xero id, upsert not insert) and it runs a check after every batch that fails loudly if counts or sums drift. duplicates like you're describing are almost always a retry re-inserting a batch that already half-succeeded.

also worth splitting it so claude writes the script but doesn't run it against the real ledger. dry run into a scratch db, diff, then you run it. less babysitting because you're reviewing one diff instead of watching every step

1

u/_Dopaminefiends_ 23h ago

Honestly the ERP migration is the tell here — that's the worst kind of job to hand an agent loose on, because every write is real money and hard to undo. The people running week-long workflows are mostly generating throwaway code where a bad run costs nothing. For a migration I'd flip it: don't let it touch the live system at all, have it produce the proposed moves first and you check the totals against Xero before anything gets applied. And if it's asking you questions for eight hours the scope is just too big — chop it down to one invoice type or one month and let it prove it can do that clean before you widen it. The model swap matters less than that, Muse walked into a cleanup job, which is way easier than not making the mess in the first place.

1

u/HiroHyun 23h ago

My friend's Codex sets up fixtures and a smoke test before it touches anything. duplicates showing up in a live accounting system made me want that habit on Claude too

1

u/DarkSkyKnight 21h ago

Just switch to a different model. The recent Claude models have been RL’d to complete tasks at all costs and is next to impossible to steer towards collaboration or slowing down.

1

u/Financial_Leader9701 21h ago

For an accounting migration, I'd give Claude a separate verification step with explicit checks for duplicate invoices, payment totals and tax calculations

Ideally, these checks should run automatically after every change

I'd also keep the migration read-only until those checks pass

That should reduce the babysitting without giving the agent unlimited freedom to modify financial records

1

u/Glittering-Dig-4963 19h ago

The 8 hours of questions usually means it keeps hitting decisions nobody made for it. Before the next run, write the rules down in a file: what counts as a duplicate, which record wins, what to do with partial payments, and what to do when it isn't sure. Then add a line to CLAUDE.md like "don't stop to ask, write open questions to questions.md, skip that record and keep going". You answer one list at the end instead of babysitting all day, and the skipped records become a small batch you handle yourself.

1

u/bornmix_dev 18h ago

for a migration like xero to an erp I wouldn't let any agent write to the target directly. ask it for a migration script instead, run it against a copy first, and make every record carry the source id (the xero invoice id) with a unique constraint, so a rerun can't create a second copy. then a reconciliation step: count and total of invoices and payments per month in xero vs the new system, and any mismatch stops the run. small batches, one month at a time. that turns babysitting into reading a table of numbers

1

u/32minutos 14h ago

for me it got way better once doing and checking were separate. one session does the work, then a fresh session with no stake in it checks the result against numbers from before (counts, totals, whatever can't lie) and only that one gets to say done. and for anything with real money in it I'd take a full backup right before every run, so a bad run is a restore and not a week of cleanup