By th0mps0nty
Tame Chrome tab chaos — closes duplicates, sorts into themed windows, clusters by domain, and creates native tab groups. Adds a /organize-tabs skill to Claude Code.
Tame Chrome tab chaos from the command line.
/organize-tabs slash command built inmacOS only (AppleScript + chrome-cli).
brew install chrome-cli
mkdir -p ~/scripts
curl -fsSL https://raw.githubusercontent.com/th0mps0nty/organize-chrome-tabs/main/organize-chrome-tabs.py \
-o ~/scripts/organize-chrome-tabs.py
chmod +x ~/scripts/organize-chrome-tabs.py
# Preview what would change
python3 ~/scripts/organize-chrome-tabs.py --dry-run
# Run it
python3 ~/scripts/organize-chrome-tabs.py
python3 organize-chrome-tabs.py [options]
--single-window Merge everything into one window, cluster by domain
--combine Merge first, then redistribute into themed windows
--cluster-only Cluster by domain within current windows (no redistribution)
--no-close-dupes Skip duplicate removal
--build-extension Write a Chrome extension for native tab group labels
--init Create a personal themes config interactively
--config PATH Load themes from a JSON file
--dry-run Preview all changes without applying them
Everything into one tidy window:
python3 organize-chrome-tabs.py --single-window
Sort into project windows, then add colored tab groups:
python3 organize-chrome-tabs.py
python3 organize-chrome-tabs.py --build-extension
# chrome://extensions → Developer mode → Load unpacked → tab-groups-ext/
First time setup — define your own themes:
python3 organize-chrome-tabs.py --init
python3 organize-chrome-tabs.py --config ~/scripts/chrome-themes.json
Built-in themes match tabs by title/URL substring:
| Window | Patterns |
|---|---|
| Dev & Cloud | github, netlify, vercel, render, cloudflare, supabase, localhost … |
| Productivity | notion, linear, jira, figma, slack, discord … |
| AI & Research | chatgpt, claude, openai, youtube, medium, reddit … |
| Email & Comms | gmail, calendar, linkedin, twitter … |
Override with --init (interactive) or --config path/to/themes.json:
[
{ "name": "Work", "patterns": ["github", "jira", "notion"] },
{ "name": "AI", "patterns": ["chatgpt", "claude", "openai"] },
{ "name": "Personal", "patterns": ["gmail", "linkedin", "youtube"] }
]
Install as a Claude Code plugin to get the /organize-tabs slash command:
# Add this repo as a marketplace in ~/.claude/settings.json:
# "extraKnownMarketplaces": {
# "th0mps0nty": {
# "source": { "source": "github", "repo": "th0mps0nty/organize-chrome-tabs" }
# }
# }
claude plugin add organize-chrome-tabs@th0mps0nty
Then in any Claude Code session:
/organize-tabs
/organize-tabs --single-window
Tab group labels require Chrome extension APIs, which aren't available from the command line. The --build-extension flag writes a minimal one-shot Manifest V3 extension:
python3 organize-chrome-tabs.py --build-extension
chrome://extensionstab-groups-ext/brew install chrome-cliMIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub th0mps0nty/organize-chrome-tabs --plugin organize-chrome-tabsTriple-check, back up, then optimize a machine's shell and developer dotfiles (zsh/bash/fish). Enforces a mandatory backup before any edit and never prints secrets. Adds an /env-checkup skill to Claude Code.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.