All ideasMore in Work

Opus spent $25 and 30 minutes producing a refactor that collapsed to 4 lines

Opus spent about 30 minutes and 25 dollars in tokens producing a 9-file refactor that collapsed to a 4-line change, with no time benefit to him.

$25at stake
This one went wrong. Read what happened so you don’t hit the same problem.

How it works

  1. Opus spends about 30 minutes and 25 dollars in tokens
  2. Produces a 9-file refactor
  3. That collapses to a 4-line change
  4. With no time benefit to him

Why it’s worth knowing

Nine files to say what four lines said is editing as decoration.

Where it’s from

Summarized from a public post on news.ycombinator.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.