Opencli Rs
CLAWHUB · Unverified
基于Rust的通用命令行枢纽 - 将任何网站、桌面应用、本地CLI工具转变为命令行接口,专为AI Agent和自动化工作流设计。支持55+网站、Electron应用控制和外部CLI集成,单二进制文件4.7MB,性能提升12倍。 Skill: Opencli Rs Owner: smallnest Summary: 基于Rust的通用命令行枢纽 - 将任何网站、桌面应用、本地CLI工具转变为命令行接口,专为AI Agent和自动化工作流设计。支持55+网站、Electron应用控制和外部CLI集成,单二进制文件4.7MB,性能提升12倍。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-25T08:14:40.811Z | auto opencli-rs 1.0.0 — 首个 Rust 版本发布,带来极大性能和体验提升: - 全新基于 Rust 重写,单一4.7MB二进制,零外部依赖。 - 性能较 TypeScript/Node.js 版本提升12倍,内存消耗减少10倍。 - 支持 55+ 网站和 Electron 桌面应用命令行集成,涵盖数据抓取、自动化和内容下载。 - 新增 AI Agent
- 62
- Rank
- 84
- Safety
- 1.2k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.2K downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.0release · Mar 25, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.0release
opencli-rs 1.0.0 — 首个 Rust 版本发布,带来极大性能和体验提升: - 全新基于 Rust 重写,单一4.7MB二进制,零外部依赖。 - 性能较 TypeScript/Node.js 版本提升12倍,内存消耗减少10倍。 - 支持 55+ 网站和 Electron 桌面应用命令行集成,涵盖数据抓取、自动化和内容下载。 - 新增 AI Agent 自动工具发现、注册外部CLI、自定义YAML流水线等高级功能。 - 丰富输出格式(表格、JSON、YAML、Markdown、CSV)和 Chrome 扩展配合使用。 - 详尽中文版文档及排障指南。
Observed Mar 25, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s1732835fdfty4p76msqxsdq2583gj80:opencli-rs- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-smallnest-opencli-rs/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
29,351 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: opencli-rs description: 基于Rust的通用命令行枢纽 - 将任何网站、桌面应用、本地CLI工具转变为命令行接口,专为AI Agent和自动化工作流设计。支持55+网站、Electron应用控制和外部CLI集成,单二进制文件4.7MB,性能提升12倍。 --- # SKILL.md - OpenCLI-RS (Rust版本) 通用命令行枢纽 ## 概述 OpenCLI-RS 是基于 Rust 重写的通用 CLI 枢纽工具,能够将任何网站、本地工具、Electron 应用转变为命令行接口,专为 AI Agent 和自动化工作流设计。 **核心优势**: - 🚀 **性能**: 相比TypeScript版本提升12倍,内存使用减少10倍 - 📦 **轻量**: 单二进制文件4.7MB,零运行时依赖 - 🔒 **安全**: Rust内存安全,无GC停顿 - 🤖 **AI原生**: 自动发现所有可用工具,支持AI Agent无缝调用 **GitHub仓库**: https://github.com/nashsu/opencli-rs ## 使用场景 **当以下情况时使用此技能**: 1. **AI Agent 自动化** - 需要让 AI 控制网站或桌面应用 2. **数据提取** - 从55+网站定时提取结构化数据 3. **桌面应用控制** - 控制 Electron 应用如 Cursor、Codex、ChatGPT、Notion、Discord 等 4. **外部 CLI 管理** - 统一管理 gh、docker、kubectl、obsidian 等 CLI 工具 5. **内容下载** - 下载图片、视频、文章等内容 6. **平台操作** - 在微博、B站、知乎、小红书等平台执行操作 7. **实时信息获取** - 获取新闻、趋势、社交媒体动态 ## 快速开始 ### 安装方法 #### 自动安装 (推荐) ```bash # 使用官方安装脚本 curl -fsSL https://raw.githubusercontent.com/nashsu/opencli-rs/main/scripts/install.sh | sh ``` #### 手动安装 ```bash # 1. 下载对应平台的二进制文件 # Linux x86_64 wget https://github.com/nashsu/opencli-rs/releases/latest/download/opencli-rs-x86_64-unknown-linux-musl.tar.gz tar -xzf opencli-rs-x86_64-unknown-linux-musl.tar.gz sudo mv opencli-rs /usr/local/bin/ # 2. 验证安装 opencli-rs --version ``` #### 从源码编译 ```bash # 需要 Rust 工具链 git clone https://github.com/nashsu/opencli-rs.git cd opencli-rs cargo build --release sudo cp target/release/opencli-rs /usr/local/bin/ ``` ### Chrome 扩展安装 (用于浏览器命令) 1. 从 [GitHub Releases](https://github.com/nashsu/opencli-rs/releases/latest) 下载 `opencli-rs-chrome-extension.zip` 2. 解压到任意目录 3. 打开 Chrome 并访问 `chrome://extensions` 4. 启用"开发者模式"(右上角开关) 5. 点击"加载已解压的扩展程序"并选择解压的文件夹 6. 扩展会自动连接到 opencli-rs 守护进程 **注意**: 公开API命令(如 hackernews、devto)无需扩展即可工作。 ## 核心命令 ### 基本使用 ```bash # 查看所有可用命令 opencli-rs --help # 查看特定网站的命令帮助 opencli-rs hackernews --help opencli-rs bilibili --help # 获取Hacker News热门故事(无需浏览器) opencli-rs hackernews top --limit 10 # JSON格式输出 opencli-rs hackernews top --limit 5 --format json # 获取B站热门视频(需要浏览器+Cookie) opencli-rs bilibili hot --limit 20 # 搜索Twitter(需要浏览器+登录) opencli-rs twitter search "rust lang" --limit 10 # 运行诊断 opencli-rs doctor # 生成Shell自动补全 opencli-rs completion bash >> ~/.bashrc opencli-rs completion zsh >> ~/.zshrc opencli-rs completion fish > ~/.config/fish/completions/opencli-rs.fish ``` ### 桌面应用控制 ```bash # 控制Cursor编辑器 opencli-rs cursor status opencli-rs cursor send "分析这段代码" # 控制Codex编辑器 opencli-rs codex status opencli-rs codex send "实现排序算法" # 控制ChatGPT桌面版 opencli-rs chatgpt status opencli-rs chatgpt send "解释量子计算" # 控制Notion opencli-rs notion search "项目文档" # 控制Discord opencli-rs discord-app channels ``` ### 外部CLI集成 ```bash # GitHub CLI opencli-rs gh repo list opencli-rs gh pr list --limit 5 # Docker CLI opencli-rs docker ps opencli-rs docker images # Kubernetes CLI opencli-rs kubectl get pods opencli-rs kubectl get nodes # 其他工具 opencli-rs obsidian search "笔记" opencli-rs readwise highlights ``` ### 输出格式控制 ```bash # ASCII表格(默认) opencli-rs h
README.md
# OpenCLI Skill for OpenClaw [](https://openclaw.ai) [](LICENSE) [](https://github.com/jackwener/opencli) A comprehensive skill package for integrating [OpenCLI](https://github.com/jackwener/opencli) with [OpenClaw](https://openclaw.ai), enabling AI Agents to automate websites, control desktop apps, and manage CLI tools. ## 🌟 Features - **🤖 AI Agent Ready** - Structured JSON/YAML outputs for easy parsing - **🌐 Multi-Platform** - 50+ websites and desktop applications - **🖥️ Desktop Automation** - Control Electron apps like Cursor, Codex, Antigravity - **📥 Content Download** - Download images, videos, articles - **🔧 External CLI Hub** - Unified management of gh, docker, obsidian, etc. - **⚡ Zero LLM Cost** - Deterministic outputs, no token consumption ## 📦 Installation ### 1. Clone the Repository ```bash git clone https://github.com/smallnest/opencli-skill.git cd opencli-skill ``` ### 2. Run Installation Script ```bash bash install.sh ``` ### 3. Install Chrome Extension 1. Download `opencli-extension.zip` from [OpenCLI Releases](https://github.com/jackwener/opencli/releases) 2. Open `chrome://extensions`, enable Developer mode 3. Click "Load unpacked extension" and select the extracted folder ## 🚀 Quick Start ### Basic Usage ```bash # List all available commands opencli list # List commands in YAML format (AI-friendly) opencli list -f yaml # Get Bilibili hot videos opencli bilibili hot --limit 10 -f json # Get Zhihu hot topics opencli zhihu hot -f table # Control Cursor IDE opencli cursor status opencli cursor send "Analyze this code" ``` ### Example Scripts ```bash # Collect hot content from multiple platforms bash examples/collect-hot-content.sh # Automate Cursor IDE tasks bash examples/automate-cursor.sh # Download content (images, videos, articles) bash examples/download-content.sh ``` ## 📁 Project Structure ``` opencli-skill/ ├── SKILL.md # Main skill documentation ├── README.md # This file ├── install.sh # One-click installation script ├── examples/ # Ready-to-use example scripts │ ├── collect-hot-content.sh # Multi-platform data collection │ ├── automate-cursor.sh # Cursor IDE automation │ └── download-content.sh # Content downloading ├── config/ # Configuration files │ └── agent-integration.md # AI Agent integration guide └── package.json # Package configuration ``` ## 🎯 Use Cases ### 1. **AI Agent Automation** ```bash # AI discovers available commands opencli list -f yaml # AI executes platform operations opencli twitter trending --limit 10 -f json opencli bilibili search "AI tutorial" --limit 20 -f json ``` ### 2. **Data Collection** ```bash # Collect daily trending data bash exam
_meta.json
{
"ownerId": "kn7676m8qn04gwzbwbh3nnb55s80nmyv",
"slug": "opencli-rs",
"version": "1.0.0",
"publishedAt": 1774426480811
}config/agent-integration.md
# AI Agent 集成指南
本指南介绍如何将 OpenCLI 集成到 AI Agent 工作流中,让 AI 能够自动控制网站和桌面应用。
## 核心优势
1. **结构化输出** - JSON/YAML 格式,AI 可直接解析
2. **零 LLM 成本** - 无需消耗额外 token 解析非结构化数据
3. **确定性操作** - 相同命令始终返回相同结构
4. **广泛覆盖** - 50+ 平台和桌面应用
## 基础集成
### 1. 在 AGENT.md 中添加配置
```markdown
## OpenCLI 集成
使用 OpenCLI 自动化网站和桌面应用操作:
1. **发现可用命令**
```bash
opencli list -f yaml
```
2. **执行操作**
```bash
# 获取数据
opencli bilibili hot --limit 10 -f json
opencli zhihu hot -f json
# 控制桌面应用
opencli cursor send "分析代码"
opencli antigravity ask "解释这个概念"
```
3. **处理结果**
- 直接解析 JSON/YAML 输出
- 转换为需要的数据结构
- 保存到文件或数据库
4. **错误处理**
```bash
# 诊断连接
opencli doctor
# 检查登录状态
curl localhost:19825/status
```
```
### 2. 示例:AI Agent 工作流
```yaml
# AI Agent 工作流配置示例
workflows:
collect_daily_data:
steps:
- name: 发现命令
command: opencli list -f yaml | grep -E "(hot|trending|top)"
- name: 收集数据
commands:
- opencli hackernews top --limit 20 -f json > hackernews.json
- opencli github trending --limit 15 -f json > github.json
- opencli bilibili hot --limit 10 -f json > bilibili.json
- name: 分析数据
command: |
# AI 分析收集的数据
cat *.json | your_analysis_script
- name: 生成报告
command: generate_report --inputs *.json --output report.md
```
## 进阶集成模式
### 模式1:数据收集 Agent
```bash
#!/bin/bash
# 数据收集 AI Agent
# 1. 动态发现可用数据源
DATA_SOURCES=$(opencli list -f yaml | yq '.[] | select(.category == "public" or .category == "browser") | .name')
# 2. 并发收集数据
for source in $DATA_SOURCES; do
echo "收集 $source 数据..."
opencli $source hot --limit 10 -f json > "data/${source}_$(date +%Y%m%d).json" &
done
# 3. 等待所有任务完成
wait
# 4. AI 处理和分析
# ... AI 处理逻辑 ...
```
### 模式2:桌面应用控制 Agent
```bash
#!/bin/bash
# 桌面应用控制 AI Agent
# 1. 检查应用状态
if opencli cursor status | grep -q "connected"; then
echo "Cursor 已连接"
# 2. 发送任务
opencli cursor send "请分析以下代码并给出优化建议:"
opencli cursor send --file mycode.py
# 3. 获取响应
sleep 2
response=$(opencli cursor read -f json)
# 4. AI 处理响应
echo "AI 分析 Cursor 响应..."
# ... 处理逻辑 ...
fi
```
### 模式3:内容管理 Agent
```bash
#!/bin/bash
# 内容管理 AI Agent
# 1. 发现可下载内容
CONTENT_LIST=$(opencli xiaohongshu feed --limit 20 -f json)
# 2. AI 筛选感兴趣的内容
INTERESTING=$(echo "$CONTENT_LIST" | jq '.[] | select(.likes > 1000)')
# 3. 批量下载
echo "$INTERESTING" | jq -r '.id' | while read note_id; do
opencli xiaohongshu download "$note_id" --output "./downloads/$note_id"
done
# 4. AI 分析下载的内容
# ... 分析逻辑 ...
```
## OpenClaw 特定集成
### 在 OpenClaw 技能中使用
```bash
# 在技能脚本中集成 OpenCLI
exec "npm install -g @jackwener/opencli"
# 配置 Chrome 扩展(需要手动步骤)
# 1. 下载扩展
# 2. 安装到 Chrome
# 在技能逻辑中使用
opencli list -f yaml > available_commands.yaml
# 根据用户请求执行相应命令
case $user_request in
"获取B站热门")
opencli bilibili hot --limit 10 -f table
;;
"分析代码")
opencli cursor send "$user_code"
QUICK_GUIDE.md
# Quick Guide: OpenCLI Skill for OpenClaw ## 🔗 GitHub Repository https://github.com/smallnest/opencli-skill ## 📋 What's Included ### Core Files 1. **SKILL.md** - Main skill documentation for OpenClaw 2. **README.md** - GitHub repository documentation 3. **install.sh** - One-click installation script 4. **LICENSE** - MIT License ### Example Scripts - `examples/collect-hot-content.sh` - Multi-platform data collection - `examples/automate-cursor.sh` - Cursor IDE automation - `examples/download-content.sh` - Content downloading ### Configuration - `config/agent-integration.md` - AI Agent integration guide - `package.json` - Package configuration ## 🚀 How to Use ### Option 1: Direct Installation ```bash # Clone the repository git clone https://github.com/smallnest/opencli-skill.git cd opencli-skill # Run installation bash install.sh # Install Chrome extension (required for browser commands) # 1. Download from: https://github.com/jackwener/opencli/releases # 2. Load in chrome://extensions ``` ### Option 2: OpenClaw Integration ```bash # Copy to OpenClaw skills directory cp -r opencli-skill ~/.openclaw/workspace/skills/opencli # The skill will be automatically detected by OpenClaw # Next time you start OpenClaw, you can use OpenCLI commands ``` ## 💡 Quick Examples ### Basic Commands ```bash # List all available commands opencli list # Get Bilibili hot videos opencli bilibili hot --limit 5 -f json # Control Cursor IDE opencli cursor status opencli cursor send "Hello, help me with this code" ``` ### Run Example Scripts ```bash # Collect data from multiple platforms bash examples/collect-hot-content.sh # Automate Cursor IDE bash examples/automate-cursor.sh # Download content bash examples/download-content.sh ``` ## 🎯 Key Features 1. **AI Agent Ready** - JSON/YAML outputs for easy parsing 2. **Multi-Platform** - 50+ websites and desktop apps 3. **Desktop Automation** - Control Cursor, Codex, Antigravity 4. **Content Download** - Images, videos, articles 5. **Zero LLM Cost** - Deterministic outputs ## 🔧 Requirements - Node.js >= 20.0.0 - Chrome browser (for browser commands) - Chrome extension installed - Target websites logged in (for authenticated operations) ## 🆘 Troubleshooting ```bash # Check connection opencli doctor # Check daemon status curl localhost:19825/status # View logs curl localhost:19825/logs ``` ## 📚 Documentation - Full OpenCLI documentation: https://github.com/jackwener/opencli - OpenClaw documentation: https://docs.openclaw.ai - Skill documentation: See SKILL.md ## 🎉 Enjoy! With this skill package, you can now automate websites, control desktop apps, and manage CLI tools through your AI Agent. Happy automating! 🚀
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-smallnest-opencli-rs. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Opencli Rs. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-smallnest-opencli-rs, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/smallnest/skills/opencli-rs",
"sourceUrl": "https://clawhub.ai/smallnest/skills/opencli-rs",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T04:59:14.456Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-smallnest-opencli-rs/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-smallnest-opencli-rs/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T04:59:14.456Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.2K downloads",
"href": "https://clawhub.ai/smallnest/opencli-rs",
"sourceUrl": "https://clawhub.ai/smallnest/opencli-rs",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T04:59:14.456Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/smallnest/opencli-rs",
"sourceUrl": "https://clawhub.ai/smallnest/opencli-rs",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T08:14:40.811Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-smallnest-opencli-rs/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-smallnest-opencli-rs/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "opencli-rs 1.0.0 — 首个 Rust 版本发布,带来极大性能和体验提升: - 全新基于 Rust 重写,单一4.7MB二进制,零外部依赖。 - 性能较 TypeScript/Node.js 版本提升12倍,内存消耗减少10倍。 - 支持 55+ 网站和 Electron 桌面应用命令行集成,涵盖数据抓取、自动化和内容下载。 - 新增 AI Agent 自动工具发现、注册外部CLI、自定义YAML流水线等高级功能。 - 丰富输出格式(表格、JSON、YAML、Markdown、CSV)和 Chrome 扩展配合使用。 - 详尽中文版文档及排障指南。",
"href": "https://clawhub.ai/smallnest/opencli-rs",
"sourceUrl": "https://clawhub.ai/smallnest/opencli-rs",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T08:14:40.811Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-smallnest-opencli-rs/run-check
