All ideasMore in Work

I pointed the AI at my website for an hour. It deleted 73,657 lines.

A site owner pointed the AI at his site sublunar.space for an hour. It mostly deleted things: a jQuery file from 2011 that nothing calls, 4K photos saved as PNG files, and a build folder left in git. The cleanup cut 73,657 lines and about 23 MB of images.

How it works

  1. He points the AI at his site for an hour
  2. It finds code nothing calls and oversized images
  3. It deletes the dead files
  4. The total cut is 73,657 lines and about 23 MB of images

Why it’s worth knowing

The useful work was deletion. The agent made the site smaller instead of adding more code.

Where it’s from

Summarized from a public post on bsky.app. 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.