← 返回 Skills 市场
chaoyang78

Opencli

作者 Kevin Stone · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
38
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install opencli
功能描述
Use the local OpenCLI source install at `/Users/ShiXin/Documents/Workspace/github-project/opencli` as the primary `opencli` skill. Load this when the user ex...
使用说明 (SKILL.md)

opencli

This is the canonical OpenCLI skill for this workspace.

Use it when the user says any of:

  • opencli
  • skill opencli
  • use OpenCLI
  • 用 opencli

Also use it when a request is better handled by an existing OpenCLI adapter than by ad-hoc browser driving.

Canonical entrypoint

Always invoke OpenCLI through this wrapper first:

/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh \x3Cargs...>

Wrapper behavior:

  • prefers the source build at /Users/ShiXin/Documents/Workspace/github-project/opencli/dist/main.js
  • falls back to the global opencli binary only if the source build is unavailable

This avoids old global installs and keeps behavior aligned with the source repo.

Current source of truth

Version: local source build 1.7.7 (source repo) | global npm 1.7.8 (fallback).

自动同步: 本地 source repo 由 cron job 每周二技能升级检查(每周二 09:00)自动同步 origin/main。无需手动更新。

Do not hard-code site command lists from memory.

At the start of a task, prefer:

/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh list -f json
/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh \x3Csite> --help
/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh \x3Csite> \x3Ccommand> --help

Important top-level commands currently available from the local source build include:

  • list
  • validate
  • verify
  • explore|probe
  • synthesize
  • generate
  • record
  • cascade
  • doctor
  • plugin
  • install
  • register
  • external CLI passthrough such as gh, docker, lark-cli, vercel

Health model

Run this when checking the browser bridge:

/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh doctor --no-live

Interpretation:

  • doctor only diagnoses the browser bridge
  • PUBLIC or non-browser discovery commands can still work when doctor is not green
  • browser-backed adapters usually need the Browser Bridge extension and/or a logged-in browser session

Output rules

  • Prefer -f json for agent use
  • Use --help before assuming argument shapes
  • Return the exact command used when that helps future reuse

Twitter / X routing

Use the correct command for the job:

# Search uses a positional query, not --query
/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh twitter search "OpenAI" --limit 10 -f json

# Single tweet / thread by tweet ID or status URL
/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh twitter thread 2047128854389465296 -f json

# Long-form article / note-tweet-like article content
/Users/ShiXin/.openclaw/skills/opencli/scripts/opencli.sh twitter article 2047128854389465296 -f json

Important routing notes:

  • twitter search is opencli twitter search \x3Cquery>
  • there is no opencli twitter id ... subcommand
  • when the user gives a tweet ID or status URL, prefer twitter thread over twitter search
  • twitter search depends on search results and indexing; it is not the right primitive for direct-ID retrieval

Prefer OpenCLI when

  • the user explicitly asks for OpenCLI
  • the target site already has a stable OpenCLI adapter
  • structured deterministic output is better than ad-hoc browser extraction
  • you need OpenCLI external-CLI passthrough like opencli gh ...

Prefer OpenClaw native browser when

  • the task is generic UI automation
  • the task depends on the current OpenClaw-managed browser session
  • no clear OpenCLI adapter advantage exists

References

  • scripts/opencli.sh — canonical wrapper
  • references/commands.md — validated command cookbook
  • upstream source skill: /Users/ShiXin/Documents/Workspace/github-project/opencli/skills/opencli-usage/SKILL.md
能力标签
crypto
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install opencli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /opencli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
opencli 1.0.0 - Adds skill for direct integration with local OpenCLI install at `/Users/ShiXin/Documents/Workspace/github-project/opencli` - Uses a wrapper script to ensure preference for local source build over global binary - Explicitly documents usage triggers, canonical entrypoint, and command invocation patterns - Provides clear guidance for Twitter/X routing and health checks - Details scenarios for preferring OpenCLI vs. native browser automation - Includes output and interpretation rules for consistent command usage
元数据
Slug opencli
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Opencli 是什么?

Use the local OpenCLI source install at `/Users/ShiXin/Documents/Workspace/github-project/opencli` as the primary `opencli` skill. Load this when the user ex... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 Opencli?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install opencli」即可一键安装,无需额外配置。

Opencli 是免费的吗?

是的,Opencli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Opencli 支持哪些平台?

Opencli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Opencli?

由 Kevin Stone(@chaoyang78)开发并维护,当前版本 v1.0.0。

💬 留言讨论