Community生產力與協作github.com

jackwener/opencli-browser

當代理需要透過 opencli 操控真實 Chrome 瀏覽器時使用——檢查頁面、填寫表單、點擊登入流程或臨時提取資料。涵蓋以選擇器為優先的目標合約、複合表單欄位、陳舊引用處理、網路擷取以及 CLI 返回的代理原生封裝。不適用於編寫轉接器——請參閱 opencli-adapter-author。

opencli-browser 是什麼?

此技能讓 AI 代理能夠透過 opencli 直接操控真實的 Chrome 瀏覽器視窗,實現網頁自動化操作。它涵蓋了以選擇器為優先的目標定位合約、複合表單欄位的處理、陳舊 DOM 引用的應對機制、網路請求的擷取,以及 CLI 返回的代理原生資料封裝格式。代理可以利用此技能執行頁面檢查、表單填寫、點擊登入流程或臨時擷取資料等任務。支援的平台包括任何使用 opencli 的環境(如 Claude Code、Cursor 或 Codex 等),其運作方式是通過 opencli 與 Chrome DevTools Protocol 進行通訊,確保操作的穩定性和可靠性。請注意,此技能專注於瀏覽器操控,不適用於編寫新的 opencli 轉接器——這部分請參考 opencli-adapter-author 技能。

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

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

opencli-browser 是做什麼的?

當代理需要透過 opencli 操控真實 Chrome 瀏覽器時使用——檢查頁面、填寫表單、點擊登入流程或臨時提取資料。涵蓋以選擇器為優先的目標合約、複合表單欄位、陳舊引用處理、網路擷取以及 CLI 返回的代理原生封裝。不適用於編寫轉接器——請參閱 opencli-adapter-author。

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

相關技能