qiaomu-opencli-explorer

Discover website JSON API endpoints and select authentication strategies for OpenCLI adapters.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/selfagency/agentsy --skill qiaomu-opencli-explorer-selfagency
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: qiaomu-opencli-explorer
Source: https://github.com/selfagency/agentsy/tree/main/.agents/skills/qiaomu-opencli-explorer
Command: npx skills add https://github.com/selfagency/agentsy --skill qiaomu-opencli-explorer-selfagency

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about qiaomu-opencli-explorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover real JSON API endpoints on a website for CLI generation?▼

To discover real JSON API endpoints for CLI generation, you use a browser-driven workflow that navigates target site pages, captures network requests, triggers lazy-loaded interactions, and validates response shapes via in-page fetch.

What is the best way to determine the correct authentication strategy for an undocumented API?▼

Determining the correct authentication strategy for an undocumented API involves selecting across five tiers, ranging from public endpoints to cookie-based, header-based, store-action intercepts, or final UI automation for deeper API access.

How do I generate a TypeScript CLI adapter from discovered API endpoints?▼

You generate a TypeScript CLI adapter from discovered endpoints by converting the validated response shapes into production-style cli() adapters, reusing existing platform helpers, and verifying structured output.

Can I build an OpenCLI adapter from scratch for a site with lazy-loaded content?▼

Yes, you can build an OpenCLI adapter from scratch for a site with lazy-loaded content by triggering interactive elements via clicks during the browser workflow to capture resulting network requests and verifying the JSON responses.

How do I test and verify a generated TypeScript CLI adapter?▼

To test and verify a generated TypeScript CLI adapter, you run the implemented commands with verbose and structured output to confirm the adapter returns the expected data fields from the target API.