jackwener avatar

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-code

Installs 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

More from jackwener/opencli

All 11
1wshobson avatarsql-optimization-patternswshobson/agentsMaster SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debug20.4Kskills.sh installs
2nuxt avatarnuxt-uinuxt/uiBuild UIs with @nuxt/ui v4 — 125+ accessible Vue components with Tailwind CSS theming. Use when creating interfaces, customizing themes to match a brand, buildi20.3Kskills.sh installs
3hardikpandya avatarstop-slophardikpandya/stop-slopRemove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.19.4Kskills.sh installs
4warpdotdev avatarscan-new-specswarpdotdev/common-skillsScan warpdotdev/warp and warp-server for recently merged PRODUCT.md specs that don't yet have a corresponding docs PR in warpdotdev/docs. When a complete spec i19.3Kskills.sh installs
5langchain-ai avatarlanggraph-fundamentalslangchain-ai/langchain-skillsINVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.18.9Kskills.sh installs
6ejirocodes avatarsvelte5-best-practicesejirocodes/agent-skillsSvelte 5 runes, snippets, SvelteKit patterns, and modern best practices for TypeScript and component development. Use when writing, reviewing, or refactoring Sv18.6Kskills.sh installs