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
23 changes: 22 additions & 1 deletion skills/opencli-usage/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,32 @@ Usage: `opencli <site> <command> [args] [--limit N] [-f json|yaml|md|csv|table]`
| **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` |

### External CLI (passthrough)

OpenCLI can discover, auto-install, and passthrough commands to external CLI tools. Use `opencli install <name>` to auto-install, or `opencli register <name>` to register a local CLI.

| CLI | Description | Commands |
|-----|-------------|----------|
| **gh** | GitHub CLI — repos, PRs, issues, releases | `repo` `pr` `issue` (all gh subcommands) |
| **obsidian** | Obsidian vault — notes, search, tags | All obsidian subcommands |
| **docker** | Docker CLI | All docker subcommands |
| **lark-cli** | Lark/Feishu — messages, docs, calendar, tasks (200+ commands) | All lark-cli subcommands |
| **dws** | DingTalk Workspace — messages, docs, calendar, contacts | All dws subcommands |
| **wecom-cli** | WeCom/企业微信 — contacts, todos, meetings, messages | All wecom-cli subcommands |
| **vercel** | Vercel — deploy, domains, env vars, logs | All vercel subcommands |

```bash
opencli install gh # Auto-install gh CLI
opencli register my-tool # Register a local custom CLI
opencli gh pr list --limit 5 # Passthrough to gh
opencli docker ps # Passthrough to docker
opencli lark-cli msg send ... # Passthrough to lark-cli
```

### Desktop (CDP/Electron)

| Site | Commands |
|------|----------|
| **gh** | `repo` `pr` `issue` — passthrough to gh CLI |
| **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` |
Expand Down
10 changes: 2 additions & 8 deletions skills/opencli-usage/desktop.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Desktop Adapter Commands

Commands that interact with desktop applications via CDP (Chrome DevTools Protocol) on Electron apps, or external CLI tools.
Commands that interact with desktop applications via CDP (Chrome DevTools Protocol) on Electron apps.

## GitHub (via gh CLI)

```bash
opencli gh repo list # 列出仓库 (passthrough to gh)
opencli gh pr list --limit 5 # PR 列表
opencli gh issue list # Issue 列表
```
> For external CLI passthrough (gh, docker, lark-cli, etc.), see the **External CLI** section in the main SKILL.md.
## Cursor (desktop — CDP via Electron)

Expand Down