Atlas / Skills / jackwener / OpenCLI

OpenCLIBLOCK

skills/jackwener/opencli

Make Any Website into CLI & Use your logged-in browser by AI agent.

Verdict
BLOCK
Grade
F
Trust score
50 /100
Version
—
Hosts
4 documented
License
Apache-2.0
Stars
30,465
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Convert any website into a CLI & run Browser Use on your logged-in Chrome. Turn websites and browser sessions into deterministic interfaces for humans and AI agents. Or run Browser Use against any page — navigate, fill forms, click, extract, automate.

[](./README.zh-CN.md) [](https://www.npmjs.com/package/@jackwener/opencli) [](https://nodejs.org) [](./LICENSE)

OpenCLI is a general-purpose browser automation CLI for AI agents and an agent-browser alternative. Navigate, inspect, click, fill forms, extract, and screenshot websites without a site adapter. Built-in adapters add reusable, deterministic site commands. See OpenCLI vs agent-browser and migration.

OpenCLI gives you one surface for three different kinds of automation:

  • Use built-in adapters for sites like Bilibili, Zhihu, Xiaohongshu, Reddit, HackerNews, Twitter/X, and many more.
  • Let AI Agents operate any website — install the opencli-browser skill in your AI agent (Claude Code, Cursor, etc.), and it can navigate, click, type/fill, extract, and inspect any page through your logged-in browser via opencli browser primitives.
  • Write new adapters end-to-end with opencli browser + the opencli-adapter-author skill, which guides from first recon through field decoding, code, and opencli adapter test.

Agent command contract

Commands default to JSON: { "ok": true, "data": ... }; failures return { "ok": false, "error": { "code": "...", "message": "...", "hint": "..." } } on stdout with a nonzero exit code. Logs use stderr. Explicit human formats, help, version and compl

Read from source at commit 4643a2f98045OBSERVED · 2026-10-20
Advertisement
02

Install

Commands as the repository documents them. They are shown, not run.

git clone [email protected]:<your-username>/opencli.git
npm install
npm install -g @jackwener/opencli
npx skills add jackwener/opencli
npx skills add jackwener/opencli --skill opencli-adapter-author
npx skills add jackwener/opencli --skill opencli-autofix
03

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
claude-codementioned
codexmentioned
cursormentioned
openclawmentioned
04

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: opencli-adapter-author
description: Build or improve an OpenCLI JS adapter using observed site behavior, existing adapters and browser API evidence. For ad-hoc browser interaction, see opencli-browser.
allowed-tools: Bash(opencli:*), Bash(jsluice:*), Read, Edit, Write, Grep
---

# Adapter authoring

Choose the simplest implementation that reliably performs the requested task.
Use an existing site adapter when it already covers the capability:

```sh
opencli list search --site example
opencli example search --help -f json
```

`list` returns `{ok:true,data:{commands,total,nextOffset?}}`; use `--offset` to
continue, `--limit` to adjust page size. Detailed arguments belong in command help.

## Evidence available to you

```sh
opencli browser open https://example.com --session research
opencli browser state --diagnostics --session research
opencli browser network --session research
opencli browser network --static --session research
opencli browser network --detail RequestKey --session research
```

Network captures describe observed requests. Static analysis adds candidates
from loaded scripts without executing them. Inspect source locations, unresolved
expressions and capture provenance. Replay read requests when useful and compare
business data with the page. Write commands have real effects, including when run
through `adapter test`; use a suitable test account or a supported dry-run.

Prefer public APIs with a stable contract when available. Browser fetch, captured
responses, page state and semantic UI interactions are also valid choices. Select
based on the task and observed reliability. Do not guess endpoint parameters or
hide failed operations behind empty success results.

## JS interface

Adapters are ordinary files under `~/.opencli/clis/<site>/<command>.js` or repository
`clis/<site>/`. There is no draft directory, promotion step or required memory file.

```sh
opencli adapter init example/search
```

The existing `cli({...})` interface is unchanged: `func(args)` for Node execution,
`func(page, args)` with `browser: true`. Reuse neighboring adapters and shared helpers.
Return business data; the CLI adds the JSON success envelope. Throw a typed error
with an actionable hint for failures. Use `access: 'read'|'write'` accurately.
`columns` controls human table exports; JSON preserves nested results.

```js
import { cli, Strategy } from '@jackwener/opencli/registry';

cli({
  site: 'example', name: 'search', description: 'Search example items',
  access: 'read', strategy: Strategy.PUBLIC, browser: false,
  args: [{ name: 'query', positional: true, required: true }],
  func: async (args) => {
    const response = await fetch(`https://example.com/api/search?q=${encodeURIComponent(args.query)}`);
    if (!response.ok) throw new Error(`Search failed: HTTP ${response.status}`);
    return response.json();
  },
});
```

## Check and exercise

```sh
opencli adapter check example/search
opencli example search 'query'
opencli adapter test example/search --args '{"query":"query"}'
```

`check` validates definitions without executing adapters. `test` executes the normal
CLI and optionally compares an existing fixture. `--write-fixture`, `--update-fixture`
and `--no-fixture` control optional expectations; no row-shape or site-memory gate
is imposed. `--trace retain-on-failure` helps diagnose browser execution.

For repository changes, cover the core behavior and failure paths with focused
production-path tests, typecheck and build. Verify IDs, fields, units, pagination
and empty/error semantics relevant to the task. Do not automatically replay a
write with an unknown outcome; inspect state first.

## Optional references

Read only what is useful for the current task: `references/adapter-template.md`
for adapter patterns, `api-discovery.md` for request investigation,
`output-design.md` for result fields, `field-decode-playbook.md` for opaque fields,
and `deep-recon.md` for difficult private protocols. Site notes and fixtures are
optional knowledge aids; older reference checklists are not mandatory workflows.
05

Trust audit

BLOCKgrade F · trust 50/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (9 observation(s))
Shell
declared (9 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
autoresearch/commands/debug.ts:63
for (const step of task.steps) lastOutput = exec(step);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
autoresearch/commands/debug.ts:92
lastOutput = exec(step);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
autoresearch/commands/debug.ts:156
for (const step of task.steps) lastOutput = exec(step);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
autoresearch/engine.ts:109
const output = exec(this.config.verify, { timeout: 300_000 });
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
scripts/postinstall.js:179
console.log(`  Edit the file and add your Client ID and Secret, then run: opencli spotify auth`);
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
clis/web/read.js:62
const noisy = /analytics|tracking|telemetry|beacon|pixel|gtag|fbevents/i.test(url);
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
src/commands/browser.ts:147
!/analytics|tracking|telemetry|beacon|pixel|gtag|fbevents/i.test(r.url)
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
clis/spotify/spotify.js:24
const REDIRECT_URI = 'http://127.0.0.1:8888/callback';
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
clis/spotify/utils.js:40
`2. Add ${'http://127.0.0.1:8888/callback'} as a Redirect URI\n` +
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
src/cli.test.ts:87
const data = yaml.load(auth.helpInformation()) as any;
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
src/cli.test.ts:97
const statusData = yaml.load(status.helpInformation()) as any;
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
src/cli.test.ts:212
const data = yaml.load(program.helpInformation()) as any;
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
src/cli.test.ts:245
const data = yaml.load(program.helpInformation()) as any;
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
src/cli.test.ts:279
const data = yaml.load(site!.helpInformation()) as any;
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
clis/ctrip/ctrip.test.js:797
return Function('document', `return (${js})`)(dom.window.document);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
clis/bilibili/utils.js:216
return createHash('md5').update(text).digest('hex');
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
clis/flomo/memos.js:76
params.sign = createHash('md5').update(signBase + 'dbbc3dd73364b4084c3a69346e0ce2b2').digest('hex');
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
clis/grok/image.js:48
const hash = crypto.createHash('sha1').update(src).digest('hex').slice(0, 12);
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
clis/tieba/utils.js:28
return createHash('md5').update(payload).digest('hex');
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
clis/facebook/notifications.test.js:54
const manifestPath = resolve(__dirname, '../../cli-manifest.json');
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
clis/nowcoder/posts.test.js:122
const manifest = JSON.parse(readFileSync(new URL('../../cli-manifest.json', import.meta.url), 'utf8'));
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/download/media-download.test.ts:70
{ type: 'image', url: `${baseUrl}/one.jpg`, filename: '../../etc/passwd' },
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/pipeline/steps/browser.ts:6
import type { IPage } from '../../types.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/pipeline/steps/browser.ts:9
import { isRecord } from '../../utils.js';
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/adapters/browser/spotify.md:54
2. Add `http://127.0.0.1:8888/callback` to the app's Redirect URIs

Gates applied: no_behavioural_pass.

Audited 2026-10-20 · audit v0.4.1 · source sha 4643a2f98045full audit observations/trust-audit/skill/jackwener__opencli.json · Report an issue / request a re-scan
06

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-204643a2f98045BLOCKF50first audit
07

Questions

What does the opencli — jackwener/opencli skill do?

Make Any Website into CLI & Use your logged-in browser by AI agent.

Is opencli — jackwener/opencli safe to install?

No — not without reading the findings first. The audit graded it F (50/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What can opencli — jackwener/opencli access on my machine?

The audit observed that it reaches the network, runs shell commands and reads or writes files. Each of those is consistent with what it says it does. Secrets in the source: none found.

Which assistants does opencli — jackwener/opencli work with?

Its documentation mentions claude-code, codex, cursor and openclaw. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (4643a2f98045), read on 2026-10-20. The repository is watched, and a new audit runs when it changes — this is the first audit.

Add this badge to your README

Shows this page's audit result and links back to it. It updates when the audit does.

ModelsAtlas audit badge

Markdown
[![ModelsAtlas audit: OpenCLI](https://modelsatlas.com/skills/jackwener/opencli/badge.svg)](https://modelsatlas.com/skills/jackwener/opencli/)

Not your listing, or something out of date? Claim or update your listing.

Advertisement