Claude Blocker — Development skill for Claude Code
Block distracting websites unless Claude Code is actively running inference.
How to install Claude Blocker
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open T3-Content/claude-blocker and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Blocker does
Block distracting websites unless [Claude Code](https://claude.ai/claude-code) is actively running inference.
Alternatives in Development
- Magnitude — Open source inference server your agent sets up for you 1.5k ★
- WP Block Development — Develop WordPress Gutenberg blocks 902 ★
- StatsPAI — StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API 302 ★
README
Claude Blocker
Block distracting websites unless [Claude Code](https://claude.ai/claude-code) is actively running inference.
**The premise is simple:** if Claude is working, you should be too. When Claude stops, your distractions come back.
How It Works
┌─────────────────┐ hooks ┌─────────────────┐ websocket ┌─────────────────┐
│ Claude Code │ ─────────────► │ Blocker Server │ ◄─────────────► │ Chrome Extension│
│ (terminal) │ │ (localhost) │ │ (browser) │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │ │
│ UserPromptSubmit │ tracks sessions │ blocks sites
│ PreToolUse │ broadcasts state │ shows modal
│ Stop │ │ bypass button
└───────────────────────────────────┴───────────────────────────────────┘
- Claude Code hooks notify the server when you submit a prompt or when Claude finishes
- Blocker server tracks all Claude Code sessions and their working/idle states
- Chrome extension blocks configured sites when no session is actively working
Quick Start
1. Install the server
npx claude-blocker --setup
This installs the Claude Code hooks and starts the server. The hooks are configured in `~/.claude/settings.json`.
2. Install the Chrome extension
- Download from Chrome Web Store (coming soon)
- Or load unpacked from
packages/extension/dist
3. Configure blocked sites
Click the extension icon → Settings to add sites you want blocked when Claude is idle.
Default blocked sites: `x.com`, `youtube.com`
Server CLI
# Start with auto-setup (recommended for first run)
npx claude-blocker --setup
# Start on custom port
...
Related Skills
Pickle Dot Patterns
Pickle-dot pattern reference. Read by /pickle-dot on demand — do NOT load this file unless /pickle-dot instruc
Wp Cinematic Seed
Seed (or re-seed) all cinematic scenes from a manifest. Idempotent — skips scenes whose scene_id already has c
Rtk No History Rewrite
Refuse force-pushes / history rewrites unless the user explicitly asks.
Armourcheck
Check this project's Code Armour. Is it there, still working, and up to date? Read-only unless you ask for fix
Proof Of Done
Claude Code plugin that stops a coding agent from ending its turn with 'tests pass', 'build succeeds' or 'depl
Harness Ecosystem
Discover and actively use the workspace ecosystem instead of relying on bare built-in tools.
Related Agents
Skeptical Reviewer
Performs adversarial review of PR changes, actively looking for bugs, edge cases, race conditions, and failure
Adversarial Breaker
Actively tries to break the app — wrong inputs, unexpected sequences, auth bypasses, race conditions, state co
Fec Security Reviewer
Focus on front-end and browser-side security reviews: XSS, client key leaks, dangerous DOM/API usage, third-pa