Community编程与开发github.com

jackwener/opencli-adapter-author

用于为新的站点编写OpenCLI适配器,或为现有站点添加新命令。提供从初步侦察、字段解码、适配器编码到验证的端到端指导。替代opencli-oneshot/opencli-explorer。若需临时驱动浏览器(无适配器),请使用opencli-browser;如需了解opencli的高级概述,请参阅opencli-usage。

opencli-adapter-author 是什么?

该技能专为开发者设计,用于创建或扩展OpenCLI适配器。它提供了一套完整的端到端流程指南,包括初始站点侦察、HTML字段解码、适配器代码编写以及最终验证。该技能替代了较早的opencli-oneshot和opencli-explorer工具,为开发者提供了更统一和高效的适配器开发体验。它主要面向需要为API或命令行工具编写自定义适配器的场景,支持通过CLI调用浏览器进行数据抓取和自动化操作。与临时浏览器驱动技能(opencli-browser)不同,此技能专注于构建可复用的适配器,适用于需要长期维护和频繁调用的任务。通过遵循该技能提供的步骤,开发者可以确保适配器的准确性和可靠性,从而减少调试和维护成本。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jackwener/opencli/tree/main/skills/opencli-adapter-author

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

opencli-adapter-author 是做什么的?

用于为新的站点编写OpenCLI适配器,或为现有站点添加新命令。提供从初步侦察、字段解码、适配器编码到验证的端到端指导。替代opencli-oneshot/opencli-explorer。若需临时驱动浏览器(无适配器),请使用opencli-browser;如需了解opencli的高级概述,请参阅opencli-usage。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

jackwener/opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/opencli-browser

Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.

jackwener/opencli-explorer

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.

jackwener/opencli-oneshot

Use when quickly generating a single OpenCLI command from a specific URL and goal description. 4-step process — open page, capture API, write TS adapter, test. For full site exploration, use opencli-explorer instead.

jackwener/opencli-operate

Make websites accessible for AI agents. Navigate, click, type, extract, wait — using Chrome with existing login sessions. No LLM API key needed.

jackwener/opencli-usage

Use at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".

jackwener/smart-search

基于 opencli 命令的智能搜索路由器。当用户想要使用 OpenCLI、CLI 或 API 搜索、查询、查找或研究信息时,尤其是涉及指定网站、社交媒体、技术资料、新闻、购物、旅游、求职、金融或中文内容时,务必使用此 skill

相关技能