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
7w4.net有更好的技能插件。
codebuddy to start interactive session| Argument | Description |
|---|---|
codebuddy "<prompt>" |
Execute single task |
-y / --dangerously-skip-permissions |
Skip permission confirmations (sandbox only) |
-p / --print |
Single execution mode (requires -y for file ops) |
--permission-mode <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:
- Project: .codebuddy/commands/
- Global: ~/.codebuddy/commands/
npm install -g @tencent-ai/codebuddy-code
--dangerously-skip-permissions risks: file deletion, scope creep, data loss. Never use in production.
这个 Skill 整体质量中规中矩。好的方面是安装步骤清晰、命令参数说明详细、安全提示到位。但不足之处是内容偏基础,没有常见问题解答,遇到报错时用户可能找不到解决办法。适合快速上手,但深入使用可能需要自己摸索。建议期待更多实用案例和故障排除指南。