All ideasMore in Hobbies

The AI cleared out 618 leftover routine sessions, 25 at a time behind approvals

Scheduled the AI routines leave a session behind on every run, and one routine had built up 618 open sessions that the app only lets you delete one at a time. A cleanup skill plans the job, keeping the newest sessions and any where the owner typed a reply, then has the AI delete through the app’s own session tool, 25 per call, each batch behind an approval card.

How it works

  1. The skill plans the cleanup, keeping the newest sessions and any with his replies
  2. The AI deletes through the app’s own session tool
  3. It removes 25 per call, each batch behind an approval card
  4. The pile of 618 is cleared

Why it’s worth knowing

Deleting files by hand did not work because the app writes its list back; the agent had to clean up through the app itself, with approval at every step.

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.