skills/openclaw-browser-chain-debug/SKILL.md
Diagnose OpenClaw browser control failures including browser start timeouts, Chrome CDP startup failures, missing DISPLAY, browser profile launch issues, and gateway/browser environment mismatches. Use when browser automation, browser-based cron jobs, or profile openclaw fails to start, times out, or returns Request was aborted after browser steps. Also use when deciding whether a task should run with a profile browser versus an attach browser: prefer profile for unattended automation and recurring jobs; prefer attach when a human's already-open logged-in tab or manual cooperation is required.
npx skillsauth add aaaaqwq/agi-super-team openclaw-browser-chain-debugInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to debug the OpenClaw browser control chain systematically before changing config.
Choose the browser mode before debugging deeper, because many "timeout" issues are really mode mismatches.
Use profile=openclaw or another profile browser for:
Default automation choice:
profile=openclaw for bot-owned automationWhy:
Use attach-style control (profile=user or current user browser attach flow) for:
Why:
Do not force profile=openclaw for flows that really require:
Do not force attach/user-tab control for:
Gather the exact failure text first. Common triggers:
browser start(profile=openclaw) timed outFailed to start Chrome CDPMissing X server or $DISPLAYRequest was abortedrunning:false / cdpReady:falseDo not guess from the top-level timeout alone.
Run these first:
openclaw gateway status
openclaw status
Then use the browser tool or equivalent checks to inspect:
runningcdpReadyheadlessnoSandboxInterpretation:
gateway running + browser running:false usually means browser/profile launch failure, not full gateway outage.running:true + cdpReady:false usually means Chrome launched badly or CDP never became reachable.Inspect the environment seen by the gateway/service, not just your interactive shell.
Key variables:
DISPLAYXDG_SESSION_TYPEWAYLAND_DISPLAYXAUTHORITYAlso check whether the host actually has a display server:
printf 'DISPLAY=%s\nXDG_SESSION_TYPE=%s\nWAYLAND_DISPLAY=%s\n' "$DISPLAY" "$XDG_SESSION_TYPE" "$WAYLAND_DISPLAY"
ps -ef | grep -E '[X]org|[X]wayland|[X]vfb'
Important pattern:
DISPLAY, the issue is usually service/session environment mismatch, not “no GUI exists anywhere”.Search the OpenClaw log for browser-specific evidence:
grep -nE 'browser|CDP|DISPLAY|X server|18800|timeout' /tmp/openclaw/openclaw-$(date +%F).log | tail -n 120
Prioritize the deepest concrete error over generic timeout wrappers.
Signals:
Missing X server or $DISPLAYheadless:falseDISPLAYRoot cause:
Preferred fix:
Alternative fix:
DISPLAY, XAUTHORITY, etc.). This is more fragile.Signals:
browser.noSandbox: trueFix:
browser.noSandbox: true after checking config schema first.Signals:
Fix direction:
Signals:
profile=openclawFix:
profile=userUse the smallest repair that matches the evidence.
Recommended order:
noSandbox when sandbox/root/container evidence points there.After any fix, re-test in this order:
openclaw or the intended modeDo not jump straight to the largest cron as the first verification step.
If a cron depends on browser:
browser down alerts when browser is unavailableOn this host, one confirmed root cause was:
DISPLAY / XDG_SESSION_TYPE / WAYLAND_DISPLAYopenclaw profile was non-headlessFor the exact checklist and interpretation, read references/checklist.md.
development
Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.
tools
Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.
data-ai
Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.
tools
Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.