← 返回 Skills 市场
liberalchang

opencli-adapter-author

作者 chang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
105
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install 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, ad...
安全使用建议
This skill is a detailed, coherent authoring guide and does what it says: it will direct an agent to use your opencli CLI and browser tooling, read and write files under ~/.opencli, create adapter files under clis/<site>/, and (via the browser tool) read cookie jars (including HttpOnly cookies via CDP). Before using it: (1) be prepared to review any file changes/commits the agent makes in your repo; (2) do not let the agent persist real auth tokens or raw cookies into repo files or fixtures — the guide reminds you to sanitize fixtures but that is not enforced; (3) run the agent in an environment with limited privileges or a throwaway workspace if you are unsure; (4) validate any injected interceptor code or helper snippets before allowing them to run; (5) confirm the opencli tooling invoked is the legitimate binary you expect. If you follow those precautions, the skill appears internally consistent and appropriate for its purpose.
功能分析
Type: OpenClaw Skill Name: opencli-adapter-author Version: 1.0.0 The skill bundle provides a comprehensive framework for an AI agent to author OpenCLI adapters for various websites. It includes detailed runbooks, reference templates, and site-specific memory (e.g., for Bilibili and Eastmoney) to guide the agent through reconnaissance, API discovery, and field decoding. While the instructions involve high-risk operations such as extracting browser cookies (page.getCookies) and executing JavaScript in a browser context (opencli browser eval), these actions are strictly aligned with the tool's stated purpose of automating web data extraction. There is no evidence of intentional data exfiltration, malicious persistence, or prompt injection designed to subvert the agent's safety protocols.
能力标签
cryptorequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the content: this is a how-to for writing OpenCLI adapters. The skill is instruction-only, requests no env vars or binaries, and its runtime steps (use opencli CLI, read/write site memory, edit adapter code) are proportionate to the stated goal.
Instruction Scope
SKILL.md explicitly directs the agent to read and write files under ~/.opencli and the repo (clis/<site>...), to use opencli browser commands, to obtain cookies via page.getCookies(), and to install an interceptor as a last-resort. These are within scope for adapter authoring, but they do give the agent broad filesystem and browser-context access (including access to HttpOnly cookies via the browser tooling). The document also warns not to persist auth tokens, but that is an honor-based safeguard.
Install Mechanism
No install spec and no downloaded code — instruction-only. Lowest-risk install posture: nothing written to disk by the skill itself beyond what the agent/user does when following the runbook.
Credentials
The skill does not request environment variables, credentials, or config paths in metadata. It uses browser cookie access and local site-memory files (explained in the docs) which are necessary for adapter development; no unrelated secrets or external credentials are requested.
Persistence & Privilege
always:false and autonomous invocation is standard. The runbook expects the agent to create/modify files in ~/.opencli/sites and in the repository (clis/...). That file-system and repo write access is expected for this skill but is a sensitive capability — users should review commits and ensure no credentials are stored.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install opencli-adapter-author
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /opencli-adapter-author 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
opencli-adapter-author 1.0.0 - New skill guides the complete process of authoring OpenCLI adapters, from recon to verification, in one workflow. - Consolidates and replaces opencli-oneshot and opencli-explorer. - Includes decision trees, step-by-step runbook, downgrade paths, file references, and key conventions for adapter writing. - Clarifies tool choices and recommended debugging procedures. - Suitable for users creating or updating adapters, aiming for rapid end-to-end execution.
元数据
Slug opencli-adapter-author
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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, ad... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 105 次。

如何安装 opencli-adapter-author?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install opencli-adapter-author」即可一键安装,无需额外配置。

opencli-adapter-author 是免费的吗?

是的,opencli-adapter-author 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

opencli-adapter-author 支持哪些平台?

opencli-adapter-author 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 opencli-adapter-author?

由 chang(@liberalchang)开发并维护,当前版本 v1.0.0。

💬 留言讨论