qiaomu-opencli-oneshot

Generate a TypeScript OpenCLI adapter from a URL and goal via network capture.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly turning a specific webpage URL and a one-sentence goal into a working single OpenCLI CLI adapter, without doing full site exploration.

Core Features & Use Cases

  • Open page and capture the right JSON API: navigate to the URL, wait for requests to fire, then filter network calls to locate the relevant application/json endpoint.
  • Lock and verify the target interface: identify the correct method, headers (cookies/Bearer/CSRF/signatures), and response data path, then reproduce it with fetch in the browser context.
  • Choose an execution strategy and generate the adapter: produce a TypeScript CLI adapter using the appropriate template (public/cookie/header/intercept) based on whether the API can be fetched directly or only through request interception.

Quick Start

Ask the AI to generate the OpenCLI command by providing the target URL and the goal description, then follow the four-step workflow to capture the API, reproduce it, select the matching strategy, and generate the TypeScript adapter.

Frequently Asked Questions about qiaomu-opencli-oneshot

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

FAQPage Schema
How do I generate a TypeScript CLI adapter from a URL quickly?

Generating a TypeScript CLI adapter from a URL involves navigating the page, capturing the target application/json endpoint, verifying it via in-page fetch, and templating the code automatically from your goal.

How does network interception work for API discovery in web automation?

Network interception for API discovery works by navigating to a target URL, waiting for network requests to fire, and filtering those calls to isolate the specific application/json endpoint needed for your automation adapter.

Can I use OpenCLI to automate APIs that require cookies or Bearer tokens?

You can use OpenCLI to automate APIs requiring cookies or Bearer tokens by identifying the correct headers during network capture, then selecting a matching cookie or header execution strategy template for the adapter.

What is the best way to create a one-shot CLI command from a GraphQL endpoint?

The best way to create a one-shot CLI command from a GraphQL endpoint is to isolate the application/json request, verify its reproducibility via in-page fetch, and generate a TypeScript adapter using an intercept strategy template.

When should I not use one-shot adapter generation for web automation?

You should not use one-shot adapter generation when a project requires full exploratory development. It is designed strictly for rapid CLI creation where a specific JSON endpoint can be quickly discovered and validated.