opencli
Use opencli CLI to interact with social/content websites (Bilibili, Zhihu, Twitter/X, YouTube, Weibo, 小红书, V2EX, Reddit, HackerNews, 雪球, BOSS直聘 etc.) via the... Skill: opencli Owner: aaronwang1980 Summary: Use opencli CLI to interact with social/content websites (Bilibili, Zhihu, Twitter/X, YouTube, Weibo, 小红书, V2EX, Reddit, HackerNews, 雪球, BOSS直聘 etc.) via the... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-27T06:31:21.311Z | user Initial release from GitHub Archive index: Archive v1.0.0: 5 files, 13123 bytes Files: README.md (12590b), references/commands.md (6582b)
Rank
62
Safety
84
Downloads
3.3k
Updated
Oct 9, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 3.3K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 3.3K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.0.0release · observed Mar 27, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17avr7akn4dk11s30z6891j9s83hvpq:opencli-skill- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- 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-aaronwang1980-opencli-skill/snapshot"
Documentation
CLAWHUB
24,485 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: opencli
description: |
Use opencli CLI to interact with social/content websites (Bilibili, Zhihu, Twitter/X, YouTube, Weibo, 小红书, V2EX, Reddit, HackerNews, 雪球, BOSS直聘 etc.) via the user's Chrome login session. ALWAYS prefer opencli over playwright/browser automation for these supported sites. Triggers: user asks to browse, search, fetch hot/trending content, post, or read messages on any supported site; 查B站热门, 搜知乎, 看微博热搜, 发推, 搜YouTube, 查股票行情 etc.
---
# opencli
CLI tool that turns websites into CLI interfaces, reusing Chrome's login state. Zero credentials needed.
**Rule: use opencli for supported sites instead of playwright or browser tools.**
## Syntax
```bash
opencli <site> <command> [--option value] [-f json]
```
**Common flags (all commands):**
- `-f json` — machine-readable output (preferred for parsing)
- `--limit N` — number of results (default varies, usually 20)
- `-f table|json|yaml|md|csv`
## Quick Examples
```bash
# 读取/浏览
opencli bilibili hot --limit 10 -f json
opencli zhihu hot -f json
opencli weibo hot -f json
opencli twitter timeline -f json
opencli hackernews top --limit 20 -f json
opencli v2ex hot -f json
opencli reddit hot -f json
opencli xiaohongshu feed -f json
# 搜索
opencli bilibili search --keyword "AI" -f json
opencli zhihu search --keyword "大模型" -f json
opencli twitter search --query "claude AI" -f json
opencli youtube search --query "LLM tutorial" -f json
opencli boss search --query "AI工程师" --city "上海" -f json
# 互动(写操作)
opencli twitter post --text "Hello from CLI!"
opencli twitter reply --url "https://x.com/.../status/123" --text "Great post!"
opencli twitter like --url "https://x.com/.../status/123"
# 个人数据
opencli bilibili history -f json
opencli twitter bookmarks -f json
opencli xueqiu watchlist -f json
```
## Output Formatting Rules
When displaying results to the user:
1. **Always show original title + Chinese translation + clickable link as separate columns**
2. **Table format**: `# | 原标题 | 中文翻译 | 链接 | 关键指标...`
3. **原标题**: plain text, no markdown link — do NOT use `[title](url)` format
4. **中文翻译**: plain Chinese translation text
5. **链接**: `[🔗](url)` — compact clickable icon
6. **Translate all English titles** to Chinese — never show English-only output to the user
Example:
```
| # | 原标题 | 中文翻译 | 链接 | 分 | 评论 |
|---|--------|---------|------|-----|------|
| 1 | The 49MB web page | 那个 49MB 的网页 | [🔗](https://...) | 388 | 196 |
```
## Fallback 策略:opencli 不支持时用 Playwright
**核心原则:永远不说"不支持",先尝试 opencli,失败或无命令时自动切换 Playwright。**
### 决策流程
```
用户请求
↓
opencli 有对应命令?
├─ 是 → 执行 opencli
└─ 否 → 直接用 Playwright MCP 打开对应页面完成任务
↓
Playwright 报错 / 无法连接?
└─ 引导用户安装桥接插件(见下方)
```
### 常见 opencli 不支持场景 → Playwright 替代
| 场景 | 网址 | Playwright 操作 |
|------|------|----------------|
| 知乎私信 | `https://www.zhihu.com/messages` | navigate → snapshot 读取列表 |
| 知乎通知 | `https://www.zhihu.com/notifications` | navigate → snapshot |
| 微博发帖 | `https://weibo.com` | navigate → 点击输入框 → tREADME.md
# opencli-skill × Claude Code > Control Bilibili, Zhihu, Twitter/X, YouTube, Weibo, Reddit and 10 more platforms with natural language — reusing your Chrome login session, no API keys needed. > > 用自然语言操控 B站、知乎、Twitter/X、YouTube、微博、Reddit 等 16 个平台——直接复用你的 Chrome 登录态,无需任何 API Key。 **[English](#english) | [中文](#中文)** --- <a name="english"></a> ## English ### What is this? Have you ever wanted Claude to: - Browse **Bilibili** trending, search **Zhihu**, check **Weibo** hot topics - Search **YouTube**, get **Reddit** posts, read **HackerNews** - Check **stock prices** on Yahoo Finance or Xueqiu - Post a **tweet** or search your **Twitter** timeline ...but Claude has no access to these platforms? **This skill bridges that gap.** It wraps [opencli](https://github.com/jackwener/opencli) — a brilliant open-source CLI tool that turns 16 major platforms into command-line interfaces by **reusing your existing Chrome login sessions**. No API keys. No re-authentication. Just open Chrome, log in as usual, and Claude can do the rest. ### Supported Platforms (16) | Platform | Read | Search | Write | |----------|------|--------|-------| | Bilibili (B站) | ✅ Hot/Ranking/Feed/History | ✅ Videos/Users | — | | Zhihu (知乎) | ✅ Hot list | ✅ | ✅ Question details | | Weibo (微博) | ✅ Trending | — | ✅ Post (via Playwright) | | Twitter/X | ✅ Timeline/Trending/Bookmarks | ✅ | ✅ Post/Reply/Like | | YouTube | — | ✅ | — | | Xiaohongshu (小红书) | ✅ Recommended feed | ✅ | — | | Reddit | ✅ Home/Hot | ✅ | — | | HackerNews | ✅ Top stories | — | — | | V2EX | ✅ Hot/Latest | — | ✅ Daily check-in | | Xueqiu (雪球) | ✅ Hot/Stocks/Watchlist | ✅ | — | | BOSS直聘 | — | ✅ Jobs | — | | BBC | ✅ News | — | — | | Reuters | — | ✅ | — | | 什么值得买 | — | ✅ Deals | — | | Yahoo Finance | ✅ Stock quotes | — | — | | Ctrip (携程) | — | ✅ Attractions/Cities | — | ### Prerequisites Before installation, check that you have all of these: - [ ] **Node.js** v16+ — [Download from nodejs.org](https://nodejs.org/) - [ ] **Chrome browser** open and logged in to your target platforms - [ ] **Playwright MCP Bridge** Chrome extension — [Install from Chrome Web Store](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn) - [ ] **Playwright MCP** configured in Claude Code (see Step 3 below) - [ ] **Claude Code** — [Install](https://claude.ai/code) ### Installation (4 Steps) **Step 1 — Install the opencli CLI tool** ```bash npm install -g @jackwener/opencli ``` Verify it works: ```bash opencli --version ``` **Step 2 — Install Playwright MCP Bridge in Chrome** 1. Open Chrome and go to the [Playwright MCP Bridge](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn) page on the Chrome Web Store 2. Click **"Add to Chrome"** and confirm 3. Check that the extension icon appears in Chrome's toolbar (top-right) > **Why is this needed?** opencli controls your Chrome browser to reuse your existing login sessions. This extension acts as t
_meta.json
{
"ownerId": "kn74rnszt288jg9wgk30kqfpe582jgv1",
"slug": "opencli-skill",
"version": "1.0.0",
"publishedAt": 1774593081311
}references/commands.md
# opencli Command Reference All commands support: `-f table|json|yaml|md|csv` and `-v` (verbose/debug). --- ## BBC | Command | Args | Description | |---------|------|-------------| | `bbc news` | `--limit N` (default 20, max 50) | BBC新闻头条 (RSS, no login needed) | --- ## Bilibili (B站) | Command | Args | Description | |---------|------|-------------| | `bilibili hot` | `--limit N` (default 20) | B站热门视频 | | `bilibili ranking` | `--limit N` (default 20) | 视频排行榜 | | `bilibili search` | `--keyword <str>` (required), `--type video\|user`, `--page N`, `--limit N` | 搜索视频或用户 | | `bilibili feed` | `--limit N`, `--type all\|video\|article` | 关注的人的动态时间线 | | `bilibili dynamic` | `--limit N` (default 15) | 用户动态 feed | | `bilibili history` | `--limit N` (default 20) | 我的观看历史 | | `bilibili favorite` | `--limit N`, `--page N` | 我的默认收藏夹 | | `bilibili following` | `--uid <id>` (可选,默认当前用户), `--page N`, `--limit N` (max 50) | 关注列表 | | `bilibili me` | — | 当前用户个人资料 | | `bilibili user-videos` | `--uid <id>` (required), `--limit N`, `--order pubdate\|click\|stow`, `--page N` | 指定用户的投稿视频 | | `bilibili subtitle` | `--bvid <bvid>` (required), `--lang <code>` (可选,如 zh-CN, en-US, ai-zh) | 获取视频字幕 | --- ## BOSS直聘 | Command | Args | Description | |---------|------|-------------| | `boss search` | `--query <str>` (required), `--city <城市>`, `--experience <经验>`, `--degree <学历>`, `--salary <薪资>`, `--industry <行业>`, `--page N`, `--limit N` (default 15) | 搜索职位 | **经验选项**: 应届/1年以内/1-3年/3-5年/5-10年/10年以上 **学历选项**: 大专/本科/硕士/博士 **薪资选项**: 3K以下/3-5K/5-10K/10-15K/15-20K/20-30K/30-50K/50K以上 --- ## 携程 (Ctrip) | Command | Args | Description | |---------|------|-------------| | `ctrip search` | `--query <str>` (required), `--limit N` (default 15) | 搜索城市或景点 | --- ## HackerNews | Command | Args | Description | |---------|------|-------------| | `hackernews top` | `--limit N` (default 20) | 热门故事 (无需登录) | --- ## Reddit | Command | Args | Description | |---------|------|-------------| | `reddit frontpage` | `--limit N` (default 15) | Reddit首页 / r/all | | `reddit hot` | `--subreddit <name>` (可选), `--limit N` | 热门帖子 | | `reddit search` | `--query <str>` (required), `--limit N` | 搜索帖子 | | `reddit subreddit` | `--name <subreddit>` (required), `--sort hot\|new\|top\|rising`, `--limit N` | 指定 subreddit | --- ## 路透社 (Reuters) | Command | Args | Description | |---------|------|-------------| | `reuters search` | `--query <str>` (required), `--limit N` (default 10, max 40) | 搜索新闻 | --- ## 什么值得买 (smzdm) | Command | Args | Description | |---------|------|-------------| | `smzdm search` | `--keyword <str>` (required), `--limit N` (default 20) | 搜索好价商品 | --- ## Twitter / X | Command | Args | Description | |---------|------|-------------| | `twitter timeline` | `--limit N` (default 20) | 首页时间线 | | `twitter trending` | `--limit N` (default 20) | 热门话题 | | `twitter search` | `--query <str>` (required), `--limit N` (default 15) | 搜索推文 | | `twitter bookmarks` | `--limit N` (default 20) | 书签列表
skill-card.md
## Description: Use opencli CLI to interact with social and content websites such as Bilibili, Zhihu, Twitter/X, YouTube, Weibo, Xiaohongshu, V2EX, Reddit, HackerNews, Xueqiu, and BOSS Zhipin through the user's existing Chrome login session. This skill is ready for commercial/non-commercial use. ## Publisher: [aaronwang1980](https://clawhub.ai/user/aaronwang1980) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agent users use this skill to browse, search, summarize, and perform selected account actions on supported social, news, job, and finance websites through opencli or browser automation backed by an already logged-in Chrome session. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can operate websites using an already logged-in Chrome profile, exposing personal account state and private data to agent actions. Mitigation: Use a separate Chrome profile or low-risk accounts, and review each requested site action before allowing the agent to proceed. Risk: Write operations such as posts, replies, likes, deletes, direct messages, and check-ins can affect public or account-visible state. Mitigation: Require explicit user confirmation with the exact target and content before any write operation is executed. Risk: Mutable install commands such as npx or @latest can change behavior over time. Mitigation: Prefer pinned package versions or a reviewed local installation before using the skill in higher-trust workflows. ## Reference(s): - [opencli command reference](references/commands.md) - [opencli upstream project](https://github.com/jackwener/opencli) - [Playwright MCP Bridge extension](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn) - [ClawHub skill page](https://clawhub.ai/aaronwang1980/skills/opencli-skill) ## Skill Output: **Output Type(s):** [text, markdown, code, shell commands, configuration, guidance] **Output Format:** [Markdown tables, command snippets, configuration guidance, and structured command-output summaries] **Output Parameters:** [1D] **Other Properties Related to Output:** [May include JSON, YAML, CSV, Markdown, or table-formatted data emitted by opencli commands.] ## 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.
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/aaronwang1980/skills/opencli-skill",
"sourceUrl": "https://clawhub.ai/aaronwang1980/skills/opencli-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T08:41:45.019Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T08:41:45.019Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "3.3K downloads",
"href": "https://clawhub.ai/aaronwang1980/opencli-skill",
"sourceUrl": "https://clawhub.ai/aaronwang1980/opencli-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T08:41:45.019Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/aaronwang1980/opencli-skill",
"sourceUrl": "https://clawhub.ai/aaronwang1980/opencli-skill",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-27T06:31:21.311Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Initial release from GitHub",
"href": "https://clawhub.ai/aaronwang1980/opencli-skill",
"sourceUrl": "https://clawhub.ai/aaronwang1980/opencli-skill",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-27T06:31:21.311Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
