opencli-skills

GitHub 作者 LeoYeAI/openclaw-master-skills

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install github:LeoYeAI~openclaw-master-skills~opencli-skills
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/github%3ALeoYeAI~openclaw-master-skills~opencli-skills/file -o opencli-skills.md
---
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 已登录目标网站**

## 通用选项

```bash
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 d