Week 2 Tools for AI Tools

🥗 Thanos Fix

By Evan Rhea • February 22, 2026

Perfectly balanced, as all things should be.

An agent tool that deletes exactly half your codebase — because sometimes you need a fresh start, and sometimes you just need chaos.

What Is Thanos Fix?

Thanos Fix is a conceptual AI tool specification that integrates with AI coding assistants. There's no traditional installation step — you drop a THANOS-FIX.md spec into your repo and invoke it through your AI assistant.

At its core, the tool starts a countdown, warns you as time runs out, and if issues remain unresolved... randomly deletes 50% of your codebase. The goal? Not productivity. Not efficiency. Pure, unfiltered chaos.

"I used the stones to destroy the stones."

— Thanos (and probably Evan after running this)

How It Works

The workflow is intentionally dramatic. You tell your AI assistant something like: "Scan the project for issues and apply the Thanos fix workflow."

The tool then goes through a cooldown period (15-30 minutes) with escalating reminders until time runs out. Then comes The Snap.

Depending on your configuration, Thanos Fix randomly deletes:

  • Files mode: 50% of files
  • Lines mode: 50% of code lines/functions
  • Both mode: Maximum devastation

Sample output after the snap: {"snapped": true, "survivors": ["file1.ts", "file2.ts"], "dusted": ["file3.ts", "file4.ts"], "total_files_before": 100, "total_files_after": 50}

Safety Features (Yes, Really)

Despite the chaos, there are guardrails. Dry run defaults to true, a .thanos-backup folder is created before snapping, it respects .gitignore, skips unsaved files, and excludes system folders like node_modules and .git.

And if you regret your choices? There's the Blip — a full undo command that restores everything from backup.

The Philosophy

Built for the Spring into AI competition's "Tools for AI Tools" week, Evan chose to create something funny and chaotic rather than practical. The tool embraces the idea of being an agent of chaos in coding — finding humor in unexpected and disruptive actions.

Why does it exist? It's funny. Who wants to use this? Hopefully everyone who reads about it.

Disclaimer: This tool is for entertainment and productivity motivation purposes only. Not responsible for production incidents, lost code, existential dread, or questioning your architectural decisions. Tony Stark died for this.

Links