opencli-adapter-author

Guide OpenCLI site adapter development through reconnaissance, API discovery, and verification.

7|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/carl10086/ys-powers --skill opencli-adapter-author-carl10086
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencli-adapter-author
Source: https://github.com/carl10086/ys-powers/tree/main/external/opencli/skills/opencli-adapter-author
Command: npx skills add https://github.com/carl10086/ys-powers --skill opencli-adapter-author-carl10086

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of creating OpenCLI adapters for new websites, reducing the time from initial site reconnaissance to a verified, production-ready adapter to under 30 minutes.

Core Features & Use Cases

  • Strategy-Driven Development: Guides you through selecting the optimal data extraction strategy (e.g., PUBLIC_API, COOKIE_API, UI_SELECTOR) based on site architecture and maintenance costs.
  • Standardized Workflow: Provides a rigorous, step-by-step Runbook for site reconnaissance, API discovery, field decoding, and adapter verification.
  • Use Case: When you need to add a new financial data source to OpenCLI, this Skill ensures you follow the correct protocol for field mapping, error handling, and fixture generation, preventing silent data failures.

Quick Start

Use the opencli-adapter-author skill to guide the creation of a new adapter for the target website by following the step-by-step runbook.

Frequently Asked Questions about opencli-adapter-author

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

FAQPage Schema
What is the best way to build a web data extraction adapter for financial websites?

The best way to build a web data extraction adapter is to follow a structured workflow for site reconnaissance, API discovery, and verification. This ensures long-term maintenance stability through contract-based strategy selection for structured data.

How do I add a new financial data source to OpenCLI?

To add a new financial data source, follow a standardized runbook for site reconnaissance and API discovery. This enforces correct protocols for field mapping, error handling, and automated fixture generation to prevent silent data failures.

How do I choose between PUBLIC_API and UI_SELECTOR strategies for web scraping?

You choose between PUBLIC_API and UI_SELECTOR strategies by analyzing site architecture and maintenance costs. A contract-based selection process identifies the optimal data extraction approach to ensure long-term stability.

Can I automate fixture generation for regression testing of API adapters?

Yes, you can automate fixture generation for regression testing of API adapters. The development workflow includes automated fixture generation to verify adapter functionality and ensure robust error handling against silent data failures.

Does this adapter authoring workflow require prior API discovery knowledge?

Prior API discovery knowledge is helpful but the workflow provides a rigorous step-by-step runbook. It guides you through site reconnaissance, field decoding, and adapter verification to reduce development time to under 30 minutes.

Why do my web scraping adapters fail silently when extracting structured data?

Web scraping adapters fail silently due to inadequate error handling and field mapping. Enforcing a standardized workflow for adapter verification and automated fixture generation prevents these silent data extraction failures.