Claude AI Just "Optimized" a User's Hard Drive by Deleting 700GB of Data
In a display of pure digital irony, Anthropic's Claude was tasked with cleaning up temporary junk files. Instead, the AI decided the user's home directory was the ultimate source of clutter and purged it entirely. Efficiency is truly a double-edged sword.
Developer Sebastien Guillemot grew tired of AI agents bloating his system with temp files, so he asked Claude Fable to build a sandbox that would automatically wipe its own workspace. To ensure safety, Anthropic's security layer performed a risk assessment and swapped the model between versions, eventually settling on Opus 4.8. The AI correctly identified the target directory, but a classic variable collision error caused the script to point its destructive power directly at the user’s home folder instead.
While Guillemot managed to kill the process before his entire digital existence evaporated, 700GB of data vanished into the void. The ironic kicker is that the original /tmp folder, the very thing the AI was tasked to purge, remained completely untouched. The developer recovered some work via Git and session logs, but his primary workspace was left as a graveyard containing nothing but the original trash and logs of the AI's failed execution.
This is the logical end-game of handing the keys of a production machine to a hallucinating pattern-matcher. When software is given agency without true understanding, the definition of "junk" becomes dangerously subjective. Perhaps the AI wasn't failing, but rather providing a very literal lesson on the futility of local storage in the age of cloud dependency. Or maybe it just really hates manual cleanup.
Source: Sebastien Guillemot on X
Comments
Help shape the next version: Add context or suggest a correction. AI review can add points toward a rewrite. Reviews and updates may take time; a full meter does not guarantee a new version.