/jleechan-skills:aside-browser-defaultfrom jleechan-skills
Runs Aside browser automation in background mode without stealing focus, or uses isolated headless Chromium for CI and deterministic tests. Handles authenticated sessions, scraping, screenshots, and localhost UI checks.
Ships in jleechan-skills. 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.
None: SKILL.md is the whole skill.
Aside's current CLI does not document a headless mode; background operation of its GUI browser is not headless. Run Aside without taking focus by default (§ Background mode), verifying the frontmost app is unchanged. When headless execution is required, use isolated headless Chromium; do not claim an Aside session is headless merely because its window is in the background.
Apply browser-control's browser-context isolation contract first. Aside is primary when it can operate in the background or the user explicitly permits its visible session in the current thread; otherwise use isolated headless Playwright Chromium. Never attach to, focus, or import cookies from the personal desktop Chrome browser.
Default: Aside in background mode for live websites and authenticated sessions, reusing whichever Aside profile is already signed in. Isolated headless Chromium is the default for CI, Linux, deterministic local-app tests, and whenever background mode is unavailable or unverified unless the user explicitly permits the visible Aside session in the current thread. No user request to show or use a browser authorizes use of a personal desktop Chrome window/profile.
| Tool | Role | When to use |
|---|---|---|
aside CLI / aside-mcp | Default (background mode) | Agent-owned profile per § Background mode; continue after a focus change only with current-thread explicit user permission |
mcp__playwright-mcp | Default (headless) | Headless isolated browser for CI, Linux, deterministic tests, and when Aside background mode is not verified and visible use is not authorized |
mcp__plugin-superpowers-chrome__chrome_use_browser | Fallback | Only when Chrome-specific behavior is required (e.g., you need Chrome's exact --user-data-dir semantics for a particular test) |
Keep Chromium headless by default. A current-thread explicit request or permission to continue in a visible Aside session permits its existing agent-owned profile for that task; do not steal focus or activate unrelated apps. Never use a personal desktop Chrome profile. Otherwise, verify background operation (frontmost app unchanged) or use isolated headless Chromium.
The installed Aside CLI currently documents no headless flag. Background mode is a no-focus-steal GUI workflow on macOS, not headless execution.
u0-u3, including ones signed into a personal service account) are usable for authenticated tasks
as-is. Do not reject a profile because of its account identity or its open tabs, and do not sign out or
re-login to "make it agent-owned". Drive it with aside repl --account <id> (or aside-mcp) and reuse
the existing signed-in session.
open -a, open -g -a, or open <url>: those take focus
and a cold start can restore windows. Start from the app binary:
/Applications/Aside.app/Contents/MacOS/Aside --profile-directory="<profile dir>" --no-startup-window &
Profile directories are in ~/Library/Application Support/Aside/Local State (profile.info_cache).aside repl --account <agent-account> or aside-mcp (openTab, snapshot, closeTab).osascript -e 'tell application "System Events" to get name of first process whose frontmost is true')
before starting Aside and again after the first action. Unchanged → background mode is proven;
continue. Changed → background mode is unverified: unless the user explicitly permits continuing
visibly in the current thread, use isolated headless Chromium (or browser-control's one-line
blocker on a fingerprint-sensitive site), reporting both app names. With that permission, continue
in the agent-owned Aside profile without claiming it is headless; do not move focus again. A transport
failure is the same availability fallback, not a permission denial —
report the layer per § Phase 1.5.Aside is a Y Combinator–backed AI-native Chromium browser launched June 2026. Advantages over the prior default:
aside "..." NL agent and --effort ultrabrowse mode can plan + execute multi-step browser workflows without the agent writing Playwright scripts.document.querySelector, CDP, computed styles, etc. all work identically.~/Library/Application Support/Aside/AsideDaemon/...); opening 100 tabs across 100 agent calls doesn't spawn 100 browser processes.aside mcp exposes the browser over the standard MCP protocol, so any agent runtime that supports MCP (Claude Code, Codex, Cursor, AO) can use it as a drop-in browser tool.aside host profiles --account <id>.aside "..." NL agent with --effort ultrabrowse.aside repl "..." with the Playwright-shaped API (openTab, snapshot, listBrowserTabs).mcp__aside-mcp__* (browser_profiles -> repl) if the runtime exposes it; otherwise drop to aside repl from a terminal tool call. If /browser invokes a Chrome-only browser subagent that fails with Could not find DevToolsActivePort, drive aside-mcp directly instead of treating Chrome DevTools as a hard blocker.mcp__playwright-mcp (headless Chromium) in an isolated context.Do not turn a browser login, consent, or MFA failure into a direct request to an internal API using browser cookies, copied headers, or bearer tokens. Do not mine HARs or browser storage for credentials. Use a provider-owned API/OAuth flow when the task authorizes it. The one permitted local cookie-transfer exception is a task that explicitly authorizes transfer from exactly one named agent-owned profile; follow browser-control's guarded lifecycle and stop on login, consent, or MFA. This does not authorize direct API probing.
Before saying "Aside is broken", classify which layer is actually failing:
openTab() or profile bridge may failContinue and submit Aside's autofilled Sign In once before declaring a hard blocker; stop if Continue reveals an empty password field, Passkey, or CAPTCHA, or if submitting Sign In produces rejected credentials, CAPTCHA, Passkey, or a 2FA challengeaside CLI may fail while the agent's built-in Aside browser tool still worksAlways report which layer failed. Do not collapse these into one generic "Aside failed" diagnosis. Do not assume a failing standalone CLI means the browser tool is dead, or that a stale browser tool session means all Aside entrypoints are dead.
aside repl and aside mcp) — see references/aside-repl-api-gotchas.md for the full verified surface; the most common pitfall is that screenshot() doesn't exist (use annotatedScreenshot()), fs/require/process are not in the REPL sandbox, and listBrowserTabs() is a Promise whose entries use plain properties (not methods):
const p = await openTab('https://example.com');
const s = await snapshot(p, { interactive: true });
console.log(s.tree); // or s.title, s.url, s.childCount
await closeTab(p); // close only this task-owned tab
aside --account <agent-account> --effort ultrabrowse "Find the next available AirBnB near 1127 Riverside Drive that sleeps 4 and has AC, return the listing URL + price + availability dates"
// ⚠️ listBrowserTabs() is a Promise; entries are plain-property objects
const tabs = await listBrowserTabs();
tabs.forEach(t => console.log(t.url, '|', t.title));
fs/require/process — emit base64 to stdout, decode in caller):
const p = await openTab('https://example.com');
await new Promise(r => setTimeout(r, 4500));
const shot = await annotatedScreenshot(p); // NOT screenshot() — that doesn't exist
console.log('B64:' + shot.base64Image);
references/oauth-capture-and-drive.md is retired and non-executable.aside --session <id> "Continue from where we left off"
aside --account <agent-owned-account-id> "open https://example.com"
closeAllTabs() on a shared browser.Start it in background mode (§ Background mode). If the app is not installed, background start fails, or the frontmost app changes without the user's explicit current-thread permission to continue visibly, use isolated headless Chromium. Never use plain open -a Aside, open <url>, or anything that activates the app.
If the Aside CLI or app is not installed, use isolated headless Chromium; installing or repairing Aside is outside this skill's browser-task path.
openTab() path as proof that all existing Aside tabs are unusableshow_browser by default or launching headed mode as an ordinary fallback; the headless-only default applies to Playwright/browserclaw fallback routes. Current-thread explicit permission may allow the existing agent-owned Aside session; a visible Chromium fallback requires a separate verified task-owned profile.mcp__claude-in-chrome__* for any browser work (requires extension, fails headless/CI)screenshot() in the REPL — it doesn't exist; use annotatedScreenshot() which returns {base64Image: "..."}. See references/aside-repl-api-gotchas.md.listBrowserTabs() synchronously — it's a Promise; entries are {url, title} plain-property objects, not callables. See references/aside-repl-api-gotchas.md.require('fs') or process.stdout inside the REPL — only Buffer and the Aside functions are in scope. Save files by emitting base64 to stdout and decoding in the caller.| Component | Path / URL | Verified? |
|---|---|---|
| Aside GUI app | /Applications/Aside.app | ✅ |
| Aside CLI binary | command -v aside (stop with "aside not installed" if absent) | verify at run time |
| Aside CLI version | aside --version | verify at run time |
| Aside daemon | ~/Library/Application Support/Aside/AsideDaemon/<arch>/<version>/Aside Daemon.app | verify at run time |
| Aside account | * u0 '<account-email>' Google provider, Profile 0 | ✅ |
| Aside MCP (HTTP) | http://127.0.0.1:8013/mcp | ✅ (in ~/.claude/mcp-strict.json + ~/.claude.json) |
| Aside MCP (stdio) | aside mcp | ✅ |
| Aside Safe Storage keychain | Aside Safe Storage / Aside | ✅ |
| Aside cookie DB | ~/Library/Application Support/Aside/Default/Cookies | ✅ |
Aside and Chrome use separate macOS Keychain entries. This is portability background, not permission to copy cookies. Any transfer is limited to the exact, explicitly authorized agent-owned source and guarded private-temp lifecycle in browser-control; personal Chrome is never a source. Re-encryption does not authorize bypassing an access control.
# 1. CLI alive
aside --version # prints the installed version
aside account list # * u0 '<account-email>' signed in
aside host profiles --account <agent-account> # agent profile must show connected
# 2. REPL alive
aside repl --account <agent-account> "console.log('ok')" # [ok | <Nms>]
aside repl --account <agent-account> "(async () => console.log((await listBrowserTabs()).length))()" # number of open tabs
# 3. NL agent alive
aside --account <agent-account> "Open https://example.com and report the title" # returns "Example Domain"
# 4. MCP server reachable
curl -fsS http://127.0.0.1:8013/mcp -X POST -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | head -5
When reporting browser work, include browser_mode: aside-cli (or aside-mcp / playwright-fallback / superpowers-chrome-fallback) in the status line.
A machine-local rollback script (for example one under ${HERMES_HOME:-$HOME/.hermes}/scripts/, if present) changes user-wide agent configuration and resets the macOS default browser. It is not a browser-recovery fallback and must not be run during ordinary browser work. Any configuration migration requires a separate, explicitly scoped task.
references/aside-repl-api-gotchas.md — verified REPL API surface (2026-07-05): screenshot() doesn't exist, fs/require/process not available, listBrowserTabs() is a Promise, openTab() returns CDP target object. Must-read before writing any aside repl automation.references/oauth-capture-and-drive.md — retired OAuth recipe notice. Do not execute the former opener-shadowing, desktop-browser, or direct API-probe flow.WIKI_ROOT is set, related notes may exist under $WIKI_ROOT/wiki/ (for example an AsideBrowser entity page); skip when unset.What SKILL.md sets; muted values are Claude Code's defaults
Browser automation, scraping, screenshots, localhost UI checks, cookie injection flows, /browser command, public-data lookups
Three short reads, in order
browser-automation, headless-browser, background-mode, aside, playwright, chromium
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job
242 skills in this plugin
/4layer/4layer - Four-Layer Minimal Repro Testing Protocol/ablationUse when diagnosing a bug in LLM/model behavior, or any stochastic system, where the cause is disputed or theorized rather than measured. Slash commands `/ablation` and `/abal`. Enforces the rule that you manipulate the REAL captured input and replay it through the REAL production path, one variable at a time, with a verbatim control arm run first to establish the base rate. Trigger phrases include "ablation", "ablate", "what actually causes", "is X the trigger", "prove the root cause", "A/B the payload", "does removing X fix it", "why does the model do this", "test the hypothesis", "root cause is disputed"./accept-adapt-rejectTriage incoming feedback into Accept / Adapt / Reject buckets with structured verdicts and follow-up actions. Triggers on /aar, /accept-adapt-reject, or review triage./adjustment-proofUse when proving, rejecting, or deleting backend adjustment registry entries with real LLM evidence and independent disabled-adjustment worktrees./adviceUse when a focused second opinion is needed; collect the applicable independent, full-coverage reviewer votes on an exact change or saved-document bundle./agent-orchestratorUse this skill when working in repositories managed by Agent Orchestrator or when the user asks how to use `ao` properly. Covers the default AO workflow: bootstrap with `ao start`, dispatch work with `ao spawn`, inspect progress with `ao status` or `ao session ls`, steer sessions with `ao send`, and recover or clean up sessions safely. Includes strict parameter fidelity, pre-spawn cap cleanup, quota-wall fallback, and post-spawn verification.