Automatically opens distracting media while Claude thinks. Windows close when response finishes.
Why? You're gonna doomscroll anyway. Might as well automate it.
- You send a prompt to Claude Code
- Chrome windows open in 4 corners (YouTube, Instagram, TikTok, Reddit)
- Claude finishes responding
- Windows auto-close
Session time is logged for shame/accountability.
# Clone
git clone https://github.com/youruser/DoomPrompting
cd DoomPrompting
# Install (requires jq)
./install.sh
# Restart Claude Codedoom list # Show URLs with status
doom add <url> # Add URL
doom disable 2 # Disable URL #2
doom enable 2 # Re-enable URL #2
doom toggle # Global on/off
doom log # Recent sessions
doom stats # Total time wastedURLs: config/urls.txt
https://www.youtube.com/shorts
https://www.instagram.com/reels/
https://www.tiktok.com
https://reddit.com
Comment out to disable: #https://reddit.com
- macOS (uses AppleScript)
- Google Chrome
- Claude Code
- jq (for install)
scripts/
open-media.sh # Opens Chrome windows in 4 corners
close-media.sh # Closes tracked windows
toggle.sh # Enable/disable
doom # CLI tool
config/
urls.txt # URLs to open
enabled # Exists = enabled
sessions.log # Session durations
Installed to ~/.claude/settings.json:
UserPromptSubmit→ open-media.shStop→ close-media.sh
Remove hooks from ~/.claude/settings.json and delete the repo.
MIT