← 返回 Skills 市场
3465
总下载
4
收藏
32
当前安装
5
版本数
在 OpenClaw 中安装
/install opencode
功能描述
OpenCode AI - AI-driven code editor/IDE (CLI/TUI version of Cursor/Windsurf). Use when: (1) AI-assisted coding tasks, (2) Code refactoring with AI, (3) GitHu...
安全使用建议
Install only if you intend to let OpenCode operate on codebases. Review any sudo, symlink, chmod/chown, or rm commands before running them; avoid --share for private code; authenticate only with trusted providers; and install plugins, MCP servers, or remote attachments only from sources you trust.
功能分析
Type: OpenClaw Skill
Name: opencode
Version: 1.2.2
The skill bundle provides a comprehensive interface for 'OpenCode', an AI-driven CLI code editor. The files consist of documentation (SKILL.md, README.md, CHEATSHEET.md), installation guides (INSTALL.md), and a basic test script (examples.sh) that lists models and checks authentication status. While the installation instructions involve standard administrative actions like modifying the PATH and copying files to system directories, there is no evidence of data exfiltration, malicious execution, or prompt injection designed to subvert the agent's behavior.
能力评估
Purpose & Capability
The stated purpose is to teach OpenClaw how to use the OpenCode CLI for AI-assisted coding, refactoring, PR work, sessions, models, MCP, and server/web modes; the documented commands match that purpose.
Instruction Scope
The skill delegates code-editing work to another AI coding tool and can continue sessions or attach files, but the behavior is explicit and user-directed rather than hidden or automatic.
Install Mechanism
Installation docs include sudo copy, ownership, symlink, update, and uninstall commands for the OpenClaw skills directory. These are manual and purpose-aligned, but they modify system-wide files and should be reviewed carefully.
Credentials
Requiring the opencode binary and describing provider login, GitHub, MCP, plugin, share, and server features is proportionate for this tool, but those features can expose repository context or credentials if used carelessly.
Persistence & Privilege
Persistence is limited to normal skill installation, shell PATH edits, and OpenCode sessions/configuration. I found no artifact-backed evidence of hidden background persistence, exfiltration, or destructive automation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install opencode - 安装完成后,直接呼叫该 Skill 的名称或使用
/opencode触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.2
Added warning: --agent flag in opencode run always falls back; agent switching only in TUI /agents
v1.2.1
Added full agent list (9 agents with types), added --command and --password options, fixed duplicate entries
v1.2.0
Updated for v1.3.9
v1.1.0
v1.1.0 - Add Core Operations (TUI Slash Commands)
New Features:
✓ Core Operations section with TUI slash commands
✓ /sessions - Session management
✓ /agents - Agent control (plan/build/explore/general)
✓ /models - Model selection
✓ Plan → Build workflow guidelines
✓ Agent behavior documentation (Plan vs Build)
✓ Additional commands: /title, /summary, /compaction
Updated Documentation:
✓ SKILL.md: Added 103 lines of slash command documentation
✓ CHEATSHEET.md: Added TUI commands quick reference
v1.0.0
Initial release of OpenCode AI skill for OpenClaw
Features:
- Complete documentation (1200+ lines)
- AI-assisted coding and refactoring
- GitHub PR integration
- Session management
- Multi-model support
- MCP protocol support
- Quick reference cheatsheet
- Installation guide
Tested on macOS with OpenCode 1.2.10
元数据
常见问题
OpenCode AI 是什么?
OpenCode AI - AI-driven code editor/IDE (CLI/TUI version of Cursor/Windsurf). Use when: (1) AI-assisted coding tasks, (2) Code refactoring with AI, (3) GitHu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3465 次。
如何安装 OpenCode AI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install opencode」即可一键安装,无需额外配置。
OpenCode AI 是免费的吗?
是的,OpenCode AI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenCode AI 支持哪些平台?
OpenCode AI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenCode AI?
由 Wang Lei(@csuwl)开发并维护,当前版本 v1.2.2。
推荐 Skills