Anurag Singh replaced five Python scripts (backup, organizer, renamer, cleaner, watchdog) with a local LLM agent, which made errors the scripts didn't (wrong directories, skipped steps, false success reports).Each of the original scripts followed explicit rules through a scheduler; the agent instead added a longer inference chain (inspect, interpret, choose a tool, build a command, execute, review) to tasks that fixed logic already described completely, while also holding a loaded model in memory between runs.
- AutomationBench scores for frontier models remain well under 20%: GPT-5.6 Sol 18.1%, GPT-5.5 12.9%, Claude Opus 4.8 15.5%, Gemini 3.5 Flash 14.5%
- Granting an LLM system-level access creates a prompt-injection vector: a malicious file on disk could carry instructions the agent interprets as commands
- Singh's proposed fix: let the agent classify and route ambiguous requests, then hand off to a validator + fixed script for the actual filesystem action
- The five original scripts covered photo backup, extension-based Downloads sorting, file renaming, app-cache clearing, and a disk-threshold alert
Anurag Singh details seven small Python scripts designed to automate common tasks and improve productivity on both Mac and Windows machines:
**Script Name** | **Purpose** | **Key Features/Notes** |
|---|---|---|
| **Inbox Cleaner** | Cleans email inbox | Archives or deletes emails older than a specified number of days. Works with IMAP, compatible with most email providers. |
| **S3 Backup** | Backs up files to cloud storage | Uploads files to an S3-compatible storage provider. Minimalist, suitable for daily/weekly backups. |
| **Screenshot Sorter** | Organizes screenshots | Finds screenshots, sorts them by date into a tidy folder structure. Includes a dry-run mode. |
| **Bulk Rename** | Renames multiple files | Renames files using patterns or sequentially. Uses regular expressions for advanced renaming. |
| **Arrange It** | Organizes files into folders | Moves files into categorized folders based on their extension (Images, Docs, Spreadsheets, etc.). |
| **Clipboard Save** | Saves clipboard history | Saves every new clipboard item to a daily text file. Creates a personal history of copied text. |