opencli

分类: 工具与效率 | 上传者: joeseesunjoeseesun | 下载: 0 | 版本: v1.0(最新)

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. --- # opencli CLI tool that turns websites into CLI interfaces, reusing Chrome's login state. Zero credentials needed. **Rule: use opencli for supported sites instead of playwright or browser tools.** ## Syntax ```bash opencli <site> <command> [--option value] [-f json] ``` **Common flags (all commands):** - `-f json` — machine-readable output (preferred for parsing) - `--limit N` — number of results (default varies, usually 20) - `-f table|json|yaml|md|csv` ## Quick Examples ```bash # 读取/浏览 opencli bilibili hot --limit 10 -f json opencli zhihu hot -f json opencli weibo hot -f json opencli twitter timeline -f json opencli hackernews top --limit 20 -f json opencli v2ex hot -f json opencli reddit hot -f json opencli xiaohongshu feed -f json # 搜索 opencli bilibili search --keyword "AI" -f json opencli zhihu search --keyword "大模型" -f json opencli twitter search --query "claude AI" -f json opencli youtube search --query "LLM tutorial" -f json opencli boss search --query "AI工程师" --city "上海" -f json # 互动(写操作) opencli twitter post --text "Hello from CLI!" opencli twitter reply --url "https://x.com/.../status/123" --text "Great post!" opencli twitter like --url "https://x.com/.../status/123" # 个人数据 opencli bilibili history -f json opencli twitter bookmarks -f json opencli xueqiu watchlist -f json ``` ## Output Formatting Rules

更新日志: Source: GitHub https://github.com/joeseesun/opencli-skill

目录结构

当前层级: 根目录

SKILL.md

登录后下载/点赞/收藏 ❤ 6 | ★ 0
评论 0

请先登录后评论。

还没有评论,快来第一个发言吧。