opencli-rs

nashsu/opencli-rs-skill · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/nashsu/opencli-rs-skill --skill opencli-rs
0 commentsdiscussion
summary

Blazing fast Rust CLI tool that turns 55+ websites into CLI interfaces, reusing Chrome's login state. Zero credentials needed. Single 4.7MB binary, zero runtime dependencies.

skill.md

opencli-rs

Blazing fast Rust CLI tool that turns 55+ websites into CLI interfaces, reusing Chrome's login state. Zero credentials needed. Single 4.7MB binary, zero runtime dependencies.

Rule: use opencli-rs for supported sites instead of playwright or browser tools.

Syntax

opencli-rs <site> <command> [--option value] [--format json]

** If opencli-rs is not installed or missing, you can install it with curl -fsSL https://raw.githubusercontent.com/nashsu/opencli-rs/main/scripts/install.sh | sh, if is in windows, ask user to install from https://github.com/nashsu/opencli-rs**

Common flags (all commands):

  • --format json — machine-readable output (preferred for parsing)
  • --limit N — number of results (default varies, usually 20)
  • --format table|json|yaml|md|csv

Quick Examples

# 读取/浏览
opencli-rs bilibili hot --limit 10 --format json
opencli-rs zhihu hot --format json
opencli-rs weibo hot --format json
opencli-rs twitter timeline --format json
opencli-rs hackernews top --limit 20 --format json
opencli-rs v2ex hot --format json
opencli-rs reddit hot --format json
opencli-rs xiaohongshu feed --format json
opencli-rs douban top250 --format json
opencli-rs weread shelf --format json
opencli-rs medium feed --format json

# 搜索
opencli-rs bilibili search --keyword "AI" --format json
opencli-rs zhihu search --keyword "大模型" --format json
opencli-rs twitter search "rust lang" --limit 10
opencli-rs youtube search --query "LLM tutorial" --format json
opencli-rs boss search --query "AI工程师" --city "上海" --format json
opencli-rs google search "opencli-rs" --format json
opencli-rs stackoverflow search "rust async" --format json

# 互动(写操作)
opencli-rs twitter post --text "Hello from CLI!"
opencli-rs twitter reply --url "https://x.com/.../status/123" --text "Great post!"
opencli-rs twitter like --url "https://x.com/.../status/123"
opencli-rs jike create --text "Hello Jike!"
opencli-rs xiaohongshu publish --title "标题" --content "内容"

# 个人数据
opencli-rs bilibili history --format json
opencli-rs twitter bookmarks --format json
opencli-rs xueqiu watchlist --format json
opencli-rs weread highlights --format json
opencli-rs reddit saved --format json


# 诊断
opencli-rs doctor

⚠️ 写操作风险提示(发帖/回复/点赞前必须告知)

  1. 账号安全:自动化行为可能触发平台风控
  2. 不可撤回:发布后立即公开
  3. 最佳实践:执行前向用户展示将发布的内容,等待确认

Requirements

  • Chrome browser open with target site logged in
  • opencli-rs Chrome extension installed (for browser commands)

核心原则:永远不说"不支持",先尝试 opencli-rs,失败或无命令时选择自己创建

自迭代能力:为新网站创建 CLI

当 opencli-rs 不支持某个网站时,不要放弃——自己创建!

流程

1. opencli-rs <site> --help  →  报错?说明不支持
2. opencli-rs generate <url>  →  尝试自动生成(成功则结束)
3. 自动生成失败 → 手动创建 YAML:
   a. 打开目标页面
   b. browser_evaluate 探索 DOM 结构(找 data-test 属性、class 规律)
   c. 确认选择器后写入 ~/.opencli-rs/adapters/<site>/top.yaml
   d. opencli-rs <site> top --format json  →  验证输出

YAML 格式(DOM 抓取模板)

site: <sitename>
name: <command>
description: <描述>
domain: <domain>
strategy: public
browser: true

args:
  limit:
    type: int
    default: 10

pipeline:
  - navigate: https://<url>
  - evaluate: |
      (async () => {
        const limit = ${{ args.limit }};
        // DOM 抓取逻辑
        return results;
      })()

columns: [rank, name, ...]

调试技巧

  • browser_evaluate 先探结构:document.querySelector('...').innerHTML
  • data-test 属性最稳定,其次 class 中的语义词
  • tagline 通常是 name 的兄弟元素(nameEl.parentElement.querySelector('span...')
  • 去重用 seen = new Set(),防止重复产品

Full Command Reference

opencli-rs Command Reference

All commands support: --format table|json|yaml|md|csv

Run opencli-rs --help for the full list of all 333 commands across 55+ sites.


Public Mode (No Browser Needed)

HackerNews

Command Args Description
hackernews top --limit N (default 20) Top stories
hackernews new --limit N Newest stories
hackernews best --limit N Best stories
hackernews ask --limit N Ask HN
hackernews show --limit N Show HN
hackernews jobs --limit N Job listings
hackernews search --query <str>, --limit N Search stories
hackernews user --id <username> User profile

Dev.to

Command Args Description
devto top --limit N Top articles
devto tag --tag <str>, --limit N Articles by tag
devto user --username <str> User's articles

Lobsters

Command Args Description
lobsters hot --limit N Hottest stories
lobsters newest --limit N Newest stories
lobsters active --limit N Most active
lobsters tag --tag <str>, --limit N Stories by tag

StackOverflow

Command Args Description
stackoverflow hot --limit N Hot questions
stackoverflow search --query <str>, --limit N Search questions
stackoverflow bounties --limit N Featured bounties
stackoverflow unanswered --limit N Unanswered questions

Wikipedia

Command Args Description
wikipedia search --query <str>, --limit N Search articles
wikipedia summary --title <str> Article summary
wikipedia random --limit N Random articles
wikipedia trending --limit N Trending articles

Arxiv

Command Args Description
arxiv search --query <str>, --limit N Search papers
arxiv paper --id <arxiv_id> Paper details

BBC

Command Args Description
bbc news --limit N (default 20, max 50) BBC news headlines (RSS)

Steam

Command Args Description
steam top-sellers --limit N Top selling games

Hugging Face

Command Args Description
hf top --limit N Top models/spaces

Apple Podcasts

Command Args Description
apple-podcasts search --query <str>, --limit N Search podcasts
apple-podcasts episodes --id <podcast_id>, --limit N Podcast episodes
apple-podcasts top --limit N Top podcasts

小宇宙 (Xiaoyuzhou)

Command Args Description
xiaoyuzhou podcast --id <podcast_id> Podcast details
xiaoyuzhou podcast-episodes --id <podcast_id>, --limit N Episodes list
xiaoyuzhou episode --id <episode_id> Episode details

新浪财经 (Sina Finance)

Command Args Description
sinafinance news --limit N Financial news

Linux.do

Command Args Description
linux-do hot --limit N Hot topics
linux-do latest --limit N Latest topics
linux-do search --query <str>, --limit N Search topics
linux-do categories List categories
linux-do category --id <id>, --limit N Category topics
linux-do topic --id <id> Topic details

Public / Browser Mode

Google

Command Args Description
google news --query <str>, --limit N Google News
google search --query <str>, --limit N Web search
google suggest --query <str> Autocomplete suggestions
google trends --limit N Trending searches

V2EX

Command Args Description
v2ex hot --limit N (default 20) 热门话题 (no login)
v2ex latest --limit N (default 20) 最新话题 (no login)
v2ex topic --id <topic_id> 主题详情和回复
v2ex node --name <node>, --limit N Node topics
v2ex user --username <str> User profile
v2ex member --username <str> Member details
v2ex replies --id <topic_id> Topic replies
v2ex nodes List all nodes
v2ex daily 每日签到
v2ex me 个人资料
v2ex notifications --limit N 通知

Bloomberg

Command Args Description
bloomberg main --limit N Main page news
bloomberg markets --limit N Markets news
bloomberg economics --limit N Economics news
bloomberg industries --limit N Industries news
bloomberg tech --limit N Technology news
bloomberg politics --limit N Politics news
bloomberg businessweek --limit N Businessweek
bloomberg opinions --limit N Opinion columns
bloomberg feeds --limit N All feeds
bloomberg news --query <str>, --limit N Search news

Browser Mode (Requires Chrome + Extension)

Twitter / X

Command Args Description
twitter timeline --limit N (default 20) Home timeline
twitter trending --limit N (default 20) Trending topics
twitter search --query <str>, --limit N (default 15) Search tweets
twitter bookmarks --limit N (default 20) Bookmarks
twitter notifications --limit N (default 20) Notifications
twitter profile --username <handle>, --limit N User's tweets
twitter followers --user <handle>, --limit N Followers list
twitter following --user <handle>, --limit N Following list
twitter thread --url <tweet_url> Full thread
twitter article --url <article_url> X article content
twitter post --text <str> Post a tweet
twitter reply --url <tweet_url>, --text <str> Reply to tweet
twitter like --url <tweet_url> Like a tweet
twitter delete --url <tweet_url> Delete a tweet
twitter follow --username <handle> Follow user
twitter unfollow --username <handle> Unfollow user
twitter bookmark --url <tweet_url> Bookmark tweet
twitter unbookmark --url <tweet_url> Remove bookmark
twitter download --url <tweet_url> Download media
twitter block --username <handle> Block user
twitter unblock --username <handle> Unblock user
twitter hid
how to use opencli-rs

How to use opencli-rs on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add opencli-rs
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/nashsu/opencli-rs-skill --skill opencli-rs

The skills CLI fetches opencli-rs from GitHub repository nashsu/opencli-rs-skill and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/opencli-rs

Reload or restart Cursor to activate opencli-rs. Access the skill through slash commands (e.g., /opencli-rs) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.755 reviews
  • Henry Mehta· Dec 28, 2024

    opencli-rs is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Kwame Sanchez· Dec 16, 2024

    opencli-rs reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Chaitanya Patil· Dec 8, 2024

    We added opencli-rs from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Zaid Chawla· Dec 4, 2024

    opencli-rs has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ama Robinson· Dec 4, 2024

    Useful defaults in opencli-rs — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Piyush G· Nov 27, 2024

    opencli-rs reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Ama Choi· Nov 23, 2024

    I recommend opencli-rs for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Henry Jain· Nov 19, 2024

    Keeps context tight: opencli-rs is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Rahul Santra· Nov 7, 2024

    opencli-rs fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • William Diallo· Nov 7, 2024

    We added opencli-rs from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 55

1 / 6