ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 2/5

codebuddy-cli

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

Why use this skill?

Integrate Tencent's CodeBuddy AI CLI to automate coding, refactor logic, and manage terminal workflows with natural language. Streamline your development today.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/pmwalkercao/codebuddy-cli
Or

What This Skill Does

The CodeBuddy CLI skill integrates Tencent's powerful AI-driven programming assistant directly into your terminal workflow. Designed to accelerate development, CodeBuddy acts as a bridge between natural language prompts and technical terminal actions. It interprets user intent to generate code, troubleshoot errors, and perform file-system operations. By leveraging advanced language models like Gemini, GPT, and DeepSeek, it enables developers to automate mundane coding tasks, refactor functions, or generate boilerplate code without leaving their terminal environment.

Installation

To begin using CodeBuddy, ensure your system has Node.js 18 or higher installed. Install the package globally via npm by running: npm install -g @tencent-ai/codebuddy-code. Once installed, verify the installation by executing codebuddy --version. For authentication, simply run codebuddy in your terminal and select your preferred provider (Google/GitHub for international or WeChat for China-based models).

Use Cases

This skill is perfect for developers needing quick iterative coding support. Use it for generating unit tests for complex API endpoints, debugging stack traces by analyzing logs in real-time, or refactoring existing codebases for performance improvements. It is particularly effective for project initialization, where users can run /init to generate comprehensive documentation via CODEBUDDY.md, or for maintaining consistent coding standards across large teams by using shared custom command files located in global configuration directories.

Example Prompts

  1. "@tencent-ai/codebuddy-code, generate a Python unit test for the authentication service located in src/auth.py."
  2. "CodeBuddy, identify the memory leak in the current directory's Node.js application and suggest a fix."
  3. "AI CLI, help me refactor this function into an asynchronous implementation to improve performance."

Tips & Limitations

To maximize effectiveness, organize custom commands in .codebuddy/commands/ to create reusable AI workflows. Always exercise caution with the -y flag; it bypasses security confirmations which could lead to accidental file deletions or unintended script executions. For security, never execute the dangerously-skip-permissions flag on production machines or sensitive project directories. Regularly run /doctor to diagnose connectivity or configuration issues and use /cost to keep track of your token usage.

Metadata

Stars1217
Views18
Updated2026-02-20
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-pmwalkercao-codebuddy-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#codebuddy#cli#ai-coding#terminal#tencent
Safety Score: 2/5

Flags: file-write, file-read, external-api, code-execution