🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

opencli-browser

by @liberalchang

Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers...

Versionv1.0.0
Installs1
⚙️ Configuration

opencli doctor

Until doctor is green, nothing else will work. Typical failures: Chrome not running, extension not installed, debug port blocked by 1Password / other extensions. The doctor output tells you which.


📋 Tips & Best Practices

| symptom | fix | |---------|-----| | opencli doctor red: "Browser not connected" | Start Chrome with --remote-debugging-port=9222, or rerun the extension install. | | attach failed: chrome-extension://... | Disable 1Password / other CDP-hungry extensions temporarily. | | selector_not_found right after state | Page mutated. wait selector "..." then retry. | | stale_ref across every command | You are reusing refs from a prior page. Re-state. | | click succeeds but nothing happens | The element is probably a decorative wrapper stealing clicks from the real target. find --css "..." with a narrower selector and retry on the inner element. | | type appears to finish but value is wrong | Autocomplete, masked input, or React controlled re-render. Verify with get value. Add keys Enter or re-type. | | Giant get html output | Pass --selector + --as json --depth 3 --children-max 20 --text-max 200. | | Network cache seems stale | Bump --ttl down, or let it expire. The cache lives at ~/.opencli/cache/browser-network/. |


View on ClawHub
TERMINAL
clawhub install opencli-browser

🧪 Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

🔍 Can't find the right skill?

Search 60,000+ AI agent skills — free, no login needed.

Search Skills →