← Back to Skills Marketplace
pmwalkercao

CodeBuddy CLI for OpenClaw

by Jiayu · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2808
Downloads
0
Stars
7
Active Installs
1
Versions
Install in OpenClaw
/install 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
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install codebuddy-cli
  3. After installation, invoke the skill by name or use /codebuddy-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug codebuddy-cli
Version 1.0.0
License
All-time Installs 8
Active Installs 7
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 2808 downloads so far.

How do I install CodeBuddy CLI for OpenClaw?

Run "/install codebuddy-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is CodeBuddy CLI for OpenClaw free?

Yes, CodeBuddy CLI for OpenClaw is completely free (open-source). You can download, install and use it at no cost.

Which platforms does CodeBuddy CLI for OpenClaw support?

CodeBuddy CLI for OpenClaw is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created CodeBuddy CLI for OpenClaw?

It is built and maintained by Jiayu (@pmwalkercao); the current version is v1.0.0.

💬 Comments