Bulk-delete old Claude Code scheduled-task (routine) runs safely: keeps the newest N and every run you replied in. A Claude Code skill + plugin. - naw103/claude-routine-cleanup
The skill plans the clean up (keeps the newest N and protect any sessions where you typed a reply - optional) and then has Claude delete through the apps own session tool, 25 per call each behind an approval card.
I tried just deleting the sessions on disk manually first but deleting the files directly dosnt work because the app keeps the list in memory and writes records back. The apps delete tool is turned off inside routine runs so the clean up command has to run from a normal conversation session.
The planner is a single python file that dosnt delete by itself so you can run it by hand to see where everything exists.
3 comments
Read the full thread on Hacker News →
Related stories
- Hacker News · 1 points · 11 days ago
- Hacker News · 3 points · 2 days ago
- Lobsters · 3 points · 6 months ago
- Lobsters · 86 points · about 1 year ago
- Hacker News · 2 points · 10 days ago
- Hacker News · 2 points · 1 day ago