I wired a real slot machine into Claude Code and now I have to hit the jackpot to approve tool calls
Here's how it works:
- I load the machine with tokens, and pull the lever
- A webcam watches the machine and detects the moment each reel stops
- Template matching reads the 9 symbols off the reels
- The outcome sets Claude's permissions for that prompt: ๐๐๐ = approve , 7โฃ7โฃ7 = YOLO for the next 5 prompts, no matches = read-only
- It runs on the Claude Agent SDK, in a TUI modeled after Claude Code. And every prompt requires that I play the real slot machine!