skills$openclaw/codebuddy-cli
pmwalkercao7.8k

by pmwalkercao

codebuddy-cli – OpenClaw Skill

codebuddy-cli is an OpenClaw Skills integration for coding workflows. |

7.8k stars2.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namecodebuddy-cli
description| OpenClaw Skills integration.
ownerpmwalkercao
repositorypmwalkercao/codebuddy-code
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @pmwalkercao/codebuddy-code
last updatedFeb 7, 2026

Maintainer

pmwalkercao

pmwalkercao

Maintains codebuddy-cli in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
298 B
SKILL.md
2.5 KB
SKILL.md

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

CodeBuddy CLI Skill

AI-powered terminal programming assistant from Tencent.

Installation

# Check prerequisites
node -v  # Requires Node.js 18+
npm -v

# Install globally
npm install -g @tencent-ai/codebuddy-code

# Verify
codebuddy --version

Quick Start

  1. Navigate to project directory
  2. Run codebuddy to start interactive session
  3. Choose login method:
    • Google/GitHub: International version (Gemini, GPT models)
    • WeChat (微信): China version (DeepSeek models)

CLI Arguments

ArgumentDescription
codebuddy "<prompt>"Execute single task
-y / --dangerously-skip-permissionsSkip permission confirmations (sandbox only)
-p / --printSingle execution mode (requires -y for file ops)
--permission-mode <mode>acceptEdits, bypassPermissions, default, plan
--versionShow version

Examples

# Interactive mode
codebuddy

# Single task
codebuddy "帮我优化这个函数的性能"
codebuddy "生成这个 API 的单元测试"
codebuddy "检查这次提交的代码质量"

# Skip permissions (sandbox only)
codebuddy -p "Review code quality" -y

Slash Commands

CommandDescription
/helpDisplay available commands
/statusShow account info and current model
/loginSwitch accounts
/logoutSign out
/clearReset conversation history
/exitEnd session
/configOpen configuration
/doctorDiagnose issues
/costToken usage statistics
/initGenerate CODEBUDDY.md project guide
/memoryEdit project memory files

Type ? during session for keyboard shortcuts.

Custom Commands

Create .md files in:

  • Project: .codebuddy/commands/
  • Global: ~/.codebuddy/commands/

Update

npm install -g @tencent-ai/codebuddy-code

Security Notes

--dangerously-skip-permissions risks: file deletion, scope creep, data loss. Never use in production.

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

codebuddy -p "Review code quality" -y ``` ## Slash Commands | 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. ## Custom Commands Create `.md` files in: - **Project**: `.codebuddy/commands/` - **Global**: `~/.codebuddy/commands/` ## Update ```bash npm install -g @tencent-ai/codebuddy-code ``` ## Security Notes `--dangerously-skip-permissions` risks: file deletion, scope creep, data loss. **Never use in production.**

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install codebuddy-cli?

Run openclaw add @pmwalkercao/codebuddy-code in your terminal. This installs codebuddy-cli into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/pmwalkercao/codebuddy-code. Review commits and README documentation before installing.