微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

零API密钥,一键抓取全网数据

opencli · v1.0.1
效率 安全 C 级 作者 hellotombruce 公开目录收录
985 下载 0 安装 2.8k 收藏 42 浏览

简介

无需API密钥,复用Chrome登录状态,一站式抓取Twitter、Reddit、B站、知乎、小红书等50+平台的实时数据。

原始描述

Fetch data from social, video, and news websites using OpenCLI by reusing Chrome login sessions without API keys.

通过你的 Agent 添加

安装目录:opencli/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/opencli-53454/
Codex CLI~/.codex/skills/opencli-53454/
DeepSeek Harness~/.agents/skills/opencli-53454/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

OpenCLI 综合评估

核心用法

OpenCLI 是一款基于 Chrome DevTools Protocol (CDP) 的浏览器自动化 CLI 工具,通过 Browser Bridge 扩展与本地 Chrome 实例通信,实现无需官方 API 密钥即可抓取社交媒体、视频平台、资讯站点等数据。核心工作流为:安装 OpenCLI → 配置 Browser Bridge → 登录目标网站 → 执行命令获取数据。

显著优点

  • 零 API 成本:完全绕过平台 API 配额限制和付费墙,复用用户已有登录态
  • 覆盖广泛:支持 Twitter/X、Reddit、Bilibili、知乎、小红书、即刻、飞书、Discord 等 30+ 主流平台,总计 200+ 命令
  • 格式灵活:输出支持 table/json/yaml/md/csv,便于人工阅读或程序解析
  • 深度集成:不仅可读,还支持写操作(发帖、评论、点赞、发送消息等)
  • AI 工具链打通:内置对 Cursor、ChatGPT Desktop、ChatWise、Grok、Codex、Notion 等 AI/生产力工具的控制能力

潜在缺点与局限性

  • 稳定性依赖浏览器:CDP 连接可能因 Chrome 更新、页面结构变更而中断
  • 平台反爬风险:无 API 的抓取行为可能触发平台风控,存在账号封禁隐患
  • 功能脆弱性:依赖 DOM 选择器,目标网站改版后命令可能失效
  • 隐私边界:Browser Bridge 拥有浏览器完整访问权限,敏感数据暴露面较大
  • 仅限桌面端:需要本地 Chrome + 扩展,无法云端部署

适合人群

  • 数据分析师:需要批量获取社交媒体公开数据
  • 内容运营:多平台账号管理和自动化发布
  • 开发者:快速原型验证,无需申请 API 密钥
  • 研究人员:舆情监测、热点追踪

常规风险

风险类型 说明
账号安全 建议小号操作,避免主账号暴露
数据隐私 Browser Bridge 可访问所有标签页,注意隔离敏感会话
合规风险 需遵守各平台 ToS,商业用途建议优先申请官方 API
单点故障 工具链依赖 NPM 包 @jackwener/opencli 的维护更新

版本: 1.0.0 | 许可证: MIT

技能正文


name: opencli description: Use OpenCLI to fetch data from websites like Twitter, Reddit, Bilibili, Zhihu, Xiaohongshu, YouTube, etc. Triggers: opencli, social media, twitter, reddit, bilibili, zhihu, xiaohongshu, youtube, weibo, hackernews, fetch website data. license: MIT version: 1.0.0 config: dependencies: - opencli (npm install -g @jackwener/opencli) - Chrome with Browser Bridge extension

OpenCLI Skill

通过 OpenCLI 从各种网站获取数据,无需 API 密钥,复用 Chrome 登录状态。

触发词

  • opencli - 使用 OpenCLI 命令
  • 社交媒体: twitter, reddit, weibo, zhihu, xiaohongshu, jike
  • 视频平台: bilibili, youtube
  • 资讯平台: hackernews, bbc, reuters, linux-do
  • 其他: v2ex, xueqiu, weread, stackoverflow

前置要求

  1. 安装 OpenCLI: npm install -g @jackwener/opencli
  2. 安装 Chrome 扩展: Browser Bridge
  3. Chrome 已登录目标网站

通用选项

opencli <site> <command> [options]

# 通用选项
--limit <n>      # 限制返回数量
-f, --format     # 输出格式: table, json, yaml, md, csv (默认 table)
-v, --verbose    # 调试输出

命令完整列表

antigravity (9 commands)

命令 说明 参数
dump Dump the DOM to help AI understand the UI -
extract-code Extract multi-line code blocks from the current Antigravity conversation -
model Switch the active LLM model in Antigravity name
new Start a new conversation / clear context in Antigravity -
read Read the latest chat messages from Antigravity AI last
send Send a message to Antigravity AI via the internal Lexical editor message
serve - -
status Check Antigravity CDP connection and get current page state -
watch Stream new chat messages from Antigravity in real-time -

apple-podcasts (5 commands)

命令 说明 参数
episodes List recent episodes of an Apple Podcast (use ID from search) id, limit
search Search Apple Podcasts keyword, limit
top Top podcasts chart on Apple Podcasts limit, country

barchart (4 commands)

命令 说明 参数
flow Barchart unusual options activity / options flow type, limit
greeks Barchart options greeks overview (IV, delta, gamma, theta, vega) symbol, expiration, limit
options Barchart options chain with greeks, IV, volume, and open interest symbol, type, limit
quote Barchart stock quote with price, volume, and key metrics symbol

bbc (1 command)

命令 说明 参数
news BBC News headlines (RSS) limit

bilibili (12 commands)

命令 说明 参数
download 下载B站视频(需要 yt-dlp) bvid, output, quality
dynamic Get Bilibili user dynamic feed limit
favorite 我的默认收藏夹 limit, page
feed 关注的人的动态时间线 limit, type
following 获取 Bilibili 用户的关注列表 uid, page, limit
history 我的观看历史 limit
hot B站热门视频 limit (default: 20)
me My Bilibili profile info -
ranking Get Bilibili video ranking board limit
search Search Bilibili videos or users keyword, type, page, limit
subtitle 获取 Bilibili 视频的字幕 bvid, lang
user-videos 查看指定用户的投稿视频 uid, limit, order, page

boss (6 commands)

命令 说明 参数
chatlist BOSS直聘查看聊天列表(招聘端) page, limit, job_id
chatmsg BOSS直聘查看与候选人的聊天消息 uid, page
detail BOSS直聘查看职位详情 security_id
resume BOSS直聘查看候选人简历(招聘端) uid
search BOSS直聘搜索职位 query, city, experience, degree, salary, industry, page, limit
send BOSS直聘发送聊天消息 uid, text

chaoxing (2 commands)

命令 说明 参数
assignments 学习通作业列表 course, status, limit
exams 学习通考试列表 course, status, limit

chatgpt (5 commands)

命令 说明 参数
ask Send a prompt and wait for the AI response (send + wait + read) text, timeout
new Open a new chat in ChatGPT Desktop App -
read Copy the most recent ChatGPT Desktop App response to clipboard and read it -
send Send a message to the active ChatGPT Desktop App window text
status Check if ChatGPT Desktop App is running natively on macOS -

chatwise (9 commands)

命令 说明 参数
ask Send a prompt and wait for the AI response text, timeout
export Export the current ChatWise conversation to a Markdown file output
history List conversation history in ChatWise sidebar -
model Get or switch the active AI model in ChatWise model_name
new Start a new conversation in ChatWise -
read Read the current ChatWise conversation history -
screenshot Capture a snapshot of the current ChatWise window output
send Send a message to the active ChatWise conversation text
status Check active CDP connection to ChatWise Desktop -

codex (11 commands)

命令 说明 参数
ask Send a prompt and wait for the AI response text, timeout
dump Dump the DOM and Accessibility tree of Codex for reverse-engineering -
export Export the current Codex conversation to a Markdown file output
extract-diff Extract visual code review diff patches from Codex -
history List recent conversation threads in Codex -
model Get or switch the currently active AI model in Codex Desktop model_name
new Start a new Codex conversation thread / isolated workspace -
read Read the contents of the current Codex conversation thread -
screenshot Capture a snapshot of the current Codex window output
send Send text/commands to the Codex AI composer text
status Check active CDP connection to OpenAI Codex App -

coupang (2 commands)

命令 说明 参数
add-to-cart Add a Coupang product to cart using logged-in browser session productId, url
search Search Coupang products with logged-in browser session query, page, limit, filter

ctrip (1 command)

命令 说明 参数
search 携程旅行搜索 query, limit

cursor (11 commands)

命令 说明 参数
ask Send a prompt and wait for the AI response text, timeout
composer Send a prompt directly into Cursor Composer (Cmd+I shortcut) text
dump Dump the DOM and Accessibility tree of Cursor for reverse-engineering -
export Export the current Cursor conversation output
extract-code Extract multi-line code blocks from the current Cursor conversation -
history List recent chat sessions from the Cursor sidebar -
model Get or switch the currently active AI model in Cursor model_name
new Start a new Cursor chat or Composer session -
read Read the current Cursor chat/composer conversation history -
screenshot Capture a snapshot of the current Cursor window output
send Send a prompt directly into Cursor Composer/Chat text
status Check active CDP connection to Cursor AI Editor -

discord-app (7 commands)

命令 说明 参数
channels List channels in the current Discord server -
members List online members in the current Discord channel -
read Read recent messages from the active Discord channel count
search Search messages in the current Discord server/channel (Cmd+F) query
send Send a message in the active Discord channel text
servers List all Discord servers (guilds) in the sidebar -
status Check active CDP connection to Discord Desktop -

feishu (5 commands)

命令 说明 参数
new Create a new message or document in Feishu -
read Read the current chat content by selecting all and copying -
search Open Feishu global search and type a query (Cmd+K) query
send Send a message in the active Feishu (Lark) conversation text
status Check if Feishu (Lark) Desktop is running on macOS -

grok (1 command)

命令 说明 参数
ask Send a message to Grok and get response prompt, timeout, new

hackernews (1 command)

命令 说明 参数
top Hacker News top stories limit (default: 20)

hf (1 command)

命令 说明 参数
top Top upvoted Hugging Face papers -

jike (11 commands)

命令 说明 参数
comment 评论即刻帖子 id, text
create 发布即刻动态 text
feed 即刻首页动态流 limit
like 点赞即刻帖子 id
notifications 即刻通知 limit
post 即刻帖子详情及评论 id
repost 转发即刻帖子 id, text
search 搜索即刻帖子 keyword, limit
topic 即刻话题/圈子帖子 id, limit
user 即刻用户动态 username, limit

jimeng (2 commands)

命令 说明 参数
generate 即梦AI 文生图 — 输入 prompt 生成图片 prompt, model, wait
history 即梦AI 查看最近生成的作品 limit

linkedin (1 command)

命令 说明 参数
search Search LinkedIn jobs query, location, limit, start, details, company, experience_level, job_type, date_posted, remote

linux-do (6 commands)

命令 说明 参数
categories linux.do 分类列表 limit
category linux.do 分类内话题 slug, id, limit
hot linux.do 热门话题 limit, period
latest linux.do 最新话题 limit
search 搜索 linux.do keyword, limit
topic linux.do 帖子详情和回复 id

neteasemusic (10 commands)

命令 说明 参数
like Like/unlike the currently playing song -
lyrics Get the lyrics of the currently playing song -
next Skip to the next song -
play Toggle play/pause for the current song -
playing Get the currently playing song info -
playlist Show the current playback queue / playlist -
prev Go back to the previous song -
search Search for songs, artists, albums, or playlists query
status Check CDP connection to NeteaseMusic Desktop -
volume Get or set the volume level (0-100) level

notion (8 commands)

命令 说明 参数
export Export the current Notion page as Markdown output
favorites List pages from the Notion Favorites section in the sidebar -
new Create a new page in Notion title
read Read the content of the currently open Notion page -
search Search pages and databases in Notion via Quick Find (Cmd+P) query
sidebar List pages and databases from the Notion sidebar -
status Check active CDP connection to Notion Desktop -
write Append text content to the currently open Notion page text

reddit (13 commands)

命令 说明 参数
comment Post a comment on a Reddit post post_id, text
frontpage Reddit Frontpage / r/all limit
hot Reddit 热门帖子 subreddit, limit
popular Reddit Popular posts (/r/popular) limit
read Read a Reddit post and its comments post_id, sort, limit, depth, replies, max_length
save Save or unsave a Reddit post post_id, undo
saved Browse your saved Reddit posts limit
search Search Reddit Posts query, subreddit, sort, time, limit
subreddit Get posts from a specific Subreddit name, sort, time, limit
subscribe Subscribe or unsubscribe to a subreddit subreddit, undo
upvote Upvote or downvote a Reddit post post_id, direction
upvoted Browse your upvoted Reddit posts limit
user-comments View a Reddit user's comment history username, limit
user-posts View a Reddit user's submitted posts username, limit
user View a Reddit user profile username

reuters (1 command)

命令 说明 参数
search Reuters 路透社新闻搜索 query, limit

smzdm (1 command)

命令 说明 参数
search 什么值得买搜索好价 keyword, limit

stackoverflow (4 commands)

命令 说明 参数
bounties Active bounties on Stack Overflow limit
hot Hot Stack Overflow questions limit
search Search Stack Overflow questions query, limit
unanswered Top voted unanswered questions on Stack Overflow limit

twitter (19 commands)

命令 说明 参数
accept Auto-accept DM requests containing specific keywords keyword, max
article Fetch a Twitter Article (long-form content) and export as Markdown tweet_id
bookmark Bookmark a tweet url
bookmarks Fetch Twitter/X bookmarks limit
delete Delete a specific tweet by URL url
download 下载 Twitter/X 媒体(图片和视频) username, tweet-url, limit, output
follow Follow a Twitter user username
followers Get accounts following a Twitter/X user user, limit
following Get accounts a Twitter/X user is following user, limit
like Like a specific tweet url
notifications Get Twitter/X notifications limit
post Post a new tweet/thread text
profile Fetch a Twitter user profile (bio, stats, etc.) username
reply-dm Send a message to recent DM conversations text, max, skip-replied
reply Reply to a specific tweet url, text
search Search Twitter/X for tweets query, limit
thread Get a tweet thread (original + all replies) tweet_id, limit
timeline Fetch Twitter Home Timeline limit
trending Twitter/X trending topics limit
unbookmark Remove a tweet from bookmarks url
unfollow Unfollow a Twitter user username

v2ex (6 commands)

命令 说明 参数
daily V2EX 每日签到并领取铜币 -
hot V2EX 热门话题 limit
latest V2EX 最新话题 limit
me V2EX 获取个人资料 (余额/未读提醒) -
notifications V2EX 获取提醒 (回复/由于) limit
topic V2EX 主题详情和回复 id

wechat (6 commands)

命令 说明 参数
chats Open the WeChat chats panel (conversation list) -
contacts Open the WeChat contacts panel -
read Read the current chat content by selecting all and copying -
search Open WeChat search and type a query (find contacts or messages) query
send Send a message in the active WeChat conversation via clipboard paste text
status Check if WeChat Desktop is running on macOS -

weibo (1 command)

命令 说明 参数
hot 微博热搜 limit

weread (8 commands)

命令 说明 参数
book View book details on WeRead bookId
highlights List your highlights (underlines) in a book bookId, limit
notebooks List books that have highlights or notes -
notes List your notes (thoughts) on a book bookId, limit
ranking WeRead book rankings by category category, limit
search Search books on WeRead keyword, limit
shelf List books on your WeRead bookshelf limit

xiaohongshu (15 commands)

命令 说明 参数
creator-note-detail 小红书单篇笔记详情页数据 note_id
creator-notes-summary 小红书最近笔记批量摘要 limit
creator-notes 小红书创作者笔记列表 + 每篇数据 limit
creator-profile 小红书创作者账号信息 (粉丝/关注/获赞/成长等级) -
creator-stats 小红书创作者数据总览 (观看/点赞/收藏/评论/分享/涨粉,含每日趋势) period
download 下载小红书笔记中的图片和视频 note_id, output
feed 小红书首页推荐 Feed limit
notifications 小红书通知 (mentions/likes/connections) type, limit
search 搜索小红书笔记 keyword, limit
user Get public notes from a Xiaohongshu user profile id, limit

xiaoyuzhou (5 commands)

命令 说明 参数
episode View details of a Xiaoyuzhou podcast episode id
podcast-episodes List recent episodes of a Xiaoyuzhou podcast (up to 15, SSR limit) id, limit
podcast View a Xiaoyuzhou podcast profile id

xueqiu (6 commands)

命令 说明 参数
feed 获取雪球首页时间线(关注用户的动态) page, limit
hot-stock 获取雪球热门股票榜 limit, type
hot 获取雪球热门动态 limit
search 搜索雪球股票(代码或名称) query, limit
stock 获取雪球股票实时行情 symbol
watchlist 获取雪球自选股列表 category, limit

yahoo-finance (1 command)

命令 说明 参数
quote Yahoo Finance 股票行情 symbol

youtube (5 commands)

命令 说明 参数
search Search YouTube videos query, limit
transcript Get YouTube video transcript/subtitles -
video Get YouTube video metadata (title, views, description, etc.) url

zhihu (4 commands)

命令 说明 参数
download 导出知乎文章为 Markdown 格式 url, output, download-images
hot 知乎热榜 limit
question 知乎问题详情和回答 id, limit
search 知乎搜索 keyword, limit

输出格式

格式 说明 使用场景
table 表格格式(默认) 人类阅读
json JSON 格式 程序处理、数据提取
yaml YAML 格式 配置文件、数据序列化
md Markdown 格式 文档生成
csv CSV 格式 数据分析、Excel 导入

诊断命令

# 检查 Browser Bridge 连接状态
opencli doctor

# 实时测试浏览器连接
opencli doctor --live

# 交互式设置
opencli setup

# 列出所有可用命令
opencli list

注意事项

  1. 登录状态: 浏览器命令复用 Chrome 登录状态,确保已在 Chrome 中登录目标网站
  2. Chrome 扩展: 必须安装 Browser Bridge 扩展
  3. 命令模式:
    • [public] - 公开 API,无需登录
    • [cookie] - 需要 Chrome 登录状态
    • [ui] - UI 自动化,需要应用在前台运行
  4. 输出解析: 使用 -f json 格式便于程序解析
  5. 调试: 使用 -v 参数查看详细日志

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

web-scrapingsocial-mediabrowser-automationcli-toolcdptwitterredditbilibilizhihuxiaohongshuyoutubefeishuwechatdata-extraction

同类 Skill