opencli-browser
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... Skill: opencli-browser Owner: liberalchang Summary: 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... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-22T08:19:58.713Z | user opencli-browser 1.0.0 – Initial release - Enables structured control of a live Chrome window via opencli for agents. - Provides se
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.0release · observed Apr 22, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s1711a251cb269zj1bjvwcffxh83kcjh:opencli-browser- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-liberalchang-opencli-browser/snapshot"
Documentation
CLAWHUB
24,291 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: opencli-browser
description: 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 the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.
allowed-tools: Bash(opencli:*), Read, Edit, Write
---
# opencli-browser
The first reader of this CLI is an agent, not a human. Every subcommand returns a structured envelope that tells you exactly what matched, how confident the match is, and what to do if it didn't. Lean on those envelopes — do not guess.
This skill is for **driving a live browser** to accomplish an agent task. If you are building a reusable adapter under `~/.opencli/clis/<site>/` use `opencli-adapter-author` instead.
---
## Prerequisites
```bash
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.
---
## Window lifecycle
- `opencli browser *` commands already keep the automation session alive between calls. The window stays open until you run `opencli browser close` or the idle timeout expires.
- `--focus` (or `OPENCLI_WINDOW_FOCUSED=1`) opens the automation window in the foreground. Use it when you want to watch the page live.
- `--live` (or `OPENCLI_LIVE=1`) is mainly for browser-backed adapter commands such as `opencli xiaohongshu note ...`. It keeps the adapter's automation window open after the command returns so you can inspect the final page state.
---
## Mental model
1. **Selector-first target contract.** Every interaction command (`click`, `type`, `select`, `get text/value/attributes`) takes one `<target>`, which is *either* a numeric ref from `state`/`find` *or* a CSS selector. Use `--nth <n>` to disambiguate multiple CSS matches.
2. **Every envelope reports `matches_n` and `match_level`.** `match_level` is `exact`, `stable`, or `reidentified` — the CLI already rescued moderate DOM drift for you, but the level tells you how confident to be.
3. **Compact output first, full payload on demand.** `state` is a budget-aware snapshot; `get html --as json` supports `--depth/--children-max/--text-max`; `network` returns shape previews and you re-fetch a single body with `--detail <key>`. If you emit a giant payload you are burning context you did not need to burn.
4. **Structured errors are machine-readable.** On failure the CLI emits `{error: {code, message, hint?, candidates?}}`. Branch on `code`, not on message strings.
---
## Critical rules
1. **Always inspect before you act.** Run `state` or `find` first. Never hard-code a ref or selector from memory across sessions — indices are per-snapshot.
2. **Prefer numeric ref over CSS once you have it.** Numeric r_meta.json
{
"ownerId": "kn75j29qyaahtzr82k3xvmgtkx80mk2w",
"slug": "opencli-browser",
"version": "1.0.0",
"publishedAt": 1776845998713
}skill-card.md
## Description: Helps an agent drive a real Chrome window via opencli to inspect pages, fill forms, click through logged-in flows, extract ad-hoc data, and handle selector-first targeting, compound fields, stale references, network capture, and structured CLI envelopes. This skill is ready for commercial/non-commercial use. ## Publisher: [liberalchang](https://clawhub.ai/user/liberalchang) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agent operators use this skill to control a live Chrome browser through opencli for page inspection, form interaction, logged-in workflows, and ad-hoc data extraction. It is not intended for building reusable opencli adapters. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill enables an agent to drive a real browser session, including logged-in workflows and potentially sensitive form fields. Mitigation: Use explicit approval for sensitive steps and avoid passwords, MFA codes, payment data, and high-impact account changes unless each action is reviewed. Risk: Browser automation can make real changes to pages, forms, or accounts if an agent acts on the wrong target. Mitigation: Inspect before acting, prefer fresh refs from the current page state, and verify critical writes with read-back commands. Risk: Captured network responses may contain sensitive data and can remain available in the opencli network cache. Mitigation: Close the browser session when finished and clear the opencli network cache after sensitive work. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/liberalchang/skills/opencli-browser) - [Publisher profile](https://clawhub.ai/user/liberalchang) ## Skill Output: **Output Type(s):** [guidance, shell commands, configuration] **Output Format:** [Markdown with inline bash command examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [Guidance emphasizes structured command envelopes, selector or ref targeting, and verification after browser writes.] ## Skill Version(s): 1.0.0 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/liberalchang/skills/opencli-browser",
"sourceUrl": "https://clawhub.ai/liberalchang/skills/opencli-browser",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T07:31:31.449Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-liberalchang-opencli-browser/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-liberalchang-opencli-browser/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T07:31:31.449Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/liberalchang/opencli-browser",
"sourceUrl": "https://clawhub.ai/liberalchang/opencli-browser",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T07:31:31.449Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/liberalchang/opencli-browser",
"sourceUrl": "https://clawhub.ai/liberalchang/opencli-browser",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-22T08:19:58.713Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-liberalchang-opencli-browser/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-liberalchang-opencli-browser/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "opencli-browser 1.0.0 – Initial release - Enables structured control of a live Chrome window via opencli for agents. - Provides selector-first target contract, compound form field support, and resilient element references. - Handles stale reference recovery, structured error reporting, and network/API capture. - Outputs machine-readable envelopes describing confidence and match quality for every action. - Includes safety and robustness rules for agents: always inspect first, chain context-aware actions, and verify critical writes. - Not intended for adapter development—use opencli-adapter-author for that workflow.",
"href": "https://clawhub.ai/liberalchang/opencli-browser",
"sourceUrl": "https://clawhub.ai/liberalchang/opencli-browser",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-22T08:19:58.713Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
