zxfccmm4/obsidian-opencode-knowledge/opencli-browser
Claude Code and agent skill by zxfccmm4/obsidian-opencode-knowledge
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Make websites accessible for AI agents. Navigate, click, type, extract, wait — using Chrome with existing login sessions. No LLM API key needed.
Install
npx vskill@latest install zxfccmm4/obsidian-opencode-knowledge/opencli-browserSKILL.md
OpenCLI Browser — Browser Automation for AI Agents
Control Chrome step-by-step via CLI. Reuses existing login sessions — no passwords needed.
Prerequisites
Requires: Chrome running + OpenCLI Browser Bridge extension installed.
Critical Rules
- ALWAYS use `state` to inspect the page, NEVER use `screenshot` —
statereturns structured DOM with[N]element indices, is instant and costs zero tokens. - ALWAYS use `click`/`type`/`select` for interaction, NEVER use `eval` to click or type —
eval "el.click()"bypasses scrollIntoView and CDP click pipeline. - Verify inputs with `get value`, not screenshots — after
type, runget value <index>to confirm. - Run `state` after every page change — after
open,click(on links),scroll, always runstate. - Chain commands aggressively with `&&` — combine commands to reduce overhead.
- `eval` is read-only — use
evalONLY for data extraction, never for clicking, typing, or navigating. - Minimize total tool calls — plan your sequence before acting.
- Prefer `network` to discover APIs — most sites have JSON APIs. API-based adapters are more reliable than DOM scraping.
Core Workflow
- Navigate:
opencli browser open <url> - Inspect:
opencli browser state→ elements with[N]indices - Interact: use indices —
click,type,select,keys - Wait (if needed):
opencli browser wait selector ".loaded"orwait text "Success" - Verify:
opencli browser stateoropencli browser get value <N> - Repeat: browser stays open between commands
- Save: write a JS adapter to
~/.opencli/clis/<site>/<command>.js
Commands
Navigation
Inspect (free & instant)
Get (free & instant)
Interact
Wait
Extract (free & instant, read-only)
Network (API Discovery)
Session
Action Chaining
Always chain when possible — fewer tool calls = faster completion:
Tips
- Always `state` first — never guess element indices
- Sessions persist — browser stays open between commands
- Use `eval` for data extraction —
eval "JSON.stringify(...)"is faster than multiplegetcalls - Use `network` to find APIs — JSON APIs are more reliable than DOM scraping
- Alias:
opencli opis shorthand foropencli browser
Troubleshooting
| Error | Fix | |
|---|---|---|
| "Browser not connected" | Run opencli doctor | |
| "attach failed: chrome-extension://" | Disable 1Password temporarily | |
| Element not found | opencli browser scroll down && opencli browser state | |
| Stale indices after page change | Run opencli browser state again |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvault-template/.opencode/skill/opencli-browser/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-browser)