Xpersona
O

opencli-browser

CLAWHUB · Unverified

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

62
Rank
84
Safety
1.1k
Downloads

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

Install and run

Setup complexity: low.

clawhub skill install s1711a251cb269zj1bjvwcffxh83kcjh:opencli-browser
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. 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"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

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.

Sponsored

Ads related to opencli-browser and adjacent AI workflows.