What problem does it solve?
This Skill guides you through building a new OpenCLI adapter for a website by discovering its real API endpoints and authentication requirements, so you can generate working CLI commands without guessing.
Core Features & Use Cases
- Browser-first API discovery workflow: Learn to navigate, snapshot interactive elements, capture JSON endpoints, trigger lazy-loaded requests via clicks, and validate responses with in-page fetch.
- Authentication strategy selection (Tier 1–5): Choose the correct approach from public endpoints to cookie, header, store-action/intercept, or final UI automation when APIs require deeper access.
- Adapter implementation and testing loop: Convert discovered endpoints into TypeScript
cli() adapters, reuse existing platform helpers when available, and verify by running commands with verbose and structured output.
Use case example: You want a CLI that lists a target site’s “following/fans” or “comments/subtitles,” so you use the browser workflow to identify the endpoint, confirm the response shape, then implement the adapter and verify it returns the expected fields.
Quick Start
Use qiaomu-opencli-explorer to explore the target site’s pages in a browser, capture the JSON API endpoints and required auth strategy, then write and test a TypeScript OpenCLI adapter that returns the desired data.