{"id":"b870e098-16a3-48cf-aef3-3c531410217f","entityType":"agent","slug":"clawhub-aaronwang1980-opencli-skill","name":"opencli","canonicalUrl":"https://www.xpersona.co/agent/clawhub-aaronwang1980-opencli-skill","canonicalPath":"/agent/clawhub-aaronwang1980-opencli-skill","generatedAt":"2026-10-09T19:14:36.550Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":null},"description":"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)","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 3.3K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17avr7akn4dk11s30z6891j9s83hvpq:opencli-skill","sourceUrl":"https://clawhub.ai/aaronwang1980/opencli-skill","homepage":"https://clawhub.ai/aaronwang1980/skills/opencli-skill","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/aaronwang1980/opencli-skill","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/aaronwang1980/skills/opencli-skill","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Use opencli CLI to interact with social/content websites (Bilibili, Zhihu, Twitter/X, YouTube, Weibo, 小红书, V2EX, Reddit, HackerNews, 雪球, BOSS直聘 etc.) via the..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":null},"stars":null,"forks":null,"downloads":3313,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"3.3K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T08:41:45.019Z","lastCrawledAt":"2026-10-09T08:41:45.019Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T08:41:45.019Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-03-27T06:31:21.311Z","changelog":"Initial release from GitHub","fileCount":5,"zipByteSize":13123}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17avr7akn4dk11s30z6891j9s83hvpq:opencli-skill","setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T19:14:36.549Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-aaronwang1980-opencli-skill/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":null},"readme":"Skill: opencli\n\nOwner: aaronwang1980\n\nSummary: Use opencli CLI to interact with social/content websites (Bilibili, Zhihu, Twitter/X, YouTube, Weibo, 小红书, V2EX, Reddit, HackerNews, 雪球, BOSS直聘 etc.) via the...\n\nTags: latest:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-03-27T06:31:21.311Z | user\n\nInitial release from GitHub\n\nArchive index:\n\nArchive v1.0.0: 5 files, 13123 bytes\n\nFiles: README.md (12590b), references/commands.md (6582b), skill-card.md (2574b), SKILL.md (6583b), _meta.json (132b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: opencli\ndescription: |\n  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.\n---\n\n# opencli\n\nCLI tool that turns websites into CLI interfaces, reusing Chrome's login state. Zero credentials needed.\n\n**Rule: use opencli for supported sites instead of playwright or browser tools.**\n\n## Syntax\n\n```bash\nopencli <site> <command> [--option value] [-f json]\n```\n\n**Common flags (all commands):**\n- `-f json` — machine-readable output (preferred for parsing)\n- `--limit N` — number of results (default varies, usually 20)\n- `-f table|json|yaml|md|csv`\n\n## Quick Examples\n\n```bash\n# 读取/浏览\nopencli bilibili hot --limit 10 -f json\nopencli zhihu hot -f json\nopencli weibo hot -f json\nopencli twitter timeline -f json\nopencli hackernews top --limit 20 -f json\nopencli v2ex hot -f json\nopencli reddit hot -f json\nopencli xiaohongshu feed -f json\n\n# 搜索\nopencli bilibili search --keyword \"AI\" -f json\nopencli zhihu search --keyword \"大模型\" -f json\nopencli twitter search --query \"claude AI\" -f json\nopencli youtube search --query \"LLM tutorial\" -f json\nopencli boss search --query \"AI工程师\" --city \"上海\" -f json\n\n# 互动（写操作）\nopencli twitter post --text \"Hello from CLI!\"\nopencli twitter reply --url \"https://x.com/.../status/123\" --text \"Great post!\"\nopencli twitter like --url \"https://x.com/.../status/123\"\n\n# 个人数据\nopencli bilibili history -f json\nopencli twitter bookmarks -f json\nopencli xueqiu watchlist -f json\n```\n\n## Output Formatting Rules\n\nWhen displaying results to the user:\n1. **Always show original title + Chinese translation + clickable link as separate columns**\n2. **Table format**: `# | 原标题 | 中文翻译 | 链接 | 关键指标...`\n3. **原标题**: plain text, no markdown link — do NOT use `[title](url)` format\n4. **中文翻译**: plain Chinese translation text\n5. **链接**: `[🔗](url)` — compact clickable icon\n6. **Translate all English titles** to Chinese — never show English-only output to the user\n\nExample:\n```\n| # | 原标题 | 中文翻译 | 链接 | 分 | 评论 |\n|---|--------|---------|------|-----|------|\n| 1 | The 49MB web page | 那个 49MB 的网页 | [🔗](https://...) | 388 | 196 |\n```\n\n## Fallback 策略：opencli 不支持时用 Playwright\n\n**核心原则：永远不说\"不支持\"，先尝试 opencli，失败或无命令时自动切换 Playwright。**\n\n### 决策流程\n\n```\n用户请求\n  ↓\nopencli 有对应命令？\n  ├─ 是 → 执行 opencli\n  └─ 否 → 直接用 Playwright MCP 打开对应页面完成任务\n              ↓\n           Playwright 报错 / 无法连接？\n              └─ 引导用户安装桥接插件（见下方）\n```\n\n### 常见 opencli 不支持场景 → Playwright 替代\n\n| 场景 | 网址 | Playwright 操作 |\n|------|------|----------------|\n| 知乎私信 | `https://www.zhihu.com/messages` | navigate → snapshot 读取列表 |\n| 知乎通知 | `https://www.zhihu.com/notifications` | navigate → snapshot |\n| 微博发帖 | `https://weibo.com` | navigate → 点击输入框 → type → 发送 |\n| 小红书私信 | `https://www.xiaohongshu.com/im` | navigate → snapshot |\n| B站私信 | `https://message.bilibili.com` | navigate → snapshot |\n| Twitter DM | `https://x.com/messages` | navigate → snapshot |\n\n### Playwright 操作标准流程\n\n```\n1. mcp__playwright__browser_navigate → 目标 URL\n2. mcp__playwright__browser_snapshot → 读取页面结构\n3. 根据需要：browser_click / browser_type / browser_scroll\n4. 将结果整理后呈现给用户\n```\n\n### ⚠️ 写操作风险提示（发帖/回复/点赞前必须告知）\n\n1. **账号安全**：自动化行为可能触发平台风控\n2. **不可撤回**：发布后立即公开\n3. **最佳实践**：执行前向用户展示将发布的内容，等待确认\n\n### 插件未安装时的引导话术\n\n如果 Playwright 报错（连接失败 / 无法控制浏览器），告知用户：\n\n> \"需要在 Chrome 安装 **Playwright MCP Bridge** 插件才能控制浏览器。\n> 安装步骤：\n> 1. 打开 Chrome，访问 Chrome Web Store\n> 2. 搜索 **\"Playwright MCP\"** 或 **\"MCP Bridge\"**\n> 3. 点击「添加到 Chrome」\n> 4. 安装后确保 Chrome 已登录目标网站\n> 5. 重新告诉我你的需求，我来帮你完成\"\n\n## Requirements\n\n- Chrome browser open with target site logged in\n- Playwright MCP Bridge extension installed in Chrome（未安装时见上方引导）\n\n## 自迭代能力：为新网站创建 CLI\n\n**当 opencli 不支持某个网站时，不要放弃——自己创建！**\n\n### 流程\n\n```\n1. opencli <site> --help  →  报错？说明不支持\n2. opencli generate <url>  →  尝试自动生成（成功则结束）\n3. 自动生成失败 → 手动创建 YAML：\n   a. 用 Playwright 打开目标页面\n   b. browser_evaluate 探索 DOM 结构（找 data-test 属性、class 规律）\n   c. 确认选择器后写入 ~/.opencli/clis/<site>/top.yaml\n   d. opencli <site> top -f json  →  验证输出\n```\n\n### YAML 格式（DOM 抓取模板）\n\n```yaml\nsite: <sitename>\nname: <command>\ndescription: <描述>\ndomain: <domain>\nstrategy: public\nbrowser: true\n\nargs:\n  limit:\n    type: int\n    default: 10\n\npipeline:\n  - navigate: https://<url>\n  - evaluate: |\n      (async () => {\n        const limit = ${{ args.limit }};\n        // DOM 抓取逻辑\n        return results;\n      })()\n\ncolumns: [rank, name, ...]\n```\n\n### 已创建的自定义 CLI\n\n| 站点 | 命令 | 文件 | 关键选择器 |\n|------|------|------|-----------|\n| producthunt | `top` | `~/.opencli/clis/producthunt/top.yaml` | `button[data-test=\"vote-button\"]` → 父容器 → `[data-test^=\"post-name-\"]`，tagline: `nameEl.parentElement.querySelector('span.mt-0\\\\.5')` |\n\n### 调试技巧\n\n- `browser_evaluate` 先探结构：`document.querySelector('...').innerHTML`\n- 找 `data-test` 属性最稳定，其次 class 中的语义词\n- tagline 通常是 name 的兄弟元素（`nameEl.parentElement.querySelector('span...')`）\n- 去重用 `seen = new Set()`，防止重复产品\n\n## Full Command Reference\n\nSee [references/commands.md](references/commands.md) for all 55 commands with complete argument details.\n\nFile v1.0.0:README.md\n\n# opencli-skill × Claude Code\n\n> Control Bilibili, Zhihu, Twitter/X, YouTube, Weibo, Reddit and 10 more platforms with natural language — reusing your Chrome login session, no API keys needed.\n>\n> 用自然语言操控 B站、知乎、Twitter/X、YouTube、微博、Reddit 等 16 个平台——直接复用你的 Chrome 登录态，无需任何 API Key。\n\n**[English](#english) | [中文](#中文)**\n\n---\n\n<a name=\"english\"></a>\n## English\n\n### What is this?\n\nHave you ever wanted Claude to:\n- Browse **Bilibili** trending, search **Zhihu**, check **Weibo** hot topics\n- Search **YouTube**, get **Reddit** posts, read **HackerNews**\n- Check **stock prices** on Yahoo Finance or Xueqiu\n- Post a **tweet** or search your **Twitter** timeline\n\n...but Claude has no access to these platforms?\n\n**This skill bridges that gap.**\n\nIt 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.\n\n### Supported Platforms (16)\n\n| Platform | Read | Search | Write |\n|----------|------|--------|-------|\n| Bilibili (B站) | ✅ Hot/Ranking/Feed/History | ✅ Videos/Users | — |\n| Zhihu (知乎) | ✅ Hot list | ✅ | ✅ Question details |\n| Weibo (微博) | ✅ Trending | — | ✅ Post (via Playwright) |\n| Twitter/X | ✅ Timeline/Trending/Bookmarks | ✅ | ✅ Post/Reply/Like |\n| YouTube | — | ✅ | — |\n| Xiaohongshu (小红书) | ✅ Recommended feed | ✅ | — |\n| Reddit | ✅ Home/Hot | ✅ | — |\n| HackerNews | ✅ Top stories | — | — |\n| V2EX | ✅ Hot/Latest | — | ✅ Daily check-in |\n| Xueqiu (雪球) | ✅ Hot/Stocks/Watchlist | ✅ | — |\n| BOSS直聘 | — | ✅ Jobs | — |\n| BBC | ✅ News | — | — |\n| Reuters | — | ✅ | — |\n| 什么值得买 | — | ✅ Deals | — |\n| Yahoo Finance | ✅ Stock quotes | — | — |\n| Ctrip (携程) | — | ✅ Attractions/Cities | — |\n\n### Prerequisites\n\nBefore installation, check that you have all of these:\n\n- [ ] **Node.js** v16+ — [Download from nodejs.org](https://nodejs.org/)\n- [ ] **Chrome browser** open and logged in to your target platforms\n- [ ] **Playwright MCP Bridge** Chrome extension — [Install from Chrome Web Store](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn)\n- [ ] **Playwright MCP** configured in Claude Code (see Step 3 below)\n- [ ] **Claude Code** — [Install](https://claude.ai/code)\n\n### Installation (4 Steps)\n\n**Step 1 — Install the opencli CLI tool**\n\n```bash\nnpm install -g @jackwener/opencli\n```\n\nVerify it works:\n```bash\nopencli --version\n```\n\n**Step 2 — Install Playwright MCP Bridge in Chrome**\n\n1. Open Chrome and go to the [Playwright MCP Bridge](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn) page on the Chrome Web Store\n2. Click **\"Add to Chrome\"** and confirm\n3. Check that the extension icon appears in Chrome's toolbar (top-right)\n\n> **Why is this needed?** opencli controls your Chrome browser to reuse your existing login sessions. This extension acts as the bridge between opencli and Chrome, so you never have to enter your credentials again.\n\n**Step 3 — Configure Playwright MCP in Claude Code**\n\nClaude Code needs the Playwright MCP server to control Chrome. Run this once in your terminal:\n\n```bash\nclaude mcp add playwright --scope user -- npx @playwright/mcp@latest\n```\n\nVerify it was added:\n```bash\nclaude mcp list\n```\n\nYou should see `playwright` in the list.\n\n**Step 4 — Install this skill**\n\n```bash\nnpx skills add joeseesun/opencli-skill\n```\n\nThat's it! Restart Claude Code to activate the skill.\n\n### Usage\n\nMake sure Chrome is open and you're logged in to the target platforms, then talk to Claude naturally:\n\n```\n\"Search YouTube for LLM tutorials\"\n\"Get the top 20 stories on HackerNews\"\n\"What's trending on Twitter right now?\"\n\"Search Reddit r/MachineLearning for transformer papers\"\n\"Get BBC news headlines\"\n\"Check AAPL stock price\"\n\"Post a tweet: Just discovered Claude Code skills!\"\n```\n\nClaude automatically picks the right opencli command, runs it, and displays results in a clean table with translated titles.\n\n### Command Reference\n\n```bash\n# Bilibili\nopencli bilibili hot --limit 10 -f json\nopencli bilibili search --keyword \"AI\"\n\n# Twitter/X\nopencli twitter timeline -f json\nopencli twitter post --text \"Hello from Claude!\"\nopencli twitter search --query \"claude AI\"\n\n# YouTube\nopencli youtube search --query \"LLM tutorial\"\n\n# HackerNews\nopencli hackernews top --limit 20 -f json\n\n# Reddit\nopencli reddit hot --subreddit MachineLearning\n\n# Yahoo Finance\nopencli yahoo-finance quote --symbol AAPL\n```\n\nFull reference for all 55 commands: [references/commands.md](references/commands.md)\n\n### ⚠️ Write Operations Warning\n\nFor write operations (posting tweets, Weibo updates, etc.), Claude will **show you the content and ask for confirmation** before posting anything.\n\nKnown risks:\n- Platform bot-detection may trigger CAPTCHAs or temporary rate limits\n- Once published, content is immediately public and cannot be recalled by the AI\n- Avoid rapid repeated posting\n\n### Troubleshooting\n\n| Problem | Fix |\n|---------|-----|\n| `opencli: command not found` | Re-run `npm install -g @jackwener/opencli`; check your PATH |\n| Chrome not being controlled | Make sure Chrome is open; verify Playwright MCP Bridge extension is enabled |\n| Login state not recognized | In Chrome, manually log in to the target site first |\n| \"Playwright MCP not found\" error | Re-run Step 3: `claude mcp add playwright ...` |\n| `npx skills add` fails | Make sure Node.js v16+ is installed |\n\n### Credits\n\nBuilt on **[jackwener/opencli](https://github.com/jackwener/opencli)**.\n\nHuge thanks to **[@jakevin7 (卡比卡比)](https://github.com/jackwener)** for building this genuinely clever tool — turning major websites into CLI interfaces that reuse existing browser sessions is a brilliant idea that makes AI agents far more capable.\n\n---\n\n<a name=\"中文\"></a>\n## 中文\n\n### 这是什么？\n\n你有没有遇到过这种情况：\n\n- 想让 Claude 帮你**查 B站热门**、**搜知乎**、**看微博热搜**，但 Claude 根本没有这些平台的访问权限\n- 用 Playwright 自动化太麻烦，还要单独处理登录态\n- 各平台 API 要申请资质，普通用户根本用不了\n\n**这个 Skill 解决了这个问题。**\n\n它把 [opencli](https://github.com/jackwener/opencli) 封装成 Claude Code 的能力——opencli 是一个开源 CLI 工具，把 16 个主流平台变成命令行接口，**直接复用你 Chrome 浏览器里已有的登录态**。零配置，零 API Key。你在哪个网站登录了，Claude 就能帮你操作哪个网站。\n\n### 支持的平台（16 个）\n\n| 平台 | 读取 | 搜索 | 写操作 |\n|------|------|------|--------|\n| 哔哩哔哩 (B站) | ✅ 热门/排行/动态/历史 | ✅ 视频/用户 | — |\n| 知乎 | ✅ 热榜 | ✅ | ✅ 问题详情 |\n| 微博 | ✅ 热搜 | — | ✅ 发微博（Playwright） |\n| Twitter/X | ✅ 时间线/热门/书签 | ✅ | ✅ 发推/回复/点赞 |\n| YouTube | — | ✅ | — |\n| 小红书 | ✅ 推荐 Feed | ✅ | — |\n| Reddit | ✅ 首页/热门 | ✅ | — |\n| HackerNews | ✅ Top | — | — |\n| V2EX | ✅ 热门/最新 | — | ✅ 签到 |\n| 雪球 | ✅ 热门/行情/自选股 | ✅ | — |\n| BOSS直聘 | — | ✅ 职位 | — |\n| BBC | ✅ 新闻 | — | — |\n| 路透社 | — | ✅ | — |\n| 什么值得买 | — | ✅ | — |\n| Yahoo Finance | ✅ 股票行情 | — | — |\n| 携程 | — | ✅ 景点/城市 | — |\n\n### 前置条件\n\n安装前，请逐一确认以下条件都已满足：\n\n- [ ] **Node.js** v16 及以上 — [从 nodejs.org 下载](https://nodejs.org/)\n- [ ] **Chrome 浏览器** 已打开，并已登录目标网站\n- [ ] **Playwright MCP Bridge** Chrome 扩展 — [Chrome 商店安装](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn)\n- [ ] **Playwright MCP** 已在 Claude Code 中配置（见第三步）\n- [ ] **Claude Code** — [安装地址](https://claude.ai/code)\n\n### 安装配置（四步）\n\n**第一步：安装 opencli CLI 工具**\n\nopencli 是由 [@jakevin7（卡比卡比）](https://github.com/jackwener/opencli) 开发的开源工具：\n\n```bash\nnpm install -g @jackwener/opencli\n```\n\n验证安装成功：\n```bash\nopencli --version\n```\n\n如果看到版本号，说明安装正常。\n\n**第二步：在 Chrome 安装 Playwright MCP Bridge 扩展**\n\n1. 打开 Chrome，访问 [Playwright MCP Bridge 扩展页面](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn)\n2. 点击「添加到 Chrome」，在弹窗中确认\n3. 检查 Chrome 右上角工具栏，确认扩展图标已出现\n\n> **为什么需要这个扩展？** opencli 需要控制你的 Chrome 浏览器来复用你的登录态。这个扩展充当了 opencli 和 Chrome 之间的桥梁，让 Claude 可以直接用你已经登录好的账号，不需要你重新输入密码。\n\n**第三步：在 Claude Code 中配置 Playwright MCP**\n\nClaude Code 需要 Playwright MCP 服务才能控制 Chrome。在终端运行一次即可：\n\n```bash\nclaude mcp add playwright --scope user -- npx @playwright/mcp@latest\n```\n\n验证是否配置成功：\n```bash\nclaude mcp list\n```\n\n看到列表中有 `playwright` 就说明配置好了。\n\n**第四步：安装本 Skill**\n\n```bash\nnpx skills add joeseesun/opencli-skill\n```\n\n安装完成后重启 Claude Code，Skill 即可生效。\n\n### 使用方法\n\n确保 Chrome 已打开且已登录目标网站，然后在 Claude Code 中用自然语言说：\n\n```\n查下B站今天的热门\n搜知乎上关于AI大模型的讨论\n看微博热搜前10条\n帮我发一条微博：今天天气真好\n查一下茅台的股票行情\n搜YouTube上的LLM教程\n```\n\nClaude 会自动调用 opencli 或 Playwright 完成操作，结果以表格形式展示，英文标题附带中文翻译。\n\n### 命令速查\n\n```bash\n# B站\nopencli bilibili hot --limit 10 -f json\nopencli bilibili search --keyword \"AI\"\nopencli bilibili history\n\n# 知乎\nopencli zhihu hot -f json\nopencli zhihu search --keyword \"大模型\"\n\n# 微博\nopencli weibo hot -f json\n\n# Twitter/X\nopencli twitter timeline -f json\nopencli twitter post --text \"Hello from Claude!\"\nopencli twitter search --query \"claude AI\"\n\n# YouTube\nopencli youtube search --query \"LLM tutorial\"\n\n# 雪球\nopencli xueqiu stock --symbol SH600519   # 茅台行情\nopencli xueqiu watchlist                  # 我的自选股\n\n# HackerNews\nopencli hackernews top --limit 20 -f json\n\n# Reddit\nopencli reddit hot --subreddit MachineLearning\n```\n\n完整 55 条命令详见 [references/commands.md](references/commands.md)。\n\n### ⚠️ 写操作风险说明\n\n对于 Twitter 发推、微博发帖等**写操作**，Claude 会在执行前明确展示将要发布的内容，并等待你确认后才执行。自动化发帖存在以下风险，请知悉：\n\n- 平台风控可能检测到自动化行为，触发验证码或限流\n- 发布后内容立即公开，AI 无法帮你撤回\n- 避免短时间内频繁操作\n\n### 常见问题\n\n| 问题 | 解决方法 |\n|------|----------|\n| `opencli: command not found` | 重新运行 `npm install -g @jackwener/opencli`，检查 PATH 配置 |\n| Chrome 无法被控制 | 确保 Chrome 已打开，且 Playwright MCP Bridge 扩展已启用 |\n| 登录态未识别 | 在 Chrome 中手动登录目标网站后再试 |\n| 提示找不到 Playwright MCP | 重新执行第三步的配置命令 |\n| `npx skills add` 报错 | 确认 Node.js v16+ 已安装 |\n\n### 致谢\n\n本 Skill 基于 **[jackwener/opencli](https://github.com/jackwener/opencli)** 构建。\n\n感谢原作者 **[@jakevin7（卡比卡比）](https://github.com/jackwener)** 开发了这个极具创意的工具——把主流网站变成 CLI 接口，让 AI 可以直接复用用户的浏览器登录态，是个非常聪明的设计。\n\n---\n\n## License\n\nMIT\n\n---\n\n## 📱 Follow the Author / 关注作者\n\nIf this skill helps you, follow me for more AI tools and tips.\n\n如果这个 Skill 对你有帮助，欢迎关注我获取更多 AI 工具分享：\n\n- **X (Twitter)**: [@vista8](https://x.com/vista8)\n- **微信公众号「向阳乔木推荐看」**:\n\n<p align=\"center\">\n  <img src=\"https://github.com/joeseesun/terminal-boost/raw/main/assets/wechat-qr.jpg?raw=true\" alt=\"向阳乔木推荐看公众号二维码\" width=\"300\">\n</p>\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn74rnszt288jg9wgk30kqfpe582jgv1\",\n  \"slug\": \"opencli-skill\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1774593081311\n}\n\nFile v1.0.0:references/commands.md\n\n# opencli Command Reference\n\nAll commands support: `-f table|json|yaml|md|csv` and `-v` (verbose/debug).\n\n---\n\n## BBC\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `bbc news` | `--limit N` (default 20, max 50) | BBC新闻头条 (RSS, no login needed) |\n\n---\n\n## Bilibili (B站)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `bilibili hot` | `--limit N` (default 20) | B站热门视频 |\n| `bilibili ranking` | `--limit N` (default 20) | 视频排行榜 |\n| `bilibili search` | `--keyword <str>` (required), `--type video\\|user`, `--page N`, `--limit N` | 搜索视频或用户 |\n| `bilibili feed` | `--limit N`, `--type all\\|video\\|article` | 关注的人的动态时间线 |\n| `bilibili dynamic` | `--limit N` (default 15) | 用户动态 feed |\n| `bilibili history` | `--limit N` (default 20) | 我的观看历史 |\n| `bilibili favorite` | `--limit N`, `--page N` | 我的默认收藏夹 |\n| `bilibili following` | `--uid <id>` (可选，默认当前用户), `--page N`, `--limit N` (max 50) | 关注列表 |\n| `bilibili me` | — | 当前用户个人资料 |\n| `bilibili user-videos` | `--uid <id>` (required), `--limit N`, `--order pubdate\\|click\\|stow`, `--page N` | 指定用户的投稿视频 |\n| `bilibili subtitle` | `--bvid <bvid>` (required), `--lang <code>` (可选，如 zh-CN, en-US, ai-zh) | 获取视频字幕 |\n\n---\n\n## BOSS直聘\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `boss search` | `--query <str>` (required), `--city <城市>`, `--experience <经验>`, `--degree <学历>`, `--salary <薪资>`, `--industry <行业>`, `--page N`, `--limit N` (default 15) | 搜索职位 |\n\n**经验选项**: 应届/1年以内/1-3年/3-5年/5-10年/10年以上\n**学历选项**: 大专/本科/硕士/博士\n**薪资选项**: 3K以下/3-5K/5-10K/10-15K/15-20K/20-30K/30-50K/50K以上\n\n---\n\n## 携程 (Ctrip)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `ctrip search` | `--query <str>` (required), `--limit N` (default 15) | 搜索城市或景点 |\n\n---\n\n## HackerNews\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `hackernews top` | `--limit N` (default 20) | 热门故事 (无需登录) |\n\n---\n\n## Reddit\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `reddit frontpage` | `--limit N` (default 15) | Reddit首页 / r/all |\n| `reddit hot` | `--subreddit <name>` (可选), `--limit N` | 热门帖子 |\n| `reddit search` | `--query <str>` (required), `--limit N` | 搜索帖子 |\n| `reddit subreddit` | `--name <subreddit>` (required), `--sort hot\\|new\\|top\\|rising`, `--limit N` | 指定 subreddit |\n\n---\n\n## 路透社 (Reuters)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `reuters search` | `--query <str>` (required), `--limit N` (default 10, max 40) | 搜索新闻 |\n\n---\n\n## 什么值得买 (smzdm)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `smzdm search` | `--keyword <str>` (required), `--limit N` (default 20) | 搜索好价商品 |\n\n---\n\n## Twitter / X\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `twitter timeline` | `--limit N` (default 20) | 首页时间线 |\n| `twitter trending` | `--limit N` (default 20) | 热门话题 |\n| `twitter search` | `--query <str>` (required), `--limit N` (default 15) | 搜索推文 |\n| `twitter bookmarks` | `--limit N` (default 20) | 书签列表 |\n| `twitter notifications` | `--limit N` (default 20) | 通知 |\n| `twitter profile` | `--username <handle>` (required), `--limit N` (default 15) | 指定用户的推文 |\n| `twitter followers` | `--user <handle>` (可选，默认自己), `--limit N` (default 50) | 粉丝列表 |\n| `twitter following` | `--user <handle>` (可选), `--limit N` (default 50) | 关注列表 |\n| `twitter post` | `--text <str>` (required) | 发推 |\n| `twitter reply` | `--url <tweet_url>` (required), `--text <str>` (required) | 回复推文 |\n| `twitter like` | `--url <tweet_url>` (required) | 点赞推文 |\n| `twitter delete` | `--url <tweet_url>` (required) | 删除推文 |\n\n---\n\n## V2EX\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `v2ex hot` | `--limit N` (default 20) | 热门话题 (无需登录) |\n| `v2ex latest` | `--limit N` (default 20) | 最新话题 (无需登录) |\n| `v2ex topic` | `--id <topic_id>` (required) | 主题详情和回复 |\n| `v2ex me` | — | 个人资料（余额/未读提醒）|\n| `v2ex daily` | — | 每日签到并领取铜币 |\n| `v2ex notifications` | `--limit N` (default 20) | 提醒（回复等）|\n\n---\n\n## 微博 (Weibo)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `weibo hot` | `--limit N` (default 30, max 50) | 微博热搜 |\n\n---\n\n## 小红书 (Xiaohongshu)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `xiaohongshu feed` | `--limit N` (default 20) | 首页推荐 Feed |\n| `xiaohongshu search` | `--keyword <str>` (required), `--limit N` (default 20) | 搜索笔记 |\n| `xiaohongshu notifications` | `--type mentions\\|likes\\|connections`, `--limit N` | 通知 |\n| `xiaohongshu user` | `--id <user_id>` (required), `--limit N` (default 15) | 指定用户的笔记 |\n\n---\n\n## 雪球 (Xueqiu)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `xueqiu hot` | `--limit N` (default 20) | 热门动态 |\n| `xueqiu hot-stock` | `--limit N` (default 20, max 50), `--type 10\\|12` (10=人气榜, 12=关注榜) | 热门股票榜 |\n| `xueqiu feed` | `--page N`, `--limit N` (default 20) | 关注用户的动态时间线 |\n| `xueqiu search` | `--query <str>` (required), `--limit N` (default 10) | 搜索股票（代码或名称）|\n| `xueqiu stock` | `--symbol <code>` (required, 如 SH600519, AAPL) | 股票实时行情 |\n| `xueqiu watchlist` | `--category 1\\|2\\|3` (1=自选, 2=持仓, 3=关注), `--limit N` | 自选股列表 |\n\n---\n\n## Yahoo Finance\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `yahoo-finance quote` | `--symbol <ticker>` (required, 如 AAPL, MSFT, TSLA) | 股票行情 |\n\n---\n\n## YouTube\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `youtube search` | `--query <str>` (required), `--limit N` (default 20, max 50) | 搜索视频 |\n\n---\n\n## 知乎 (Zhihu)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `zhihu hot` | `--limit N` (default 20) | 知乎热榜 |\n| `zhihu search` | `--keyword <str>` (required), `--limit N` (default 10) | 搜索内容 |\n| `zhihu question` | `--id <question_id>` (required), `--limit N` (default 5, 答案数) | 问题详情和回答 |\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\nUse 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.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[aaronwang1980](https://clawhub.ai/user/aaronwang1980)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can operate websites using an already logged-in Chrome profile, exposing personal account state and private data to agent actions.\n\nMitigation: Use a separate Chrome profile or low-risk accounts, and review each requested site action before allowing the agent to proceed.\n\nRisk: Write operations such as posts, replies, likes, deletes, direct messages, and check-ins can affect public or account-visible state.\n\nMitigation: Require explicit user confirmation with the exact target and content before any write operation is executed.\n\nRisk: Mutable install commands such as npx or @latest can change behavior over time.\n\nMitigation: Prefer pinned package versions or a reviewed local installation before using the skill in higher-trust workflows.\n\n## Reference(s):\n\n- [opencli command reference](references/commands.md)\n- [opencli upstream project](https://github.com/jackwener/opencli)\n- [Playwright MCP Bridge extension](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn)\n- [ClawHub skill page](https://clawhub.ai/aaronwang1980/skills/opencli-skill)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown tables, command snippets, configuration guidance, and structured command-output summaries]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include JSON, YAML, CSV, Markdown, or table-formatted data emitted by opencli commands.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers 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.","readmeExcerpt":"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)","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"opencli <site> <command> [--option value] [-f json]"},{"language":"bash","snippet":"# 读取/浏览\nopencli bilibili hot --limit 10 -f json\nopencli zhihu hot -f json\nopencli weibo hot -f json\nopencli twitter timeline -f json\nopencli hackernews top --limit 20 -f json\nopencli v2ex hot -f json\nopencli reddit hot -f json\nopencli xiaohongshu feed -f json\n\n# 搜索\nopencli bilibili search --keyword \"AI\" -f json\nopencli zhihu search --keyword \"大模型\" -f json\nopencli twitter search --query \"claude AI\" -f json\nopencli youtube search --query \"LLM tutorial\" -f json\nopencli boss search --query \"AI工程师\" --city \"上海\" -f json\n\n# 互动（写操作）\nopencli twitter post --text \"Hello from CLI!\"\nopencli twitter reply --url \"https://x.com/.../status/123\" --text \"Great post!\"\nopencli twitter like --url \"https://x.com/.../status/123\"\n\n# 个人数据\nopencli bilibili history -f json\nopencli twitter bookmarks -f json\nopencli xueqiu watchlist -f json"},{"language":"text","snippet":"| # | 原标题 | 中文翻译 | 链接 | 分 | 评论 |\n|---|--------|---------|------|-----|------|\n| 1 | The 49MB web page | 那个 49MB 的网页 | [🔗](https://...) | 388 | 196 |"},{"language":"text","snippet":"用户请求\n  ↓\nopencli 有对应命令？\n  ├─ 是 → 执行 opencli\n  └─ 否 → 直接用 Playwright MCP 打开对应页面完成任务\n              ↓\n           Playwright 报错 / 无法连接？\n              └─ 引导用户安装桥接插件（见下方）"},{"language":"text","snippet":"1. mcp__playwright__browser_navigate → 目标 URL\n2. mcp__playwright__browser_snapshot → 读取页面结构\n3. 根据需要：browser_click / browser_type / browser_scroll\n4. 将结果整理后呈现给用户"},{"language":"text","snippet":"1. opencli <site> --help  →  报错？说明不支持\n2. opencli generate <url>  →  尝试自动生成（成功则结束）\n3. 自动生成失败 → 手动创建 YAML：\n   a. 用 Playwright 打开目标页面\n   b. browser_evaluate 探索 DOM 结构（找 data-test 属性、class 规律）\n   c. 确认选择器后写入 ~/.opencli/clis/<site>/top.yaml\n   d. opencli <site> top -f json  →  验证输出"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: opencli\ndescription: |\n  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.\n---\n\n# opencli\n\nCLI tool that turns websites into CLI interfaces, reusing Chrome's login state. Zero credentials needed.\n\n**Rule: use opencli for supported sites instead of playwright or browser tools.**\n\n## Syntax\n\n```bash\nopencli <site> <command> [--option value] [-f json]\n```\n\n**Common flags (all commands):**\n- `-f json` — machine-readable output (preferred for parsing)\n- `--limit N` — number of results (default varies, usually 20)\n- `-f table|json|yaml|md|csv`\n\n## Quick Examples\n\n```bash\n# 读取/浏览\nopencli bilibili hot --limit 10 -f json\nopencli zhihu hot -f json\nopencli weibo hot -f json\nopencli twitter timeline -f json\nopencli hackernews top --limit 20 -f json\nopencli v2ex hot -f json\nopencli reddit hot -f json\nopencli xiaohongshu feed -f json\n\n# 搜索\nopencli bilibili search --keyword \"AI\" -f json\nopencli zhihu search --keyword \"大模型\" -f json\nopencli twitter search --query \"claude AI\" -f json\nopencli youtube search --query \"LLM tutorial\" -f json\nopencli boss search --query \"AI工程师\" --city \"上海\" -f json\n\n# 互动（写操作）\nopencli twitter post --text \"Hello from CLI!\"\nopencli twitter reply --url \"https://x.com/.../status/123\" --text \"Great post!\"\nopencli twitter like --url \"https://x.com/.../status/123\"\n\n# 个人数据\nopencli bilibili history -f json\nopencli twitter bookmarks -f json\nopencli xueqiu watchlist -f json\n```\n\n## Output Formatting Rules\n\nWhen displaying results to the user:\n1. **Always show original title + Chinese translation + clickable link as separate columns**\n2. **Table format**: `# | 原标题 | 中文翻译 | 链接 | 关键指标...`\n3. **原标题**: plain text, no markdown link — do NOT use `[title](url)` format\n4. **中文翻译**: plain Chinese translation text\n5. **链接**: `[🔗](url)` — compact clickable icon\n6. **Translate all English titles** to Chinese — never show English-only output to the user\n\nExample:\n```\n| # | 原标题 | 中文翻译 | 链接 | 分 | 评论 |\n|---|--------|---------|------|-----|------|\n| 1 | The 49MB web page | 那个 49MB 的网页 | [🔗](https://...) | 388 | 196 |\n```\n\n## Fallback 策略：opencli 不支持时用 Playwright\n\n**核心原则：永远不说\"不支持\"，先尝试 opencli，失败或无命令时自动切换 Playwright。**\n\n### 决策流程\n\n```\n用户请求\n  ↓\nopencli 有对应命令？\n  ├─ 是 → 执行 opencli\n  └─ 否 → 直接用 Playwright MCP 打开对应页面完成任务\n              ↓\n           Playwright 报错 / 无法连接？\n              └─ 引导用户安装桥接插件（见下方）\n```\n\n### 常见 opencli 不支持场景 → Playwright 替代\n\n| 场景 | 网址 | Playwright 操作 |\n|------|------|----------------|\n| 知乎私信 | `https://www.zhihu.com/messages` | navigate → snapshot 读取列表 |\n| 知乎通知 | `https://www.zhihu.com/notifications` | navigate → snapshot |\n| 微博发帖 | `https://weibo.com` | navigate → 点击输入框 → t"},{"path":"README.md","content":"# opencli-skill × Claude Code\n\n> Control Bilibili, Zhihu, Twitter/X, YouTube, Weibo, Reddit and 10 more platforms with natural language — reusing your Chrome login session, no API keys needed.\n>\n> 用自然语言操控 B站、知乎、Twitter/X、YouTube、微博、Reddit 等 16 个平台——直接复用你的 Chrome 登录态，无需任何 API Key。\n\n**[English](#english) | [中文](#中文)**\n\n---\n\n<a name=\"english\"></a>\n## English\n\n### What is this?\n\nHave you ever wanted Claude to:\n- Browse **Bilibili** trending, search **Zhihu**, check **Weibo** hot topics\n- Search **YouTube**, get **Reddit** posts, read **HackerNews**\n- Check **stock prices** on Yahoo Finance or Xueqiu\n- Post a **tweet** or search your **Twitter** timeline\n\n...but Claude has no access to these platforms?\n\n**This skill bridges that gap.**\n\nIt 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.\n\n### Supported Platforms (16)\n\n| Platform | Read | Search | Write |\n|----------|------|--------|-------|\n| Bilibili (B站) | ✅ Hot/Ranking/Feed/History | ✅ Videos/Users | — |\n| Zhihu (知乎) | ✅ Hot list | ✅ | ✅ Question details |\n| Weibo (微博) | ✅ Trending | — | ✅ Post (via Playwright) |\n| Twitter/X | ✅ Timeline/Trending/Bookmarks | ✅ | ✅ Post/Reply/Like |\n| YouTube | — | ✅ | — |\n| Xiaohongshu (小红书) | ✅ Recommended feed | ✅ | — |\n| Reddit | ✅ Home/Hot | ✅ | — |\n| HackerNews | ✅ Top stories | — | — |\n| V2EX | ✅ Hot/Latest | — | ✅ Daily check-in |\n| Xueqiu (雪球) | ✅ Hot/Stocks/Watchlist | ✅ | — |\n| BOSS直聘 | — | ✅ Jobs | — |\n| BBC | ✅ News | — | — |\n| Reuters | — | ✅ | — |\n| 什么值得买 | — | ✅ Deals | — |\n| Yahoo Finance | ✅ Stock quotes | — | — |\n| Ctrip (携程) | — | ✅ Attractions/Cities | — |\n\n### Prerequisites\n\nBefore installation, check that you have all of these:\n\n- [ ] **Node.js** v16+ — [Download from nodejs.org](https://nodejs.org/)\n- [ ] **Chrome browser** open and logged in to your target platforms\n- [ ] **Playwright MCP Bridge** Chrome extension — [Install from Chrome Web Store](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn)\n- [ ] **Playwright MCP** configured in Claude Code (see Step 3 below)\n- [ ] **Claude Code** — [Install](https://claude.ai/code)\n\n### Installation (4 Steps)\n\n**Step 1 — Install the opencli CLI tool**\n\n```bash\nnpm install -g @jackwener/opencli\n```\n\nVerify it works:\n```bash\nopencli --version\n```\n\n**Step 2 — Install Playwright MCP Bridge in Chrome**\n\n1. Open Chrome and go to the [Playwright MCP Bridge](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn) page on the Chrome Web Store\n2. Click **\"Add to Chrome\"** and confirm\n3. Check that the extension icon appears in Chrome's toolbar (top-right)\n\n> **Why is this needed?** opencli controls your Chrome browser to reuse your existing login sessions. This extension acts as t"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn74rnszt288jg9wgk30kqfpe582jgv1\",\n  \"slug\": \"opencli-skill\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1774593081311\n}"},{"path":"references/commands.md","content":"# opencli Command Reference\n\nAll commands support: `-f table|json|yaml|md|csv` and `-v` (verbose/debug).\n\n---\n\n## BBC\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `bbc news` | `--limit N` (default 20, max 50) | BBC新闻头条 (RSS, no login needed) |\n\n---\n\n## Bilibili (B站)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `bilibili hot` | `--limit N` (default 20) | B站热门视频 |\n| `bilibili ranking` | `--limit N` (default 20) | 视频排行榜 |\n| `bilibili search` | `--keyword <str>` (required), `--type video\\|user`, `--page N`, `--limit N` | 搜索视频或用户 |\n| `bilibili feed` | `--limit N`, `--type all\\|video\\|article` | 关注的人的动态时间线 |\n| `bilibili dynamic` | `--limit N` (default 15) | 用户动态 feed |\n| `bilibili history` | `--limit N` (default 20) | 我的观看历史 |\n| `bilibili favorite` | `--limit N`, `--page N` | 我的默认收藏夹 |\n| `bilibili following` | `--uid <id>` (可选，默认当前用户), `--page N`, `--limit N` (max 50) | 关注列表 |\n| `bilibili me` | — | 当前用户个人资料 |\n| `bilibili user-videos` | `--uid <id>` (required), `--limit N`, `--order pubdate\\|click\\|stow`, `--page N` | 指定用户的投稿视频 |\n| `bilibili subtitle` | `--bvid <bvid>` (required), `--lang <code>` (可选，如 zh-CN, en-US, ai-zh) | 获取视频字幕 |\n\n---\n\n## BOSS直聘\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `boss search` | `--query <str>` (required), `--city <城市>`, `--experience <经验>`, `--degree <学历>`, `--salary <薪资>`, `--industry <行业>`, `--page N`, `--limit N` (default 15) | 搜索职位 |\n\n**经验选项**: 应届/1年以内/1-3年/3-5年/5-10年/10年以上\n**学历选项**: 大专/本科/硕士/博士\n**薪资选项**: 3K以下/3-5K/5-10K/10-15K/15-20K/20-30K/30-50K/50K以上\n\n---\n\n## 携程 (Ctrip)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `ctrip search` | `--query <str>` (required), `--limit N` (default 15) | 搜索城市或景点 |\n\n---\n\n## HackerNews\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `hackernews top` | `--limit N` (default 20) | 热门故事 (无需登录) |\n\n---\n\n## Reddit\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `reddit frontpage` | `--limit N` (default 15) | Reddit首页 / r/all |\n| `reddit hot` | `--subreddit <name>` (可选), `--limit N` | 热门帖子 |\n| `reddit search` | `--query <str>` (required), `--limit N` | 搜索帖子 |\n| `reddit subreddit` | `--name <subreddit>` (required), `--sort hot\\|new\\|top\\|rising`, `--limit N` | 指定 subreddit |\n\n---\n\n## 路透社 (Reuters)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `reuters search` | `--query <str>` (required), `--limit N` (default 10, max 40) | 搜索新闻 |\n\n---\n\n## 什么值得买 (smzdm)\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `smzdm search` | `--keyword <str>` (required), `--limit N` (default 20) | 搜索好价商品 |\n\n---\n\n## Twitter / X\n\n| Command | Args | Description |\n|---------|------|-------------|\n| `twitter timeline` | `--limit N` (default 20) | 首页时间线 |\n| `twitter trending` | `--limit N` (default 20) | 热门话题 |\n| `twitter search` | `--query <str>` (required), `--limit N` (default 15) | 搜索推文 |\n| `twitter bookmarks` | `--limit N` (default 20) | 书签列表"},{"path":"skill-card.md","content":"## Description:\n\nUse 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.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[aaronwang1980](https://clawhub.ai/user/aaronwang1980)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can operate websites using an already logged-in Chrome profile, exposing personal account state and private data to agent actions.\n\nMitigation: Use a separate Chrome profile or low-risk accounts, and review each requested site action before allowing the agent to proceed.\n\nRisk: Write operations such as posts, replies, likes, deletes, direct messages, and check-ins can affect public or account-visible state.\n\nMitigation: Require explicit user confirmation with the exact target and content before any write operation is executed.\n\nRisk: Mutable install commands such as npx or @latest can change behavior over time.\n\nMitigation: Prefer pinned package versions or a reviewed local installation before using the skill in higher-trust workflows.\n\n## Reference(s):\n\n- [opencli command reference](references/commands.md)\n- [opencli upstream project](https://github.com/jackwener/opencli)\n- [Playwright MCP Bridge extension](https://chromewebstore.google.com/detail/playwright-mcp-bridge/kldoghpdblpjbjeechcaoibpfbgfomkn)\n- [ClawHub skill page](https://clawhub.ai/aaronwang1980/skills/opencli-skill)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown tables, command snippets, configuration guidance, and structured command-output summaries]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include JSON, YAML, CSV, Markdown, or table-formatted data emitted by opencli commands.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers 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."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"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)","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1454,"uniquenessScore":47,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T08:41:45.019Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:14:36.550Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}