If an attacker has your private key, you can't just send a rescue transaction. The moment gas lands in the wallet, a sweeper bot takes it.
BuidlGuidl's Hacked Wallet Recovery skill is built for exactly this, using EIP-7702 delegation:
- the compromised key signs one harmless authorization locally and never leaves your terminal
- a separate funded operator wallet pays the gas and broadcasts
- one atomic transaction sweeps every token, NFT, and the native ETH to a safe wallet
It's a portable agent skill, so it runs in Claude Code, Codex, Gemini CLI, Copilot CLI and others.
github.com/BuidlGuidl/hacked…