CodeBuddy Code for OpenClaw

👤 pmwalkercao 📦 v1.0.1 ⭐ 4.3 ⬇️ 5.1K 下載
💻 開發程式設計 免費

📖 技能介紹


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:
  4. Google/GitHub: International version (Gemini, GPT models)
  5. WeChat (微信): China version (DeepSeek models)

CLI Arguments

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

Examples

# Interactive mode
codebuddy

# Single task
codebuddy "幫我最佳化這個函式的效能"
codebuddy "生成這個 API 的單元測試"
codebuddy "檢查這次提交的程式碼質量"

# Skip permissions (sandbox only)
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

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

本技能來自小蔥技能站7w4.net。

Security Notes

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

🤖 AI 評測

這個 Skill 整體質量中規中矩。好的方面是安裝步驟清晰、命令引數說明詳細、安全提示到位。但不足之處是內容偏基礎,沒有常見問題解答,遇到報錯時使用者可能找不到解決辦法。適合快速上手,但深入使用可能需要自己摸索。建議期待更多實用案例和故障排除指南。

📊 多維度評分

適應性4.3
規範性4.3
有效性4.4
可靠性3.9
可信度4.8

📁 包含檔案 (2 個)

📄 SKILL.md 2.5 KB
📄 _meta.json 133 B