
OpenCLI - 网站转CLI工具
介绍
OpenCLI 是一个通用 CLI Hub 和 AI 原生运行时,可以将任何网站、Electron 应用或本地二进制文件转换为标准化的命令行界面。
核心功能
- 网站转CLI - 70+预置适配器(B站、知乎、小红书、Reddit、HackerNews、Twitter/X等)
- 浏览器自动化 - 通过浏览器扩展直接控制浏览器:点击、输入、提取、截图
- Electron应用控制 - 将 Cursor、Codex、ChatGPT、Notion 等桌面应用 CLI 化
- 本地CLI Hub - 统一发现和管理 gh、docker、obsidian 等本地工具
- AI Agent集成 - 通过 Skills 系统自动发现、学习和执行工具
使用示例
opencli — available commands
antigravity dump [ui] — Dump the DOM to help AI understand the UI extract-code [ui] — Extract multi-line code blocks from the current Antigravity conversation model [ui] — Switch the active LLM model in Antigravity new [ui] — Start a new conversation / clear context in Antigravity read [ui] — Read the latest chat messages from Antigravity AI send [ui] — Send a message to Antigravity AI via the internal Lexical editor serve [cookie] status [ui] — Check Antigravity CDP connection and get current page state watch [ui] — Stream new chat messages from Antigravity in real-time
apple-podcasts episodes [public] — List recent episodes of an Apple Podcast (use ID from search) search [public] — Search Apple Podcasts top [public] — Top podcasts chart on Apple Podcasts utils [cookie] utils.test [cookie]
barchart flow [cookie] — Barchart unusual options activity / options flow greeks [cookie] — Barchart options greeks overview (IV, delta, gamma, theta, vega) options [cookie] — Barchart options chain with greeks, IV, volume, and open interest quote [cookie] — Barchart stock quote with price, volume, and key metrics
bbc news [public] — BBC News headlines (RSS)
bilibili download [cookie] — 下载B站视频(需要 yt-dlp) dynamic [cookie] — Get Bilibili user dynamic feed favorite [cookie] — 我的默认收藏夹 feed [cookie] — 关注的人的动态时间线 following [cookie] — 获取 Bilibili 用户的关注列表 history [cookie] — 我的观看历史 hot [cookie] — B站热门视频 me [cookie] — My Bilibili profile info ranking [cookie] — Get Bilibili video ranking board search [cookie] — Search Bilibili videos or users subtitle [cookie] — 获取 Bilibili 视频的字幕 user-videos [cookie] — 查看指定用户的投稿视频
boss chatlist [cookie] — BOSS直聘查看聊天列表(招聘端) chatmsg [cookie] — BOSS直聘查看与候选人的聊天消息 detail [cookie] — BOSS直聘查看职位详情 resume [cookie] — BOSS直聘查看候选人简历(招聘端) search [cookie] — BOSS直聘搜索职位 send [cookie] — BOSS直聘发送聊天消息
chaoxing assignments [cookie] — 学习通作业列表 exams [cookie] — 学习通考试列表
chatgpt ask [public] — Send a prompt and wait for the AI response (send + wait + read) ax [cookie] new [public] — Open a new chat in ChatGPT Desktop App read [public] — Copy the most recent ChatGPT Desktop App response to clipboard and read it send [public] — Send a message to the active ChatGPT Desktop App window status [public] — Check if ChatGPT Desktop App is running natively on macOS
chatwise ask [ui] — Send a prompt and wait for the AI response (send + wait + read) export [ui] — Export the current ChatWise conversation to a Markdown file history [ui] — List conversation history in ChatWise sidebar model [ui] — Get or switch the active AI model in ChatWise new [ui] — Start a new conversation in ChatWise read [ui] — Read the current ChatWise conversation history screenshot [ui] — Capture a snapshot of the current ChatWise window (DOM + Accessibility tree) send [ui] — Send a message to the active ChatWise conversation status [ui] — Check active CDP connection to ChatWise Desktop
codex ask [ui] — Send a prompt and wait for the AI response (send + wait + read) dump [ui] — Dump the DOM and Accessibility tree of Codex for reverse-engineering export [ui] — Export the current Codex conversation to a Markdown file extract-diff [ui] — Extract visual code review diff patches from Codex history [ui] — List recent conversation threads in Codex model [ui] — Get or switch the currently active AI model in Codex Desktop new [ui] — Start a new Codex conversation thread / isolated workspace read [ui] — Read the contents of the current Codex conversation thread screenshot [ui] — Capture a snapshot of the current Codex window (DOM + Accessibility tree) send [ui] — Send text/commands to the Codex AI composer status [ui] — Check active CDP connection to OpenAI Codex App
coupang add-to-cart [cookie] — Add a Coupang product to cart using logged-in browser session search [cookie] — Search Coupang products with logged-in browser session
ctrip search [cookie] — 携程旅行搜索
cursor ask [ui] — Send a prompt and wait for the AI response (send + wait + read) composer [ui] — Send a prompt directly into Cursor Composer (Cmd+I shortcut) dump [ui] — Dump the DOM and Accessibility tree of Cursor for reverse-engineering export [ui] — Export the current ${site} conversation to a Markdown file extract-code [ui] — Extract multi-line code blocks from the current Cursor conversation history [ui] — List recent chat sessions from the Cursor sidebar model [ui] — Get or switch the currently active AI model in Cursor new [ui] — Start a new Cursor chat or Composer session read [ui] — Read the current Cursor chat/composer conversation history screenshot [ui] — Capture a snapshot of the current ${site} window (DOM + Accessibility tree) send [ui] — Send a prompt directly into Cursor Composer/Chat status [ui] — Check active CDP connection to Cursor AI Editor
discord-app channels [ui] — List channels in the current Discord server members [ui] — List online members in the current Discord channel read [ui] — Read recent messages from the active Discord channel search [ui] — Search messages in the current Discord server/channel (Cmd+F) send [ui] — Send a message in the active Discord channel servers [ui] — List all Discord servers (guilds) in the sidebar status [ui] — Check active CDP connection to Discord Desktop
feishu new [public] — Create a new message or document in Feishu read [public] — Read the current chat content by selecting all and copying search [public] — Open Feishu global search and type a query (Cmd+K) send [public] — Send a message in the active Feishu (Lark) conversation status [public] — Check if Feishu (Lark) Desktop is running on macOS
grok ask [cookie] — Send a message to Grok and get response
hackernews top [public] — Hacker News top stories
hf top [public] — Top upvoted Hugging Face papers
jike comment [ui] — 评论即刻帖子 create [ui] — 发布即刻动态 feed [cookie] — 即刻首页动态流 like [ui] — 点赞即刻帖子 notifications [cookie] — 即刻通知 post [cookie] — 即刻帖子详情及评论 repost [ui] — 转发即刻帖子 search [cookie] — 搜索即刻帖子 shared [cookie] topic [cookie] — 即刻话题/圈子帖子 user [cookie] — 即刻用户动态
jimeng generate [cookie] — 即梦AI 文生图 — 输入 prompt 生成图片 history [cookie] — 即梦AI 查看最近生成的作品
linkedin search [header]
linux-do categories [cookie] — linux.do 分类列表 category [cookie] — linux.do 分类内话题 hot [cookie] — linux.do 热门话题 latest [cookie] — linux.do 最新话题 search [cookie] — 搜索 linux.do topic [cookie] — linux.do 帖子详情和回复(首页)
neteasemusic like [ui] — Like/unlike the currently playing song lyrics [ui] — Get the lyrics of the currently playing song next [ui] — Skip to the next song play [ui] — Toggle play/pause for the current song playing [ui] — Get the currently playing song info playlist [ui] — Show the current playback queue / playlist prev [ui] — Go back to the previous song search [ui] — Search for songs, artists, albums, or playlists status [ui] — Check CDP connection to NeteaseMusic Desktop volume [ui] — Get or set the volume level (0-100)
notion export [ui] — Export the current Notion page as Markdown favorites [ui] — List pages from the Notion Favorites section in the sidebar new [ui] — Create a new page in Notion read [ui] — Read the content of the currently open Notion page search [ui] — Search pages and databases in Notion via Quick Find (Cmd+P) sidebar [ui] — List pages and databases from the Notion sidebar status [ui] — Check active CDP connection to Notion Desktop write [ui] — Append text content to the currently open Notion page
reddit comment [cookie] — Post a comment on a Reddit post frontpage [cookie] — Reddit Frontpage / r/all hot [cookie] — Reddit 热门帖子 popular [cookie] — Reddit Popular posts (/r/popular) read [cookie] — Read a Reddit post and its comments save [cookie] — Save or unsave a Reddit post saved [cookie] — Browse your saved Reddit posts search [cookie] — Search Reddit Posts subreddit [cookie] — Get posts from a specific Subreddit subscribe [cookie] — Subscribe or unsubscribe to a subreddit upvote [cookie] — Upvote or downvote a Reddit post upvoted [cookie] — Browse your upvoted Reddit posts user [cookie] — View a Reddit user profile user-comments [cookie] — View a Reddit user's comment history user-posts [cookie] — View a Reddit user's submitted posts
reuters search [cookie] — Reuters 路透社新闻搜索
smzdm search [cookie] — 什么值得买搜索好价
stackoverflow bounties [public] — Active bounties on Stack Overflow hot [public] — Hot Stack Overflow questions search [public] — Search Stack Overflow questions unanswered [public] — Top voted unanswered questions on Stack Overflow
twitter accept [ui] — Auto-accept DM requests containing specific keywords article [cookie] — Fetch a Twitter Article (long-form content) and export as Markdown bookmark [ui] — Bookmark a tweet bookmarks [cookie] — Fetch Twitter/X bookmarks delete [ui] — Delete a specific tweet by URL download [cookie] — 下载 Twitter/X 媒体(图片和视频) follow [ui] — Follow a Twitter user followers [intercept] — Get accounts following a Twitter/X user following [intercept] — Get accounts a Twitter/X user is following like [ui] — Like a specific tweet notifications [intercept] — Get Twitter/X notifications post [ui] — Post a new tweet/thread profile [cookie] — Fetch a Twitter user profile (bio, stats, etc.) reply [ui] — Reply to a specific tweet reply-dm [ui] — Send a message to recent DM conversations search [intercept] — Search Twitter/X for tweets thread [cookie] — Get a tweet thread (original + all replies) timeline [cookie] — Fetch Twitter Home Timeline trending [cookie] — Twitter/X trending topics unbookmark [ui] — Remove a tweet from bookmarks unfollow [ui] — Unfollow a Twitter user
v2ex daily [cookie] — V2EX 每日签到并领取铜币 hot [public] — V2EX 热门话题 latest [public] — V2EX 最新话题 me [cookie] — V2EX 获取个人资料 (余额/未读提醒) notifications [cookie] — V2EX 获取提醒 (回复/由于) topic [public] — V2EX 主题详情和回复
wechat chats [public] — Open the WeChat chats panel (conversation list) contacts [public] — Open the WeChat contacts panel read [public] — Read the current chat content by selecting all and copying search [public] — Open WeChat search and type a query (find contacts or messages) send [public] — Send a message in the active WeChat conversation via clipboard paste status [public] — Check if WeChat Desktop is running on macOS
weibo hot [cookie] — 微博热搜
weread book [cookie] — View book details on WeRead highlights [cookie] — List your highlights (underlines) in a book notebooks [cookie] — List books that have highlights or notes notes [cookie] — List your notes (thoughts) on a book ranking [public] — WeRead book rankings by category search [public] — Search books on WeRead shelf [cookie] — List books on your WeRead bookshelf utils [cookie] utils.test [cookie]
xiaohongshu creator-note-detail [cookie] — 小红书单篇笔记详细数据 (阅读/互动/点赞/收藏/评论/分享,区分自然流量/推广/视频) creator-notes [cookie] — 小红书创作者笔记列表 + 每篇数据 (标题/日期/观看/点赞/收藏/评论) creator-profile [cookie] — 小红书创作者账号信息 (粉丝/关注/获赞/成长等级) creator-stats [cookie] — 小红书创作者数据总览 (观看/点赞/收藏/评论/分享/涨粉,含每日趋势) download [cookie] — 下载小红书笔记中的图片和视频 feed [intercept] — 小红书首页推荐 Feed (via Pinia Store Action) notifications [intercept] — 小红书通知 (mentions/likes/connections) search [cookie] — 搜索小红书笔记 user [cookie] — Get public notes from a Xiaohongshu user profile user-helpers [cookie] user-helpers.test [cookie]
xiaoyuzhou episode [public] — View details of a Xiaoyuzhou podcast episode podcast [public] — View a Xiaoyuzhou podcast profile podcast-episodes [public] — List recent episodes of a Xiaoyuzhou podcast (up to 15, SSR limit) utils [cookie] utils.test [cookie]
xueqiu feed [cookie] — 获取雪球首页时间线(关注用户的动态) hot [cookie] — 获取雪球热门动态 hot-stock [cookie] — 获取雪球热门股票榜 search [cookie] — 搜索雪球股票(代码或名称) stock [cookie] — 获取雪球股票实时行情 watchlist [cookie] — 获取雪球自选股列表
yahoo-finance quote [cookie] — Yahoo Finance 股票行情
youtube search [cookie] — Search YouTube videos transcript [cookie] — Get YouTube video transcript/subtitles transcript-group [cookie] transcript-group.test [cookie] utils [cookie] video [cookie] — Get YouTube video metadata (title, views, description, etc.)
zhihu download [cookie] — 导出知乎文章为 Markdown 格式 download.test [cookie] hot [cookie] — 知乎热榜 question [cookie] — 知乎问题详情和回答 search [cookie] — 知乎搜索
231 commands across 39 sites
hackernews/top ┌──────┬──────────────────────────────────────────────────────────────────────────────────┬───────┬────────────┬──────────┐ │ Rank │ Title │ Score │ Author │ Comments │ ├──────┼──────────────────────────────────────────────────────────────────────────────────┼───────┼────────────┼──────────┤ │ 1 │ Mysteries of Dropbox: Property-Based Testing of a Distributed Sync Service [pdf] │ 32 │ JackeJR │ 5 │ ├──────┼──────────────────────────────────────────────────────────────────────────────────┼───────┼────────────┼──────────┤ │ 2 │ Intel 486 CPU announced April 10, 1989 │ 98 │ jnord │ 72 │ ├──────┼──────────────────────────────────────────────────────────────────────────────────┼───────┼────────────┼──────────┤ │ 3 │ Why do we tell ourselves scary stories about AI? │ 6 │ lschueller │ 1 │ ├──────┼──────────────────────────────────────────────────────────────────────────────────┼───────┼────────────┼──────────┤ │ 4 │ FBI used iPhone notification data to retrieve deleted Signal messages │ 247 │ 01-_- │ 102 │ ├──────┼──────────────────────────────────────────────────────────────────────────────────┼───────┼────────────┼──────────┤ │ 5 │ How NASA built Artemis II’s fault-tolerant computer │ 501 │ speckx │ 190 │ └──────┴──────────────────────────────────────────────────────────────────────────────────┴───────┴────────────┴──────────┘ 5 items · 3.6s · hackernews/top
支持的网站
小红书、B站、知乎、贴吧、虎扑、Twitter/X、Reddit、Hacker News、GitHub、Amazon、1688、Spotify 等 79+ 网站。
暂无评论
