← 返回 Skills 市场
Opencode Cli
作者
Taoyi CHEN
· GitHub ↗
· v1.1.0
· MIT-0
332
总下载
1
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install opencode-cli
功能描述
OpenCode CLI integration skill. Designed for AI agents like OpenClaw to execute coding tasks via OpenCode CLI. Core features: (1) Plan→Build workflow (2) Ses...
安全使用建议
This is an instruction-only OpenCode CLI integration and appears coherent, but take these precautions before using it: (1) Only run in repositories/environments you trust — the skill may trigger MCP servers that have access to project files and databases. (2) If you follow the MCP guidance, verify any npm packages before installing globally (npm install -g) or prefer vetted/global installs over npx to reduce remote-code risk. (3) Provide SUPABASE/CONTEXT7 credentials only when needed and avoid committing them to version control; the skill marks them optional. (4) Background tasks require active polling/monitoring via the agent’s process tool — expect ongoing process activity and logs. (5) One minor inconsistency to double-check: the Context7 guide points to an Upstash link for obtaining an API key — confirm the correct credential provider for your Context7 setup. If you want extra assurance, ask the author for the canonical MCP package names and their official upstream URLs before installing any MCP servers.
功能分析
Type: OpenClaw Skill
Name: opencode-cli
Version: 1.1.0
The opencode-cli skill is a legitimate integration for the OpenCode CLI coding assistant. It facilitates a structured 'Plan→Build' workflow and provides documentation for integrating Model Context Protocol (MCP) servers like Playwright and Supabase. While the skill requires powerful permissions (bash, file writes) and handles sensitive environment variables (e.g., SUPABASE_ANON_KEY, CONTEXT7_API_KEY), these are strictly aligned with its stated purpose. Notably, the documentation in mcp-config-guide.md includes proactive security warnings regarding Remote Code Execution (RCE) risks and recommends safer installation practices.
能力评估
Purpose & Capability
The name/description (OpenCode CLI integration, Plan→Build, MCP, background monitoring) match the SKILL.md content. Optional env vars (CONTEXT7_API_KEY, SUPABASE_URL, SUPABASE_ANON_KEY) correspond to the documented MCP integrations.
Instruction Scope
Runtime instructions are limited to invoking the opencode CLI, managing sessions, using OpenClaw process actions (poll/log/kill), and configuring MCPs in project/global config files. The skill does not instruct reading unrelated system credentials or exfiltrating data. It does mandate active polling/monitoring for background tasks, which is operationally prescriptive but expected for the described behavior.
Install Mechanism
The skill itself has no install spec or code files (lowest install risk). However the MCP guides recommend global npm installs (npm install -g) or using npx; the guide correctly calls out npx as medium risk. Users should verify any third-party MCP package before global installation.
Credentials
No required environment variables are declared; the optional vars listed are directly tied to supported MCPs (Supabase, Context7). The skill does not request unrelated secrets or broad system credentials.
Persistence & Privilege
always is false and the skill is user-invocable. The SKILL.md states it does not persist beyond user sessions. Nothing in the files requests permanent or cross-skill configuration changes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install opencode-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/opencode-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Major documentation overhaul: SKILL.md now offers clearer usage guidance, practical examples, and detailed integration scenarios.
- Expanded sections on Plan→Build workflow, session management, agent roles, and best practices for maintaining context.
- Added cross-referenced scenario tables and quick guides for built-in tools, MCP integration, skill customization, and troubleshooting.
- Standardized instructions for OpenClaw integration and background task monitoring.
- Updated references in: built-in-tools-guide.md, mcp-config-guide.md, skills-config-guide.md, and tips-guide.md for consistency with new usage patterns.
v1.0.6
opencode-cli v1.0.6
- Updated documentation for improved clarity and conciseness across SKILL.md and reference guides.
- Simplified command examples and workflow steps in SKILL.md.
- Condensed security, workflow, and monitoring sections for easier reading.
- Expanded and clarified MCP integration, tool usage, tips, and troubleshooting guides.
- No code or functionality changes; documentation improvements only.
v1.0.5
**Summary:** v1.0.5 streamlines documentation, clarifies usage, and improves referencing for OpenCode CLI integration.
- Refactored and shortened SKILL.md documentation for clarity and easy navigation.
- Added concise workflow and command tables to improve user onboarding.
- Expanded quick-reference sections with explicit links to troubleshooting and configuration guides.
- Improved guidance on process monitoring, MCP integration, and session handling.
- All referenced guides (built-in tools, MCP setup, skills, and tips) have updated summaries to match new structure.
v1.0.4
opencode-cli 1.0.4
- SKILL.md documentation streamlined: concise examples and sections, removed redundant content.
- Simplified command samples for Plan→Build workflow, background tasks, and MCP integration.
- Improved clarity for troubleshooting steps and quick command reference.
- All scenario guide tables and references remain up-to-date.
v1.0.3
opencode-cli v1.0.3
- Updated SKILL.md to clarify task completion notification is optional and specific to OpenClaw; other environments may omit or replace.
- Added explanatory notes and restructured example sections for better context awareness.
- No functional changes to code or dependencies; documentation only.
v1.0.2
opencode-cli 1.0.2 – Changelog
- Documentation update: Updated references/mcp-config-guide.md to improve or clarify MCP configuration guidance.
- No changes to functionality or interfaces in this release.
v1.0.1
- Added Security Scope section outlining skill capabilities, credential usage, and security guidance.
- Updated description to clarify when to use the skill vs direct tool usage.
- Declared explicit dependencies (skills and tools) and listed relevant environment variables.
- Simplified usage examples and command patterns for clarity.
- Bumped CLI Integration version reference to v2.5.
v1.0.0
opencode-cli v1.0.0
- Initial release of the opencode-cli skill for AI agents.
- Enables Plan→Build workflow with session management and agent switching.
- Supports OpenClaw integration, including background task monitoring.
- Includes detailed quick references, scenario guides, and troubleshooting tips.
- Provides MCP integration for extended functionality (e.g., Playwright, Supabase).
- Not intended for simple one-line edits or file reading—use designated tools for those tasks.
元数据
常见问题
Opencode Cli 是什么?
OpenCode CLI integration skill. Designed for AI agents like OpenClaw to execute coding tasks via OpenCode CLI. Core features: (1) Plan→Build workflow (2) Ses... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 332 次。
如何安装 Opencode Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install opencode-cli」即可一键安装,无需额外配置。
Opencode Cli 是免费的吗?
是的,Opencode Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Opencode Cli 支持哪些平台?
Opencode Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Opencode Cli?
由 Taoyi CHEN(@tchen6500)开发并维护,当前版本 v1.1.0。
推荐 Skills