CodeBuddy Code CLI installation, configuration and usage guide. CodeBuddy Code is Tencent's AI-powered CLI programming assistant supporting natural language driven development. - MANDATORY TRIGGERS: CodeBuddy, codebuddy, AI CLI, Tencent AI coding, @tencent-ai/codebuddy-code, terminal AI assistant - Use when: installing CodeBuddy CLI, configuring CodeBuddy, using CodeBuddy commands, troubleshooting CodeBuddy issues
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install codebuddy-code或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install codebuddy-code⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/codebuddy-code/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: codebuddy-cli description: | CodeBuddy Code CLI installation, configuration and usage guide. CodeBuddy Code is Tencent's AI-powered CLI programming assistant supporting natural language driven development. - MANDATORY TRIGGERS: CodeBuddy, codebuddy, AI CLI, Tencent AI coding, @tencent-ai/codebuddy-code, terminal AI assistant - Use when: installing CodeBuddy CLI, configuring CodeBuddy, using CodeBuddy commands, troubleshooting CodeBuddy issues ---
AI-powered terminal programming assistant from Tencent.
# Check prerequisites
node -v # Requires Node.js 18+
npm -v
# Install globally
npm install -g @tencent-ai/codebuddy-code
# Verify
codebuddy --version
codebuddy to start interactive session- Google/GitHub: International version (Gemini, GPT models) - WeChat (微信): China version (DeepSeek models)
| Argument | Description | |----------|-------------| | codebuddy " | Execute single task | | -y / --dangerously-skip-permissions | Skip permission confirmations (sandbox only) | | -p / --print | Single execution mode (requires -y for file ops) | | --permission-mode | acceptEdits, bypassPermissions, default, plan | | --version | Show version |
# Interactive mode
codebuddy
# Single task
codebuddy "帮我优化这个函数的性能"
codebuddy "生成这个 API 的单元测试"
codebuddy "检查这次提交的代码质量"
# Skip permissions (sandbox only)
codebuddy -p "Review code quality" -y
| Command | Description | |---------|-------------| | /help | Display available commands | | /status | Show account info and current model | | /login | Switch accounts | | /logout | Sign out | | /clear | Reset conversation history | | /exit | End session | | /config | Open configuration | | /doctor | Diagnose issues | | /cost | Token usage statistics | | /init | Generate CODEBUDDY.md project guide | | /memory | Edit project memory files |
Type ? during session for keyboard shortcuts.
Create .md files in:
.codebuddy/commands/~/.codebuddy/commands/npm install -g @tencent-ai/codebuddy-code
--dangerously-skip-permissions risks: file deletion, scope creep, data loss. Never use in production.
安装 CodeBuddy Code for OpenClaw 后,可以对 AI 说这些话来触发它
Help me get started with CodeBuddy Code for OpenClaw
Explains what CodeBuddy Code for OpenClaw does, walks through the setup, and runs a quick demo based on your current project
Use CodeBuddy Code for OpenClaw to codeBuddy Code CLI installation, configuration and usage guide
Invokes CodeBuddy Code for OpenClaw with the right parameters and returns the result directly in the conversation
What can I do with CodeBuddy Code for OpenClaw in my developer & devops workflow?
Lists the top use cases for CodeBuddy Code for OpenClaw, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/codebuddy-code/ 目录(个人级,所有项目可用),或 .claude/skills/codebuddy-code/(项目级)。重启 AI 客户端后,用 /codebuddy-code 主动调用,或让 AI 根据上下文自动发现并使用。
CodeBuddy Code for OpenClaw 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
CodeBuddy Code for OpenClaw 可免费安装使用。请查阅仓库了解许可证信息。
CodeBuddy Code CLI installation, configuration and usage guide. CodeBuddy Code is Tencent's AI-powered CLI programming assistant supporting natural language driven development. - MANDATORY TRIGGERS: CodeBuddy, codebuddy, AI CLI, Tencent AI coding, @tencent-ai/codebuddy-code, terminal AI assistant - Use when: installing CodeBuddy CLI, configuring CodeBuddy, using CodeBuddy commands, troubleshooting CodeBuddy issues
Automate my developer & devops tasks using CodeBuddy Code for OpenClaw
Identifies repetitive steps in your workflow and sets up CodeBuddy Code for OpenClaw to handle them automatically
CodeBuddy Code for OpenClaw 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。