codebuddy-cliCodeBuddy 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
Install via ClawdBot CLI:
clawdbot install pmwalkercao/codebuddy-cliAI-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| 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.
Generated Mar 1, 2026
New developers can use CodeBuddy CLI to quickly understand codebases and generate boilerplate code. It helps them learn project structures by answering natural language queries about existing code, reducing ramp-up time and improving productivity from day one.
Teams integrate CodeBuddy CLI into their development workflow to automatically review code for quality issues, such as performance bottlenecks or security vulnerabilities. It provides instant feedback during pull requests, ensuring consistent coding standards and reducing manual review effort.
Developers leverage the CLI to generate unit tests and API documentation based on natural language prompts. This accelerates prototyping phases by automating repetitive coding tasks, allowing teams to focus on core logic and iterate faster on new features.
Instructors and students use CodeBuddy CLI in programming courses to get real-time help with debugging and code optimization. It serves as an AI tutor, explaining concepts and suggesting improvements, enhancing learning outcomes in computer science education.
DevOps engineers employ the CLI to automate infrastructure-as-code tasks and generate scripts for deployment pipelines. It interprets natural language requests to create configuration files or troubleshoot system issues, streamlining operations in cloud environments.
Offer a free tier with basic features like limited queries and community support, while charging for premium plans that include advanced models, higher usage limits, and enterprise-grade security. This model attracts individual developers and scales up to teams.
Sell customized licenses to large organizations with needs for on-premise deployment, dedicated support, and integration with existing tools like IDEs and CI/CD systems. This ensures compliance and high performance in regulated industries.
Monetize by providing API access to CodeBuddy's AI capabilities, allowing third-party developers to build plugins or integrate it into other applications. Charge based on API call volume and offer tiered pricing for different usage levels.
💬 Integration Tip
Integrate CodeBuddy CLI into existing development workflows by setting up custom commands in project directories and using it during code reviews to automate quality checks.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Provides a 7-step debugging protocol plus language-specific commands to systematically identify, verify, and fix software bugs across multiple environments.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.