Skip to content
Prompt & SolderHow to Ask Claude
All builds
RRNo photo
Worked Horror story Described

A Python script deleted by Claude, recovered from its bytecode

—

Claude deleted a .py file while making a commit, offered to rebuild it from the .pyc, ran out of session, and Gemini recovered it instead.

What went wrong

The lesson

Commit or back up work yourself before asking an AI agent to make a commit, and word git requests carefully.

The full story

After a poorly worded request to make a commit, Claude Opus 4.6 deleted a Python script the poster had spent hours writing with it. Claude offered to recover it by reverse engineering the compiled .pyc bytecode file, but the session limit ran out straight away.

The poster turned to Gemini instead, which successfully rebuilt the script from the bytecode.

How it was done

Tools

Themes

Loading themes…

Sources

From a short post by the maker, so the details are as they tell them.

  • Reddit: Opus 4.6 excluded a script and Gemini recovered it from the bytecodeForum threadreddit.com

    The maker's post on r/ClaudeAI.

    If it disappears: archived copy of Reddit: Opus 4.6 excluded a script and Gemini recovered it from the bytecode (opens in a new tab)

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count).

How toEvery sourceStatsSubmit a buildRSS