opencli
Skill4 starsChanged 8 months agoMITView on GitHub
Use when an AI agent needs to install, inspect, troubleshoot, or operate a local OpenCLI setup, or when a task involves websites, Electron desktop apps, browser-login reuse, downloads, plugins, external CLI passthrough, or adapter generation through OpenCLI.
- Installs packages
11 other projects use a version of this.
Adopted by
Most recently taken up by
- lwmxiaobei/xiaobei-skillstheir own version, first seen Nov 15, 2026
- yan-labs/yan-skillstheir own version, first seen Nov 10, 2026
- legibet/agent-skillstheir own version, first seen Oct 17, 2026
- momo0338/skillstheir own version, first seen Oct 11, 2026
- Peiiii/nextclawtheir own version, first seen Oct 8, 2026
- Spoon94/skill-vaulttheir own version, first seen Aug 5, 2026
Other versions11 projects use a version of this.
Word for word · 1
- Baileybasic68/opencli-skill★ 1100% same
Edited · 0
None found.
Wrote their own version · 10
- yan-labs/yan-skills★ 321same name
- Peiiii/nextclaw★ 266same name
- lwmxiaobei/xiaobei-skills★ 163same name
- tdimino/claude-code-minoan★ 42same name
- that-yolanda/yolanda-skills★ 14same name
- Spoon94/skill-vault★ 5same name
- daidaibunny/agent-skills★ 2same name
- isandrel/skills★ 1same name
- momo0338/skills★ 1same name
- legibet/agent-skills★ 0same name
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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 4 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
Prefer -f json for agent-readable output.
- Distinctive: line 43
If a browser-backed command returns empty data or authorization errors, verify the Chrome login state before changing commands or code.
- Very specific: line 44
Before any write-like action such as post, reply, send, publish, greet, or follow, do at least one read-only command first unless the user …
- Very specific: line 50
Use this path for sources such as hackernews, wikipedia, google, arxiv, or similar read-only commands.
- Very specific: line 54
Use this path for adapters such as bilibili, zhihu, xiaohongshu, twitter, reddit, pixiv, weixin, boss, or other commands that reuse Chrome …
- Very specific: line 58
Use this path for apps such as cursor, codex, chatgpt, notion, discord-app, or doubao-app.
- Very specific: line 62
Use this path when the user really wants the underlying CLI but wants discovery, installation help, or a unified entrypoint.
- Very specific: line 66
Use opencli explore <url> --site <name> to inspect a site, opencli synthesize <site> to build an adapter, opencli generate <url> --goal …
- Very specific: line 70
Use explicit limits like --limit 5 for exploratory reads.
- Distinctive: line 71
Prefer structured output over prose whenever another tool or agent will consume the result.
- Distinctive: line 73
When a command is likely browser-backed, assume login state matters until proven otherwise.
- Very specific: line 75
Treat opencli list -f yaml as the source of truth when the README and installed commands disagree.
- Distinctive: line 76
Read references/troubleshooting.md before concluding that an adapter is broken.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenCLI
OpenCLI turns websites, Electron apps, and existing local CLIs into structured terminal commands. Prefer it when deterministic CLI output is more useful than ad-hoc browser automation.
Trigger Cues
Load this skill when the task sounds like any of these:
- "use opencli"
- "pull data from Bilibili/Zhihu/Xiaohongshu/Weixin/Boss"
- "reuse my Chrome login"
- "control Cursor/Codex/Notion/ChatGPT from the terminal"
- "download article/video/media through OpenCLI"
- "inspect what OpenCLI supports on this machine"
- "create or troubleshoot an OpenCLI adapter"
Reference Files
| Reference | Use for |
| references/agent-playbook.md | Agent-first trigger patterns, action order, and safe defaults |
| references/commands.md | Common commands, category selection, and example invocations |
| references/china-workflows.md | China-focused site templates and desktop-agent workflows |
| references/practical-scenarios.md | Detailed field manual for choosing OpenCLI and executing end-to-end workflows |
| references/troubleshooting.md | Failure signatures, browser bridge issues, auth problems, and fixes |
Core Workflow
- Confirm the binary exists. If
opencliis missing, install it withnpm install -g @jackwener/opencli. - Discover before guessing. Run
opencli list -f yamlto inspect available adapters and commands. - Choose the command class:
- Public commands: run directly. No browser login is required.
- Browser commands: ensure Chrome is open and already logged in to the target site, then run
opencli doctorif this is the first browser-backed task or if anything looks broken. - Desktop adapters: make sure the target app is running, inspect the registered commands first, then start with
read,history,model,send,ask, or adapter-specific commands. - External CLI passthrough: use
opencli <tool> ...and keep the original arguments intact. - New site development: use
explore,synthesize,generate, andcascade.
- Prefer
-f jsonfor agent-readable output. Use-f yamlfor human inspection,-f tablefor terminal browsing, and-vonly when debugging. - If a browser-backed command returns empty data or authorization errors, verify the Chrome login state before changing commands or code.
- Before any write-like action such as
post,reply,send,publish,greet, orfollow, do at least one read-only command first unless the user explicitly asks to skip that safety step.
Decision Guide
Public data
Use this path for sources such as hackernews, wikipedia, google, arxiv, or similar read-only commands. These are the cheapest and most reliable because they do not depend on Chrome state.
Browser-backed sites
Use this path for adapters such as bilibili, zhihu, xiaohongshu, twitter, reddit, pixiv, weixin, boss, or other commands that reuse Chrome login. Keep Chrome running, keep the account logged in, and use opencli doctor before deeper debugging.
Desktop adapters
Use this path for apps such as cursor, codex, chatgpt, notion, discord-app, or doubao-app. Do not assume a command exists just because another adapter or README example has it; inspect the registry first with opencli list -f yaml or adapter help.
External CLI hub
Use this path when the user really wants the underlying CLI but wants discovery, installation help, or a unified entrypoint. Examples include opencli gh ..., opencli docker ..., opencli obsidian ..., and opencli gws ....
Adapter generation
Use opencli explore <url> --site <name> to inspect a site, opencli synthesize <site> to build an adapter, opencli generate <url> --goal "<goal>" for the fast path, and opencli cascade <url> to probe authentication strategy.
Operating Rules
- Use explicit limits like
--limit 5for exploratory reads. - Prefer structured output over prose whenever another tool or agent will consume the result.
- For media downloads, install
yt-dlpwhen the adapter requires it. - When a command is likely browser-backed, assume login state matters until proven otherwise.
- For desktop adapters, check
--helpbefore assuming command parity across apps or versions. - Treat
opencli list -f yamlas the source of truth when the README and installed commands disagree. - Read references/troubleshooting.md before concluding that an adapter is broken.
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.

