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

57من ١٠٠
١.٠k
نجوم
٤٤
تنزيلات
١١٦
مشاهدات

// تثبيت المهارة

تثبيت المهارة

المهارات هي كود تابع لأطراف ثالثة من مستودعات GitHub العامة. يفحص SkillHub الأنماط الخبيثة المعروفة، لكنه لا يستطيع ضمان السلامة. راجع الكود المصدري قبل التثبيت.

تثبيت عام (على مستوى المستخدم):

npx skillhub install openclaw/skills/codebuddy-cli

تثبيت في المشروع الحالي:

npx skillhub install openclaw/skills/codebuddy-cli --project

skill.install.customTargetHelp

npx skillhub install openclaw/skills/codebuddy-cli --target-dir /path/to/skills

المسار المقترح: ~/.claude/skills/codebuddy-cli/

مراجعة الذكاء الاصطناعي

57
من ١٠٠
جودة التعليمات55
دقة الوصف72
الفائدة39
السلامة التقنية72

Scored 57 — passable CLI reference with good trigger phrases but thin content (2.5KB). No troubleshooting, no login flow detail, no error handling. Strong DP saves it from lower range. Comparable to git-commit-helper calibration example.

betasimpledeveloperstencent-ai-userscli-installationcodebuddy-setupai-coding-assistant
تمت المراجعة بواسطة claude-code في 15‏/4‏/2026

محتوى 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

```bash
# 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

| 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

```bash
# 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

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

## Security Notes

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

الترخيص

الترخيص المُعلن: MIT

MIT License

Copyright (c) 2026 openclaw

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

عرض الترخيص في المستودع المصدريالنسخة المنشورة هناك هي المرجع.