opencli-usage
Skill30k starsChanged 9 months agoApache-2.0View on GitHub
Use at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".
- Installs packages
2 other projects use a version of this, 2 of them edited; 1 of 2 edited versions we compared changed its rules.
How people change it
1 of 2 edited versions changed its rules.
Of the 2 edited versions we compared: 1 keep every rule, 1 made changes of their own.
Rules people drop
- Before falling back to raw
opencli browsercommands on high-change authenticated sites, check whether a site adapter already exposes the workflow. For example, ChatGPT web has higher-level commands for conversation reads and Deep Research result extraction; …dropped by 1 of 1
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- mambo-wang/ShowTimeedited, first seen May 23, 2026
- XIYBHK/claude-skillsedited, first seen Apr 21, 2026
Who's talking about jackwener/OpenCLI
- ruanyf/weekly“【开源自荐】OpenCLI - 把任何网站变成你的命令行工具,AI 原生的浏览器自动化框架”GitHub · Mar 19, 2026 · 7 reactions
- A Hacker News story“OpenCLI – Turn any website into a CLI, reusing your Chrome login”Hacker News · Mar 16, 2026 · 6 points
- A Hacker News story“Opencli – Make Any Website and Tool Your CLI”Hacker News · Mar 21, 2026 · 3 points
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 jackwener / OpenCLI ⭐ 21,415 (+344) 🗒 JavaScript Make Any Website …”Bluesky · May 17, 2026 · 2 likes
- A Hacker News story“OpenCLI – Make Any Website, Electron App, or Local Tool Your CLI”Hacker News · Mar 30, 2026 · 2 points
The biggest 5 of 57 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 57
Talked about on GitHub, Hacker News and Bluesky (57 times).
On GitHub · 49
- Mar 19, 2026【开源自荐】OpenCLI - 把任何网站变成你的命令行工具,AI 原生的浏览器自动化框架 — ruanyf/weekly7 reactions · 1 comment
- Nov 25, 2026chore(hermitd): measure the managed browser's fingerprint and capture a real X failure — gtapps/hermitd0 reactions
- Nov 15, 2026Update skill: /jackwener-opencli-browser (safe risk) — aiskillstore/marketplace0 reactions
- Nov 7, 2026agent-skills.github.jackwener.opencli: 2.0.2 → 2.0.3 — sudosubin/agents.nix0 reactions
- Nov 2, 2026规划:本机多站网页操作 CLI 入口 — OpenCLI 技术栈对齐与选型 — kuicao55/Gofer0 reactions
44 more on GitHub
- Oct 31, 2026PRICE-BROWSER-001|OpenCLI 浏览器商品检索与参考价格来源验证 — sunnyyang0822-stack/GiftWise-AI0 reactions · 1 comment
- Oct 26, 2026docs: 优化 README 并新增英文版本 — ShionWakanae/OpenCliWeb0 reactions
- Oct 20, 2026Update dependency @jackwener/opencli to v2 — IceCodeNew/claude-code-plugins-setup0 reactions
- Oct 20, 2026agent-skills.github.jackwener.opencli: 2.0.1 → 2.0.2 — sudosubin/agents.nix0 reactions
- Oct 20, 2026Add OpenCLI (jackwener/OpenCLI) — reacher-z/Awesome-CUA0 reactions
- Oct 19, 2026agent-skills.github.jackwener.opencli: 2.0.0 → 2.0.1 — sudosubin/agents.nix0 reactions
- Oct 18, 2026fix(metric): accept OpenCLI update notice and run capture with CI=1 — khangpworking/tdn-growth-os0 reactions
- Oct 17, 2026fix(browser): complete OpenCLI rollout across all machines — Castrozan/.dotfiles0 reactions · 1 comment
- Oct 17, 2026agent-skills.github.jackwener.opencli: 1.8.8 → 2.0.0 — sudosubin/agents.nix0 reactions
- Oct 17, 2026Update all non-major dependencies — IceCodeNew/claude-code-plugins-setup0 reactions · 2 comments
- Oct 16, 2026GhostCodexInspect 一期:Codex 注入启动器 MVP(DOM 重绘 + 画面流兜底) — Ghost233/GhostCodexInspect0 reactions · 1 comment
- Oct 16, 2026feat(ai-chat-turbo-engine): support Yuanbao Qwen GLM and Z.ai — CYoJkoY/Yoko-ScriptCat-Scripts0 reactions
- Oct 16, 2026Extend AI Chat Turbo Engine support for Yuanbao, Qwen/Qianwen, ChatGLM, and Z.ai — CYoJkoY/Yoko-ScriptCat-Scripts0 reactions
- Oct 14, 2026Update all non-major dependencies — IceCodeNew/claude-code-plugins-setup0 reactions · 2 comments
- Oct 10, 2026docs: improve browser automation positioning and discoverability — jackwener/opencli-website0 reactions
- Oct 7, 2026Metric tự động qua OpenCLI trên Chrome Fedora → dữ liệu dùng thẳng trong báo cáo (lọc + thông số web + in PDF + Excel) + thử đọc Facebook/Instagram — khangpworking/tdn-growth-os0 reactions
- Sep 29, 2026oct 2026 — kimtth/azure-openai-llm-notes0 reactions
- Sep 28, 2026agent-skills.github.jackwener.opencli: init at 1.8.8 — sudosubin/agents.nix0 reactions
- Sep 26, 2026Update dependency @jackwener/opencli to v1.8.8 — IceCodeNew/claude-code-plugins-setup0 reactions · 2 comments
- Sep 26, 2026Update all non-major dependencies — IceCodeNew/claude-code-plugins-setup0 reactions
- Sep 12, 2026Benchmark remaining high-value browser automation contenders and close tool-coverage gap — Rajeev-SG/web-automation-microbenchsays it tested it0 reactions
- Sep 4, 2026[Codex] Link Brain V1(Owner 修订版):小红书本机归档、单笔记 Obsidian、人机评论/戳与收藏同步 — CyberMist123/PI-Personal-Instance-OS0 reactions
- Sep 4, 2026[Codex] Link Brain V1:小红书本机归档、收藏同步与 Obsidian 人机共享知识入口 — CyberMist123/PI-Personal-Instance-OS0 reactions
- Aug 29, 2026fix(opencli): use official extension release guidance — Panniantong/Agent-Reach0 reactions · 1 comment
- Aug 27, 2026chore(deps): bump the minor-and-patch group across 1 directory with 13 updates — apache/maka0 reactions · 1 comment
- Aug 26, 2026chore(deps): bump the minor-and-patch group with 12 updates — apache/maka0 reactions · 2 comments
- Aug 16, 2026实验:验证 APS Message Hub 作为 Browser ↔ IDE 持久通讯控制面 — carllx/agent-project-system0 reactions · 5 comments
- Aug 11, 2026feat(channels): add TikTok via OpenCLI — Panniantong/Agent-Reach0 reactions · 1 comment
- Aug 7, 2026Research and implement a shared authenticated Gemini/OpenCLI browser bridge — djbclark/site-djbclark0 reactions
- Aug 5, 2026chore(deps): bump the minor-and-patch group across 1 directory with 22 updates — apache/maka0 reactions
- Jul 19, 2026OpenCLI: 웹사이트를 CLI로 변환하는 도구 — roomedia/ax-trend0 reactions
- Jul 15, 2026fix: recover Cloak sessions and arbitrate persistent writes — agentrhq/webcmd0 reactions
- Jul 12, 2026feat: tiered browser channel (OpenCLI → Computer Use → guided install… — jieshu666/Red-Skills0 reactions
- Jul 9, 2026Build eval harness for browser automation competitors — agentrhq/webcmd0 reactions · 3 comments
- Jun 11, 2026OpenCLI:AI Agent 的搜索神器 — dongmu233/blog-issues0 reactions
- Jun 9, 2026chore(deps): bump @jackwener/opencli from 1.8.0 to 1.8.3 in /apps/web-svelte — FrankQDWang/SeekTalent0 reactions · 2 comments
- May 27, 2026feat: v0.10.1-alpha — OpenCLI wechat fetch + CAPTCHA detection + host-aware fetch routing — Daily-AC/omnireach0 reactions
- May 15, 2026feat: integrate OpenCLI and larksuite/cli as data sources and agent tools — spitzheffel/infohub0 reactions
- May 11, 2026feat(twitter): expose card binding_values (title/description/image/domain) on read commands — huanghe/OpenCLI0 reactions
- May 9, 2026feat(skills): #P1-1 5-backend community skill discovery system (Sprint 60 W2 PR-1) — suzuke/agend-terminal0 reactions
- May 4, 2026Vol.46 Claude Code 入門 — hst1189/hst1189.github.io0 reactions
- Apr 1, 2026Network Error — tianhhe/boss-zhipin-cli0 reactions
- Mar 23, 2026Add opencli — agarrharr/awesome-cli-apps0 reactions · 1 comment
- Mar 23, 2026📈 Bản tin xu hướng AI mã nguồn mở 2026-03-23 — compasify/agents-radar0 reactions
On Hacker News · 4
- Mar 16, 2026OpenCLI – Turn any website into a CLI, reusing your Chrome login6 points · 3 comments
- Mar 21, 2026Opencli – Make Any Website and Tool Your CLI3 points
- Mar 30, 2026OpenCLI – Make Any Website, Electron App, or Local Tool Your CLI2 points · 1 comment
- Mar 18, 2026OpenCLI – control Electron and web apps from the CLI or AI agents1 point
On Bluesky · 4
- May 17, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 jackwener / OpenCLI ⭐ 21,415 (+344) 🗒 JavaScript Make Any Website & Tool Your CLI. A universal… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Aug 1, 2026📦 jackwener / OpenCLI ⭐ 27,545 (+40) 🗒 JavaScript Make Any Website into CLI & Use your logged-in browser by AI agent. — @github-trending-js.bsky.social1 likes and repost
- Jun 25, 2026🚀 GitHub Intelligence Drop asdf (Go • 🟢) ⭐ 25.4K → https://github.com/asdf-vm/asdf OpenCLI (JavaScript • 🟢) ⭐ 25.2K →… — @githubfeed.bsky.social1 likes and repost
- Jun 13, 2026📦 jackwener / OpenCLI ⭐ 24,234 (+74) 🗒 JavaScript Make Any Website into CLI & Use your logged-in browser by AI agent. — @github-trending-js.bsky.social0 likes and reposts · 1 reply
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- mambo-wang/ShowTime★ 1083% same
- XIYBHK/claude-skills★ 185% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- llms.txtllms.txt
- opencli-adapter-authorSkill
- opencli-autofixSkill
- opencli-browserSkill
- smart-searchSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
Do not hard-code adapter lists — there are 100+ sites and the count moves every week.
- Very specific: line 56
Before falling back to raw opencli browser commands on high-change authenticated sites, check whether a site adapter already exposes the …
- Very specific: line 148
Don't paste this skill's command list into your plan.
- Very specific: line 149
Don't assume every adapter needs a browser — strategy PUBLIC and LOCAL don't.
- Very specific: line 150
Don't silently fall back from a failing adapter to a hand-rolled fetch — --trace retain-on-failure gives you the browser evidence and …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
opencli-usage
OpenCLI turns websites and Electron desktop apps into a uniform opencli <site> <command> surface that agents can drive without screen-scraping. This skill is the orientation layer — once you know what you want to do, load one of the specialized skills below.
Main capabilities
- Adapter commands —
opencli <site> <command> [...]. Built-in adapters live inclis/, user adapters in~/.opencli/clis/. Each is backed by a strategy (PUBLIC | COOKIE | INTERCEPT | UI | LOCAL) that tells you whether a Chrome session is needed. - Browser driving —
opencli browser *subcommands (open,state,click,type,select,find,extract,network, …) for ad-hoc interaction and scraping when no adapter covers the task. Seeopencli-browser. - Current-tab binding —
opencli browser <session> bindattaches the Chrome tab the user already opened/logged into to that browser session. Follow-up commands useopencli browser <session> .... Seeopencli-browserbefore using it; bound sessions still block tab mutation.
Install
# npm global
npm install -g @jackwener/opencli # binary: opencli, requires Node >= 20.18.1
opencli doctor # run before browser-dependent work (see below)
# From source
git clone git@github.com:jackwener/OpenCLI.git
cd OpenCLI && npm install
npx tsx src/main.ts <command> # same surface, no global installopencli doctor prints a structured DoctorReport — daemon status, extension connection, version checks, and a live browser connectivity probe. Scope is narrow: it diagnoses the browser bridge (daemon + extension + Chrome wiring). PUBLIC / LOCAL adapters, opencli list, validate, verify, and plugin commands don't need it to be green — only COOKIE / INTERCEPT / UI adapters and the opencli browser * subcommands do. Flag: -v (verbose).
Prerequisites by command type
Strategy tag on opencli list | What it needs |
PUBLIC | Nothing — pure HTTP, no browser. |
COOKIE | Chrome logged into the target site + OpenCLI extension installed from the Chrome Web Store. Command captures the credential from your live session — no re-login. |
INTERCEPT | Same as COOKIE, plus opencli opens an automation window to capture a signed request. |
UI | Same as COOKIE, full DOM interaction. |
LOCAL | No browser; talks to a local/dev endpoint. |
Electron desktop apps (cursor, codex, chatwise, discord-app, doubao-app, antigravity, chatgpt-app) route through CDP against the running app — same cookie-less flow as a logged-in browser. Make sure the app is running before invoking.
Discover what's installed — don't read this file, run a command
opencli list # table, grouped by site
opencli list -f json # machine-readable; pipe to jq or your agent
opencli list | grep -i twitter # find commands for a specific site
opencli <site> --help # see that site's commands + flags
opencli <site> <command> --help # see positional args and command-specific flagsDo not hard-code adapter lists — there are 100+ sites and the count moves every week. opencli list -f json is the source of truth; it emits one entry per command with {site, name, aliases, description, strategy, browser, args, columns, ...}. For an agent, that is always better than grepping a doc.
Before falling back to raw opencli browser commands on high-change authenticated sites, check whether a site adapter already exposes the workflow. For example, ChatGPT web has higher-level commands for conversation reads and Deep Research result extraction; discover the current surface with opencli chatgpt --help or opencli list -f json.
Universal flags (work on every adapter command)
| flag | effect |
-f, --format <fmt> | table (default in TTY) · yaml (default in non-TTY) · json · plain · md · csv. Pass explicitly when you want a specific shape; agents almost always want -f json. |
-v, --verbose | Debug logs + stack traces on failure; also sets OPENCLI_VERBOSE=1 for the process. |
Command-specific flags (--limit, --tab, --filter, …) are not universal — consult <site> <command> --help.
Output formats
json— pretty-printed, 2-space indent. Default choice for agents.plain— prints a single primary field for chat-style commands (response/content/text/value). Useful for piping to another tool.yaml— fallback when output is not a TTY and-fis not explicit.table— color-coded, site-grouped; meant for humans.md,csv— straightforward tabular dumps.
A few commands override the default via cmd.defaultFormat (e.g. chat commands default to plain), so don't assume without reading --help.
Environment variables
| variable | default | purpose |
OPENCLI_BROWSER_CONNECT_TIMEOUT | 45 | Seconds to wait for the browser bridge. |
OPENCLI_BROWSER_COMMAND_TIMEOUT | 60 | Per-command timeout. |
OPENCLI_CDP_ENDPOINT | — | Manual CDP endpoint override (dev / remote Chrome / Electron). |
OPENCLI_CACHE_DIR | ~/.opencli/cache | Network capture + browser-state cache. |
OPENCLI_WINDOW | command-specific | foreground or background browser window mode. |
OPENCLI_VERBOSE | false | Verbose logging (also triggered by -v). |
Self-repair
When an adapter command fails because the site changed (selectors drifted, API rotated, response schema shifted), re-run with --trace retain-on-failure. The error envelope includes a trace block pointing at summary.md; patch only the adapterSourcePath from that summary and retry. Max 3 repair rounds. The full flow is in opencli-autofix.
Writing your own adapter
Two-path storage:
- Private:
~/.opencli/clis/<site>/<command>.js— no build step, hot-available, not visible in the public package. - Public / PR:
clis/<site>/<command>.js— for upstream contribution; requires build.
Scaffolding & verification:
opencli browser init <site>/<command> # generates a skeleton
opencli validate [target] # semantic checks on the loaded registry (description, domain, pipeline step names, func|pipeline|_lazy presence, arg duplicates) — no network, no browser
opencli verify [target] [--smoke] # run the command with synthetic args
opencli browser verify <site>/<command> # end-to-end smoke inside the bridgeAdapters import only @jackwener/opencli/registry and @jackwener/opencli/errors. columns must align 1:1 (in name and order) with keys of the object returned by func. For the full workflow see opencli-adapter-author.
Plugins
Plugins are third-party extensions pulled from git, separate from the main adapter registry:
opencli plugin install github:user/repo # install
opencli plugin list [-f json] # see installed
opencli plugin update [name] | --all # keep current
opencli plugin uninstall <name>
opencli plugin create <name> # scaffold a new pluginShell completion
opencli completion bash # also: zsh, fish
# -> script on stdout; source or save per your shell's conventionWhere to go next
| If you're about to… | Load this skill |
| Drive a live browser ad-hoc (no adapter available, or prototyping) | opencli-browser |
| Write a new adapter, or add a command to an existing site | opencli-adapter-author |
| Fix a broken adapter after a command failure | opencli-autofix |
| Route a search / lookup / research request to the right adapter | smart-search |
Commands that used to exist
The following were removed in the PR #1094 consolidation — don't try to invoke them:
opencli explore <url>— superseded byopencli browser network+opencli browser findfor live API discovery, and by theopencli-adapter-authorworkflow for capture.opencli record <url>— removed; manual capture now lives inopencli browser network --detail.opencli web read/opencli desktop *as top-level groups — folded into their respective adapters (opencli web readstill exists as thewebadapter'sreadcommand, but there is no standaloneweb/desktoptop-level group command).
Don't
- Don't paste this skill's command list into your plan; it will rot. Call
opencli list -f jsonat the start of a task instead. - Don't assume every adapter needs a browser — strategy
PUBLICandLOCALdon't. Check thestrategyfield. - Don't silently fall back from a failing adapter to a hand-rolled
fetch—--trace retain-on-failuregives you the browser evidence and adapter source path. Do that first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

