/palladius-public-goodies:focusless-browserfrom palladius-public-goodies
Drives a real Chrome browser via CDP without stealing OS focus, keyboard, or mouse. Supports three isolation levels: CDP focus emulation with toast alerts, Xephyr nested X11 displays, and Xvfb screencast.
Ships in palladius-public-goodies. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
focusless-browser)Control a real, OAuth-authenticated desktop browser without interrupting the user: no raised Chrome windows under their fingers, no hijacked keystrokes, and no --enable-automation bot-detection flags.
| Mode | 🐧 Linux (X11 / Wayland+XWayland) | 🍎 macOS |
|---|---|---|
Level 1: Same-Chrome CDP (Emulation.setFocusEmulationEnabled) + OS Toast | ✅ Supported (notify-send) | ❓ Untested (osascript should work; unverified) |
Level 2: Visible Picture-in-Picture (Xephyr :99 -no-host-grab) | ✅ Supported (requires Xephyr) | ❓ Untested / Unknown |
Level 3: Headless Real Display (Xvfb :99 + CDP Page.startScreencast) | ✅ Supported (requires Xvfb) | ❓ Untested / Unknown |
Scope Note: Windows is intentionally omitted / unsupported. macOS support carries a ? until verified on real Darwin hardware.
Use when you must reuse cookies/profiles inside the user's running Chrome (DevToolsActivePort):
Page.bringToFront — raising the OS window steals keyboard/mouse focus while the human types in another app.{ "method": "Emulation.setFocusEmulationEnabled", "params": { "enabled": true } }
Open new tabs in the background (Target.createTarget with background: true).$SKILL_DIR/scripts/focusless_notify.py so the user knows clipboard/copy-paste might briefly touch the target tab and gets an explicit "Don't Panic — SEP field off, over to you" handoff when done:
python3 "$SKILL_DIR/scripts/focusless_notify.py" start \
--identity "[email protected]" \
--task "Staging blog draft" \
--url "https://example.com/editor"
# ... perform focusless CDP automation ...
python3 "$SKILL_DIR/scripts/focusless_notify.py" done \
--identity "[email protected]" \
--url "https://example.com/draft/123"
Xephyr Nested Display (🐧 Linux Only — Zero Focus/Clipboard Interference!)Use when you want a live, watchable Chrome window (great for long /browser article drafting, form filling, or one-time Google OAuth login) that is physically isolated from your :0 keyboard, window manager, and clipboard:
# Starts Xephyr (:99, -no-host-grab) + real Chrome (NO --enable-automation!) on CDP port 9222
bash "$SKILL_DIR/scripts/start-focusless-chrome.sh" --mode xephyr --display :99 --port 9222
# Stop cleanly when finished (preserves login cookies in ~/.config/chrome-focusless-agent)
bash "$SKILL_DIR/scripts/start-focusless-chrome.sh" --stop --display :99 --port 9222
Why Level 2 wins on Linux:
Page.bringToFront, it only raises the window inside virtual display :99.:99 has its own X11 CLIPBOARD selection, completely separate from :0.--enable-automation: Uses a clean custom --user-data-dir, avoiding navigator.webdriver = true blocks and skipping Chrome 136+ DevToolsActivePort confirmation popups because Chrome explicitly trusts --remote-debugging-port=9222 on non-default profile directories.Xvfb :99 Virtual Display (🐧 Linux Only)Identical to Level 2 (full non-headless Chrome desktop build with GPU/fonts, not --headless), but runs inside invisible Xvfb :99 instead of opening a Picture-in-Picture window:
bash "$SKILL_DIR/scripts/start-focusless-chrome.sh" --mode xvfb --display :99 --port 9222
Connect over http://127.0.0.1:9222/json/version (or WebSocket) and stream frames via CDP Page.startScreencast if a UI sidecar needs live previews.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
palladius-public-goodies@palladius-skills is listed by palladius/skills — review the source before installing
npx claudepluginhub palladius/skills --plugin palladius-public-goodies68 skills in this plugin
/a2ui(💛) Build and render portable, declarative Generative UIs with Google A2UI (Agent-to-User Interface). Use whenever the user asks to generate, design, or wire interactive UI widgets, cards, forms, or dashboards using A2UI./add-to-portfolio-app(💛) Adds or syncs Talks, Keynotes, Workshops, Articles, Codelabs, Slides, and Videos in Riccardo's personal portfolio application (apps-portfolio) and companion bio repo (my-sessions-and-bio), including SQLite sync, TDD checks, default speaker images, and automated Cloud Run deployment./adk-python(💛) Create and manage AI agents using Google's Agent Development Kit (ADK) for Python. Use when the user wants to build single or multi-agent systems, evaluate agents, or deploy them. Includes instructions for fetching fresh ADK documentation and links for TypeScript and Go development.