Opus 5 prefers Python scripts for code edits, causing silent failures and extra work
DepravedPrecedence · reddit · 2026-08-16
Reddit user DepravedPrecedence noticed Opus 5 in Claude Desktop doesn't edit files directly but creates Python scripts to perform replacements, then executes them. Opus 5 explained it was following auto-mode instructions to prefer Bash, but admitted overusing Python led to silent failures (str.replace no-op), quoting errors, and line-ending issues, making extra work. The user notes Codex always edits directly without intermediate steps.
More from coding & agent
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- Antigravity remote control may not be enabled for enterprise accounts — gharik · 2026-11-30
- How Much Agent Swarm Hype Is Just Distributed Systems Rediscovered? — edgarpavlovsky · 2026-11-30
- Redditor asks if autoresearch agent loops are still used daily as the hype fades — Jumpy-Cobbler1020 · 2026-11-30
- Know PyTorch vs. Know What PyTorch Does: A 5-Step Learning Path — cneuralnetwork · 2026-11-30
- PAL adds E2EE multi-machine remote memory for Claude Code with BYO S3 — rchardkovacs · 2026-11-30