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
- Agentic coding accessibility will reshape understanding of software complexity — pixlpa · 2026-08-24
- Devin Agent bypasses Slack block by finding emails in git logs — sandylikesfrogs · 2026-08-24
- Developer habits shift: Agents become collaborators from simple tools — latticecut · 2026-08-24
- Dev bottleneck shifts from writing to reading code: exe.dev co-founder — thursdai_pod · 2026-08-24
- The biggest AI mistake: trying to reinvent the wheel instead of using tools — Tired40s · 2026-08-24
- DeepPaperNote turns research papers into Obsidian notes — tom_doerr · 2026-08-24