Agent skill
relay-fallback-browser
Relay-first browsing policy. Try Chrome Relay first; if disconnected/unavailable, automatically fall back to managed headless browser or free-search without asking user for manual toggle.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/relay-fallback-browser
Metadata
Additional technical details for this skill
- openclaw
-
{ "emoji": "\ud83e\udded", "requires": { "bins": [ "openclaw", "node" ] } }
SKILL.md
Relay-First Browser Fallback
Use this skill whenever the user asks for web browsing, screenshots, or web data extraction.
Goal
- Primary path: Chrome Relay (user browser footprint; best compatibility)
- Fallback path: No manual toggle required from user
- managed browser tool for page interaction/screenshot
- free-search for search-only tasks
Execution policy
- Attempt browser path first:
openclaw --profile jarvis browser status
- If browser actions fail with any relay-disconnect pattern, do NOT ask user to click extension first. Immediately run fallback path.
Relay-disconnect patterns include (examples):
- "gateway token mismatch"
- "disconnected (1008)"
- "Can't reach the OpenClaw browser control service"
- "Chrome extension relay is running, but no tab is connected"
- "Unable to connect"
- Fallback routing:
- Search intent only (find links, headlines, references): use
free-search - Page interaction / screenshot / DOM extraction: use managed browser commands directly
openclaw --profile jarvis browser start
openclaw --profile jarvis browser open "<url>"
openclaw --profile jarvis browser snapshot --format md --limit 200
openclaw --profile jarvis browser screenshot --full-page
- Recovery hook (only when gateway/browser service is unhealthy):
bash "$HOME/openclaw_pro/workspace/skills/self-heal-openclaw/scripts/self_heal_openclaw.sh" --profile jarvis
Then retry step 1 once.
Response style
- Do the fallback automatically.
- Report outcome briefly: "Relay failed, switched to fallback and completed." if successful.
- Ask for manual extension attach only if both relay and fallback fail.
- Do not mention Brave API/key as a blocker in user-facing messages.
- Do not answer with "can't browse"; attempt fallback and self-heal first.
Safety
- Do not bypass auth/paywalls/captcha.
- Do not claim screenshot success unless the screenshot command actually succeeded.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?