Community程式設計與開發github.com

jackwener/opencli-oneshot

用於從特定 URL 和目標描述快速生成單個 OpenCLI 命令。4 步驟流程:打開頁面、捕獲 API、編寫 TS 適配器、測試。如需完整站點探索,請改用 opencli-explorer。

opencli-oneshot 是什麼?

此技能旨在快速生成單個 OpenCLI 命令,特別適用於從已知 URL 和明確目標開始的場景。它遵循一個精簡的 4 步驟流程:首先打開目標網頁,然後捕獲相關 API,接著編寫 TypeScript 適配器,最後進行測試。這對於需要快速執行特定操作(例如抓取數據或執行單一任務)的情況非常有用,但若需要全面瀏覽整個站點,則應使用 opencli-explorer 來替代。此技能支援的命令行工具環境(如 Claude Code、Cursor 等),可加速開發者工作流程。

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

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

opencli-oneshot 是做什麼的?

用於從特定 URL 和目標描述快速生成單個 OpenCLI 命令。4 步驟流程 — 打開頁面、捕獲 API、編寫 TS 適配器、測試。如需完整站點探索,請改用 opencli-explorer。

Individual skills in this repo

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

jackwener/opencli-adapter-author

Use when writing an OpenCLI adapter for a new site or adding a new command to an existing site. Guides end-to-end from first recon through field decoding, adapter coding, and verify. Replaces opencli-oneshot / opencli-explorer. For ad-hoc browser driving (no adapter), see opencli-browser instead; for a top-level orientation to opencli, see opencli-usage.

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-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

相關技能