opencli-explorer

opencli-explorer

Popular

Use when creating a new OpenCLI adapter from scratch, adding support for a new website or platform, exploring a site's API endpoints via browser DevTools, or when a user asks to automatically generate a CLI for a website (e.g. \"帮我生成 xxx.com 的 cli\"). Covers automated generation, API discovery workflow, authentication strategy selection, TS adapter writing, and testing.

27Kstars
2.7Kforks
Updated 7/20/2026
The requested translation is not ready yet. Showing the original mixed-language content.
SKILL.md
readonlyread-only
name
opencli-explorer
description

Use when creating a new OpenCLI adapter from scratch, adding support for a new website or platform, exploring a site's API endpoints via browser DevTools, or when a user asks to automatically generate a CLI for a website (e.g. \"帮我生成 xxx.com 的 cli\"). Covers automated generation, API discovery workflow, authentication strategy selection, TS adapter writing, and testing.

CLI-EXPLORER — 适配器探索式开发完全指南

从零到发布:API 发现 → 认证策略 → 写适配器 → 测试验证。

先选路径

情况
走这里

只要为一个具体页面生成一个命令
opencli-oneshot skill

想先让机器自动试一遍
opencli generate <url> [--goal <goal>],失败再回来

新站点 / 多个命令 / oneshot 卡住了
继续往下读本文档

产物要提 PR
本文档 + clis/<site>/ + npm run build

只是本地私用,不提 PR
本文档 + ~/.opencli/clis/<site>/

核心流程