Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
205 changes: 105 additions & 100 deletions skills/opencli-usage/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: opencli-usage
description: "Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 79+ adapters."
version: 1.6.3
version: 1.6.9
author: jackwener
tags: [opencli, cli, browser, web, chrome-extension, cdp, bilibili, twitter, reddit, xiaohongshu, github, youtube, AI, agent, automation]
---
Expand Down Expand Up @@ -38,73 +38,115 @@ Public API commands (`hackernews`, `v2ex`) need no browser.

## Quick Lookup by Capability

| Capability | Platforms (partial list) | File |
|-----------|--------------------------|------|
| **search** | Bilibili, Twitter, Reddit, Xiaohongshu, Zhihu, YouTube, Google, arXiv, LinkedIn, Pixiv, etc. | browser.md / public-api.md |
| **hot/trending** | Bilibili, Twitter, Weibo, HackerNews, Reddit, V2EX, Xueqiu, Lobsters, Douban | browser.md / public-api.md |
| **feed/timeline** | Twitter, Reddit, Xiaohongshu, Xueqiu, Jike, Facebook, Instagram, Medium | browser.md |
| **user/profile** | Twitter, Reddit, Instagram, TikTok, Facebook, Bilibili, Pixiv | browser.md |
| **post/create** | Twitter, Jike, Douyin, Weibo | browser.md |
| **AI chat** | Grok, Doubao, ChatGPT, Gemini, Cursor, Codex, NotebookLM | browser.md / desktop.md |
| **finance/stock** | Xueqiu, Yahoo Finance, Barchart, Sina Finance, Bloomberg | browser.md / public-api.md |
| **web scraping** | `opencli web read --url <url>` β€” any URL to Markdown | browser.md |
| Capability | Platforms (partial list) |
|-----------|--------------------------|
| **search** | Bilibili, Twitter, Reddit, Xiaohongshu, Zhihu, YouTube, Google, arXiv, LinkedIn, Pixiv, etc. |
| **hot/trending** | Bilibili, Twitter, Weibo, HackerNews, Reddit, V2EX, Xueqiu, Lobsters, Douban |
| **feed/timeline** | Twitter, Reddit, Xiaohongshu, Xueqiu, Jike, Facebook, Instagram, Medium |
| **user/profile** | Twitter, Reddit, Instagram, TikTok, Facebook, Bilibili, Pixiv |
| **post/create** | Twitter, Jike, Douyin, Weibo |
| **AI chat** | Grok, Doubao, ChatGPT, Gemini, Cursor, Codex, NotebookLM |
| **finance/stock** | Xueqiu, Yahoo Finance, Barchart, Sina Finance, Bloomberg |
| **web scraping** | `opencli web read --url <url>` β€” any URL to Markdown |
| **GitHub/DevOps** | `opencli gh`, `opencli docker`, `opencli vercel` β€” external CLI passthrough |
| **collaboration** | `opencli lark-cli`, `opencli dws`, `opencli wecom-cli` β€” external CLI passthrough |

## Command Quick Reference

Usage: `opencli <site> <command> [args] [--limit N] [-f json|yaml|md|csv|table]`

### Browser-based (login required)

| Site | Commands |
|------|----------|
| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` `following` |
| **zhihu** | `hot` `search` `question` |
| **xiaohongshu** | `search` `notifications` `feed` `user` `note` `comments` `download` `publish` `creator-notes` `creator-note-detail` `creator-notes-summary` `creator-profile` `creator-stats` |
| **xueqiu** | `hot-stock` `stock` `watchlist` `feed` `hot` `search` `comments` `earnings-date` `fund-holdings` `fund-snapshot` |
| **twitter** | `trending` `bookmarks` `search` `profile` `timeline` `thread` `article` `follow` `unfollow` `bookmark` `unbookmark` `post` `like` `likes` `reply` `delete` `block` `unblock` `followers` `following` `notifications` `hide-reply` `download` `accept` `reply-dm` |
| **reddit** | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` |
| **youtube** | `search` `video` `transcript` |
| **facebook** | `feed` `profile` `search` `friends` `groups` `events` `notifications` `memories` `add-friend` `join-group` |
| **instagram** | `explore` `profile` `search` `user` `followers` `following` `follow` `unfollow` `like` `unlike` `comment` `save` `unsave` `saved` |
| **tiktok** | `explore` `search` `profile` `user` `following` `follow` `unfollow` `like` `unlike` `comment` `save` `unsave` `live` `notifications` `friends` |
| **linkedin** | `search` `timeline` |
| **medium** | `feed` `search` `user` |
| **substack** | `feed` `search` `publication` |
| **sinablog** | `hot` `search` `article` `user` |
| **weibo** | `hot` `search` `feed` `user` `me` `post` `comments` |
| **douyin** | `profile` `videos` `user-videos` `activities` `collections` `hashtag` `location` `stats` `publish` `draft` `drafts` `delete` `update` |
| **bluesky** | `search` `profile` `user` `feeds` `followers` `following` `thread` `trending` `starter-packs` |
| **boss** | `search` `detail` `recommend` `joblist` `greet` `batchgreet` `send` `chatlist` `chatmsg` `invite` `mark` `exchange` `resume` `stats` |
| **douban** | `search` `top250` `subject` `photos` `download` `marks` `reviews` `movie-hot` `book-hot` |
| **pixiv** | `ranking` `search` `user` `illusts` `detail` `download` |
| **jike** | `feed` `search` `create` `like` `comment` `repost` `notifications` `post` `topic` `user` |
| **band** | `bands` `posts` `post` `mentions` |
| **zsxq** | `groups` `dynamics` `topics` `topic` `search` |
| **tieba** | `hot` `search` `posts` `read` |
| **yahoo-finance** | `quote` |
| **barchart** | `quote` `options` `greeks` `flow` |
| **sinafinance** | `news` |
| **reuters** | `search` |
| **amazon** | `bestsellers` `search` `product` `offer` `discussion` `movers-shakers` `new-releases` |
| **coupang** | `search` `add-to-cart` |
| **jd** | `item` |
| **smzdm** | `search` |
| **ctrip** | `search` |
| **36kr** | `hot` `news` `search` `article` |
| **weread** | `shelf` `search` `book` `highlights` `notes` `notebooks` `ranking` |
| **chaoxing** | `assignments` `exams` |
| **jimeng** | `generate` `history` |
| **yollomi** | `models` `generate` `video` `upload` `remove-bg` `edit` `background` `face-swap` `object-remover` `restore` `try-on` `upscale` |
| **ones** | `login` `logout` `me` `tasks` `task` `my-tasks` `worklog` `token-info` |
| **web** | `read` β€” any URL to Markdown |
| **weixin** | `download` β€” 公众号 article to Markdown |
| **v2ex** (browser) | `daily` `me` `notifications` |
| **linux-do** (browser) | `hot` `latest` `feed` `search` `categories` `category` `tags` `topic` `topic-content` `user-posts` `user-topics` |
| **bloomberg** (browser) | `news` β€” full article reader |
| **grok** | `ask` |
| **doubao** | `status` `new` `send` `read` `ask` `detail` `history` `meeting-summary` `meeting-transcript` |
| **gemini** | `ask` `new` `image` `deep-research` `deep-research-result` |
| **notebooklm** | `status` `list` `open` `current` `get` `history` `summary` `note-list` `notes-get` `source-list` `source-get` `source-fulltext` `source-guide` |
Type legend: 🌐 = Browser (needs Chrome login) Β· βœ… = Public API (no browser) Β· πŸ–₯️ = Desktop (Electron/CDP) Β· πŸ”§ = External CLI (passthrough)

### Website Adapters

| Site | Type | Commands |
|------|------|----------|
| **1688** | 🌐 | `search` `item` `download` `store` |
| **36kr** | 🌐 | `hot` `news` `search` `article` |
| **amazon** | 🌐 | `bestsellers` `search` `product` `offer` `discussion` `movers-shakers` `new-releases` |
| **apple-podcasts** | βœ… | `top` `search` `episodes` |
| **arxiv** | βœ… | `search` `paper` |
| **band** | 🌐 | `bands` `posts` `post` `mentions` |
| **barchart** | 🌐 | `quote` `options` `greeks` `flow` |
| **bbc** | βœ… | `news` |
| **bilibili** | 🌐 | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` `following` |
| **bloomberg** | βœ…πŸŒ | RSS: `main` `markets` `tech` `politics` `economics` `opinions` `industries` `businessweek` `feeds` Β· Browser: `news` (full article) |
| **bluesky** | 🌐 | `search` `profile` `user` `feeds` `followers` `following` `thread` `trending` `starter-packs` |
| **boss** | 🌐 | `search` `detail` `recommend` `joblist` `greet` `batchgreet` `send` `chatlist` `chatmsg` `invite` `mark` `exchange` `resume` `stats` |
| **chaoxing** | 🌐 | `assignments` `exams` |
| **coupang** | 🌐 | `search` `add-to-cart` |
| **ctrip** | 🌐 | `search` |
| **devto** | βœ… | `top` `tag` `user` |
| **dictionary** | βœ… | `search` `synonyms` `examples` |
| **doubao** | 🌐 | `status` `new` `send` `read` `ask` `detail` `history` `meeting-summary` `meeting-transcript` |
| **douban** | 🌐 | `search` `top250` `subject` `photos` `download` `marks` `reviews` `movie-hot` `book-hot` |
| **douyin** | 🌐 | `profile` `videos` `user-videos` `activities` `collections` `hashtag` `location` `stats` `publish` `draft` `drafts` `delete` `update` |
| **facebook** | 🌐 | `feed` `profile` `search` `friends` `groups` `events` `notifications` `memories` `add-friend` `join-group` |
| **gemini** | 🌐 | `ask` `new` `image` `deep-research` `deep-research-result` |
| **google** | βœ… | `news` `search` `suggest` `trends` |
| **grok** | 🌐 | `ask` |
| **hackernews** | βœ… | `top` `new` `best` `ask` `show` `jobs` `search` `user` |
| **hf** | βœ… | `top` |
| **hupu** | 🌐 | `hot` `search` `detail` `like` `unlike` `reply` `mentions` |
| **imdb** | βœ… | `top` `trending` `search` `title` `person` `reviews` |
| **instagram** | 🌐 | `explore` `profile` `search` `user` `followers` `following` `follow` `unfollow` `like` `unlike` `comment` `save` `unsave` `saved` |
| **jd** | 🌐 | `item` |
| **jianyu** | 🌐 | `search` |
| **jike** | 🌐 | `feed` `search` `create` `like` `comment` `repost` `notifications` `post` `topic` `user` |
| **jimeng** | 🌐 | `generate` `history` |
| **lesswrong** | βœ… | `frontpage` `curated` `new` `top` `top-week` `top-month` `top-year` `shortform` `read` `comments` `user` `user-posts` `sequences` `tags` `tag` |
| **linkedin** | 🌐 | `search` `timeline` |
| **linux-do** | 🌐 | `hot` `latest` `feed` `search` `categories` `category` `tags` `topic` `topic-content` `user-posts` `user-topics` |
| **lobsters** | βœ… | `hot` `newest` `active` `tag` |
| **medium** | 🌐 | `feed` `search` `user` |
| **notebooklm** | 🌐 | `status` `list` `open` `current` `get` `history` `summary` `note-list` `notes-get` `source-list` `source-get` `source-fulltext` `source-guide` |
| **ones** | 🌐 | `login` `logout` `me` `tasks` `task` `my-tasks` `worklog` `token-info` |
| **paperreview** | βœ… | `submit` `review` `feedback` |
| **pixiv** | 🌐 | `ranking` `search` `user` `illusts` `detail` `download` |
| **producthunt** | βœ… | `today` `hot` `browse` `posts` |
| **quark** | 🌐 | `ls` `mkdir` `mv` `rename` `rm` `save` `share-tree` |
| **reddit** | 🌐 | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` |
| **reuters** | 🌐 | `search` |
| **sinablog** | 🌐 | `hot` `search` `article` `user` |
| **sinafinance** | βœ… | `news` |
| **smzdm** | 🌐 | `search` |
| **spotify** | βœ… | `auth` `status` `play` `pause` `next` `prev` `volume` `search` `queue` `shuffle` `repeat` |
| **stackoverflow** | βœ… | `hot` `search` `bounties` `unanswered` |
| **steam** | βœ… | `top-sellers` |
| **substack** | 🌐 | `feed` `search` `publication` |
| **tieba** | 🌐 | `hot` `search` `posts` `read` |
| **tiktok** | 🌐 | `explore` `search` `profile` `user` `following` `follow` `unfollow` `like` `unlike` `comment` `save` `unsave` `live` `notifications` `friends` |
| **twitter** | 🌐 | `trending` `bookmarks` `search` `profile` `timeline` `thread` `article` `follow` `unfollow` `bookmark` `unbookmark` `post` `like` `likes` `reply` `delete` `block` `unblock` `followers` `following` `notifications` `hide-reply` `download` `accept` `reply-dm` |
| **v2ex** | βœ…πŸŒ | Public: `hot` `latest` `topic` `node` `nodes` `member` `user` `replies` Β· Browser: `daily` `me` `notifications` |
| **web** | 🌐 | `read` β€” any URL to Markdown |
| **weibo** | 🌐 | `hot` `search` `feed` `user` `me` `post` `comments` |
| **weixin** | 🌐 | `download` β€” 公众号 article to Markdown |
| **weread** | 🌐 | `shelf` `search` `book` `highlights` `notes` `notebooks` `ranking` |
| **wikipedia** | βœ… | `search` `summary` `random` `trending` |
| **xianyu** | 🌐 | `search` `item` `chat` |
| **xiaoe** | 🌐 | `courses` `catalog` `content` `detail` `play-url` |
| **xiaohongshu** | 🌐 | `search` `notifications` `feed` `user` `note` `comments` `download` `publish` `creator-notes` `creator-note-detail` `creator-notes-summary` `creator-profile` `creator-stats` |
| **xiaoyuzhou** | βœ… | `podcast` `podcast-episodes` `episode` |
| **xueqiu** | 🌐 | `hot-stock` `stock` `watchlist` `feed` `hot` `search` `comments` `earnings-date` `fund-holdings` `fund-snapshot` |
| **yahoo-finance** | 🌐 | `quote` |
| **yollomi** | 🌐 | `models` `generate` `video` `upload` `remove-bg` `edit` `background` `face-swap` `object-remover` `restore` `try-on` `upscale` |
| **youtube** | 🌐 | `search` `video` `transcript` |
| **yuanbao** | 🌐 | `new` `ask` |
| **zhihu** | 🌐 | `hot` `search` `question` |
| **zsxq** | 🌐 | `groups` `dynamics` `topics` `topic` `search` |

### Desktop Apps (CDP/Electron)

| App | Commands |
|-----|----------|
| **antigravity** | `status` `send` `read` `new` `dump` `extract-code` `model` `watch` |
| **chatgpt** | `status` `new` `send` `read` `ask` `model` |
| **chatwise** | `status` `new` `send` `read` `ask` `model` `history` `export` `screenshot` |
| **codex** | `status` `send` `read` `new` `dump` `extract-diff` `model` `ask` `screenshot` `history` `export` |
| **cursor** | `status` `send` `read` `new` `dump` `composer` `model` `extract-code` `ask` `screenshot` `history` `export` |
| **discord-app** | `status` `send` `read` `channels` `servers` `search` `members` |
| **doubao-app** | `status` `new` `send` `read` `ask` `screenshot` `dump` |
| **notion** | `status` `search` `read` `new` `write` `sidebar` `favorites` `export` |

### External CLI (passthrough)

Expand All @@ -128,43 +170,6 @@ opencli docker ps # Passthrough to docker
opencli lark-cli msg send ... # Passthrough to lark-cli
```

### Desktop (CDP/Electron)

| Site | Commands |
|------|----------|
| **cursor** | `status` `send` `read` `new` `dump` `composer` `model` `extract-code` `ask` `screenshot` `history` `export` |
| **codex** | `status` `send` `read` `new` `dump` `extract-diff` `model` `ask` `screenshot` `history` `export` |
| **chatgpt** | `status` `new` `send` `read` `ask` `model` |
| **chatwise** | `status` `new` `send` `read` `ask` `model` `history` `export` `screenshot` |
| **notion** | `status` `search` `read` `new` `write` `sidebar` `favorites` `export` |
| **discord-app** | `status` `send` `read` `channels` `servers` `search` `members` |
| **doubao-app** | `status` `new` `send` `read` `ask` `screenshot` `dump` |
| **antigravity** | `status` `send` `read` `new` `dump` `extract-code` `model` `watch` |

### Public API (no browser)

| Site | Commands |
|------|----------|
| **hackernews** | `top` `new` `best` `ask` `show` `jobs` `search` `user` |
| **v2ex** (public) | `hot` `latest` `topic` `node` `nodes` `member` `user` `replies` |
| **bbc** | `news` |
| **lobsters** | `hot` `newest` `active` `tag` |
| **google** | `news` `search` `suggest` `trends` |
| **devto** | `top` `tag` `user` |
| **steam** | `top-sellers` |
| **apple-podcasts** | `top` `search` `episodes` |
| **arxiv** | `search` `paper` |
| **bloomberg** (RSS) | `main` `markets` `tech` `politics` `economics` `opinions` `industries` `businessweek` `feeds` |
| **dictionary** | `search` `synonyms` `examples` |
| **hf** | `top` |
| **stackoverflow** | `hot` `search` `bounties` `unanswered` |
| **xiaoyuzhou** | `podcast` `podcast-episodes` `episode` |
| **wikipedia** | `search` `summary` `random` `trending` |
| **producthunt** | `today` `hot` `browse` `posts` |
| **imdb** | `top` `trending` `search` `title` `person` `reviews` |
| **spotify** | `auth` `status` `play` `pause` `next` `prev` `volume` `search` `queue` `shuffle` `repeat` |
| **paperreview** | `submit` `review` `feedback` |

### Management

```bash
Expand Down
Loading