
Opencli Browser
Gives Claude direct control over a real Chrome window through the opencli CLI. You get selector-first targeting with automatic stale-ref recovery, structured envelopes that report match confidence, and network capture so you can skip DOM scraping when the page loads data from JSON. The skill enforces inspect-before-act discipline and compounds form metadata (date formats, full option lists) into single responses to keep token budgets sane. Use it for logged-in flows, ad-hoc extraction, or filling multi-step forms where a static adapter doesn't exist yet. The bind command lets you hand an already-open tab to the agent mid-session. Honest take: the match_level system (exact, stable, reidentified) is clever enough that you can survive light DOM churn without constantly re-querying.
- skills.sh installs
- 20.6K
- GitHub stars
- 31K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jackwener/opencli --skill opencli-browser --agent claude-codeInstalls into .claude/skills of the current project.
Files
Browser tools for agents
Use the capability that fits the task. Discover commands with opencli list <query>;
read exact arguments with opencli browser <command> --help -f json.
Run opencli doctor when diagnosing a connection problem.
Scope and results
Page commands require --session <name>. Reuse that name across a task; different
sessions isolate page work. --profile <name> selects a Chrome profile when needed.
Options can follow command arguments:
opencli browser open https://example.com --session research
opencli browser state --session research
opencli browser click --role button --name Search --session research
opencli browser close --session research
Default output is one JSON value: { "ok": true, "data": ... }.
Failures return { "ok": false, "error": { "code": "...", "message": "...", "hint": "..." } }
and a nonzero exit code. Diagnostic logs go to stderr. network --follow and
console --follow stream one envelope per line. Help, version and shell completion
are inspection/export surfaces; structured help uses --help -f json.
Sponsors
Details
- Repository
- github.com/jackwener/opencli
- Categories
- Documentation, AI & Agent Building, Automation & Workflows, CLI & Terminal
- First seen
- Apr 16, 2026