← 返回 Skills 市场
pmwalkercao

CodeBuddy CLI for OpenClaw

作者 Jiayu · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2808
总下载
0
收藏
7
当前安装
1
版本数
在 OpenClaw 中安装
/install 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
使用说明 (SKILL.md)

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

Argument Description
codebuddy "\x3Cprompt>" Execute single task
-y / --dangerously-skip-permissions Skip permission confirmations (sandbox only)
-p / --print Single execution mode (requires -y for file ops)
--permission-mode \x3Cmode> 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

Security Notes

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

安全使用建议
This skill is a documentation-only guide, not an installer. Before following the npm install steps: 1) verify the package name and publisher on the npm registry (npm view @tencent-ai/codebuddy-code) and confirm it is an official Tencent/expected maintainer; 2) prefer inspecting the package (and its postinstall scripts) or doing a local install in a sandbox before installing globally; 3) never use the --dangerously-skip-permissions flag in production or on sensitive repositories; 4) review any custom commands placed in ~/.codebuddy or project .codebuddy for secrets or unsafe scripts; and 5) avoid running installs as root and use npm audit / inspect the package source (GitHub) when source/homepage is unknown.
功能分析
Type: OpenClaw Skill Name: codebuddy-cli Version: 1.0.0 The skill instructs the AI agent to install a global npm package (`@tencent-ai/codebuddy-code`) which grants broad system access. It documents and provides examples for using risky CLI arguments such as `--dangerously-skip-permissions` and `--permission-mode bypassPermissions`, which are explicitly stated to enable 'file deletion, scope creep, data loss'. Although a 'Security Notes' section warns against using these in production, the inclusion of an example (`codebuddy -p "Review code quality" -y`) that uses the dangerous flag makes the skill suspicious due to the potential for an AI agent to execute commands with high-risk permissions, even if the skill's intent is documentation rather than direct malicious action.
能力评估
Purpose & Capability
The name/description match the SKILL.md content: it documents installing and using an npm package (@tencent-ai/codebuddy-code). There are no unrelated requirements (no unexpected env vars or binaries).
Instruction Scope
Instructions stay within expected bounds (installation, CLI usage, config paths like ~/.codebuddy and project .codebuddy). The doc documents a dangerous CLI flag (--dangerously-skip-permissions) that can allow file operations when used; the skill itself warns against its use. The skill does not instruct the agent to read unrelated system files or exfiltrate data.
Install Mechanism
This is instruction-only (no install spec embedded). It recommends installing from npm (npm install -g @tencent-ai/codebuddy-code), which is an expected and commonly used distribution channel; that is moderate-risk in general but appropriate for a CLI guide. No arbitrary download URLs or archive extraction are present in the skill contents.
Credentials
The skill declares no required environment variables and doesn't request credentials. It mentions interactive login methods (Google/GitHub/WeChat) which is expected for a CLI that uses online AI services; those credentials are not requested by the skill package itself. This is proportionate to the documented purpose.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and has no install-time persistence. It documents creating user-level config and custom command files (~/.codebuddy and project .codebuddy), which is normal for a CLI.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install codebuddy-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /codebuddy-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of CodeBuddy CLI skill. - Provides installation, configuration, and usage guide for Tencent’s AI-powered CodeBuddy CLI. - Details CLI arguments, slash commands, single-task mode, and permission flags. - Explains login methods for international and China versions. - Lists example commands and update instructions. - Includes security warnings regarding permission-skipping flags.
元数据
Slug codebuddy-cli
版本 1.0.0
许可证
累计安装 8
当前安装数 7
历史版本数 1
常见问题

CodeBuddy CLI for OpenClaw 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2808 次。

如何安装 CodeBuddy CLI for OpenClaw?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install codebuddy-cli」即可一键安装,无需额外配置。

CodeBuddy CLI for OpenClaw 是免费的吗?

是的,CodeBuddy CLI for OpenClaw 完全免费(开源免费),可自由下载、安装和使用。

CodeBuddy CLI for OpenClaw 支持哪些平台?

CodeBuddy CLI for OpenClaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 CodeBuddy CLI for OpenClaw?

由 Jiayu(@pmwalkercao)开发并维护,当前版本 v1.0.0。

💬 留言讨论