opencli-usage

A usage guide for OpenCLI, a command-line tool that lets AI agents interact with websites, desktop apps, and public APIs. It covers installation, browser setup, commands, supported adapters, and output formats.

In plain words
What is it for?
Use it as a reference for searching, browsing trends, reading feeds, or accessing services such as Reddit, Bilibili, Hacker News, arXiv, and other supported platforms.
Why use it?
It explains the setup and command choices needed to use OpenCLI reliably. It also clarifies when Chrome login and the browser bridge are required.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage
Any agent
npx skills add zxfccmm4/Obsidian-OpenCode-Knowledge --skill opencli-usage
Clone the repo
git clone --depth 1 https://github.com/zxfccmm4/Obsidian-OpenCode-Knowledge

Made for: Claude Code, Codex.

Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00066 $0.04026
Opus 5 $0.00033 $0.02013
Sonnet 5 $0.00013 $0.00805
Haiku 4.5 $0.00007 $0.00403

Measured 2d ago against content hash aae21551d939, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

opencli-usage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vault-template/.opencode/skill/opencli-usage/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenCLI Usage Guide

Make any website or Electron App your CLI. Reuse Chrome login, zero risk, AI-powered discovery.

Install & Run

# npm global install (recommended)
npm install -g @jackwener/opencli
opencli <command>

# Or from source
cd ~/code/opencli && npm install
npx tsx src/main.ts <command>

# Update to latest
npm update -g @jackwener/opencli

Prerequisites

Browser commands require:

  1. Chrome browser running (logged into target sites)
  2. opencli Browser Bridge Chrome extension installed (load extension/ as unpacked in chrome://extensions)
  3. No further setup needed — the daemon auto-starts on first browser command

Note: You must be logged into the target website in Chrome before running commands. Tabs opened during command execution are auto-closed afterwards.

Public API commands (hackernews, v2ex) need no browser.

Quick Lookup by Capability

Capability Platforms (partial list)
search Bilibili, Twitter, Reddit, Xiaohongshu, Zhihu, YouTube, Google, arXiv, LinkedIn, Pixiv, etc.
hot/trending Bilibili, Twitter, Weibo, HackerNews, Reddit, V2EX, Xueqiu, Lobsters, Douban
feed/timeline Twitter, Reddit, Xiaohongshu, Xueqiu, Jike, Facebook, Instagram, Medium
user/profile Twitter, Reddit, Instagram, TikTok, Facebook, Bilibili, Pixiv
post/create Twitter, Jike, Douyin, Weibo
AI chat Grok, Doubao, ChatGPT, Gemini, Cursor, Codex, NotebookLM
finance/stock Xueqiu, Yahoo Finance, Barchart, Sina Finance, Bloomberg
web scraping opencli web read --url <url> — any URL to Markdown
GitHub/DevOps opencli gh, opencli docker, opencli vercel — external CLI passthrough
collaboration opencli lark-cli, opencli dws, opencli wecom-cli — external CLI passthrough

Command Quick Reference

Usage: opencli <site> <command> [args] [--limit N] [-f json|yaml|md|csv|table]

Type legend: 🌐 = Browser (needs Chrome login) · ✅ = Public API (no browser) · 🖥️ = Desktop (Electron/CDP) · 🔧 = External CLI (passthrough)

Read the full file on GitHub · 204 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 204 lines · 66 tokens per session scan A aae21551d939

Subscribe to this mod's changes

opencli-usage is a skill published in the GitHub repository zxfccmm4/Obsidian-OpenCode-Knowledge (291 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 4,026 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

qiaomu-opencli-usage

Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 79+ adapters.

joeseesun/qiaomu-opencli-skills · 69 tokens

opencli

OpenCLI — Make any website or Electron App your CLI. Zero risk, AI-powered, reuse Chrome login.

tan-yong-sheng/ai-vision-mcp · 25 tokens

douyin-upload

当 agent 需要通过已安装的 sau CLI 完成抖音登录、cookie 校验、视频上传或图文发布时使用这个 skill。该 skill 适用于已经安装 social-auto-upload 且可调用 sau 命令的环境。优先使用这个 skill 进行稳定的命令式抖音工作流,而不是一开始就阅读 uploader 源码。.

dreammis/social-auto-upload · 93 tokens

kuaishou-upload

当 agent 需要通过已安装的 sau CLI 完成快手登录、cookie 校验、视频上传或图文发布时使用这个 skill。该 skill 适用于已经安装 social-auto-upload 且可调用 sau 命令的环境。优先使用这个 skill 进行稳定的命令式快手工作流,而不是一开始就阅读 uploader 源码。.

dreammis/social-auto-upload · 92 tokens

xiaohongshu-upload

当 agent 需要通过已安装的 sau CLI 完成小红书登录、cookie 校验、视频上传或图文发布时使用这个 skill。该 skill 适用于已经安装 social-auto-upload 且可调用 sau 命令的环境。优先使用这个 skill 进行稳定的命令式小红书工作流,而不是一开始就阅读 uploader 源码。.

dreammis/social-auto-upload · 95 tokens

bilibili-upload

当 agent 需要通过已安装的 sau CLI 完成 Bilibili 登录、账号校验或视频上传时使用这个 skill。优先使用 sau bilibili ...,程序会自动准备 biliup,不要求用户手动安装。.

dreammis/social-auto-upload · 64 tokens