I used to find it better to shortcut the AI by asking it to write python to do a task. Claude 4.6 seems to do this without prompting.
Edit: working on a lot of legacy code that needs boring refactoring, which Claude is great at.