Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
CodeBuddy CLI is Tencent's terminal-based AI programming assistant. It accepts natural language prompts to perform coding tasks such as refactoring, test generation, and code review. International users authenticate via Google or GitHub and get access to Gemini and GPT models; China users log in with WeChat and use DeepSeek models.
Delivers AI coding assistance directly in the terminal without requiring a browser IDE or editor plugin, and supports both international and Chinese model backends through one CLI.
When to use it
- Generating unit tests for an API endpoint from the terminal
- Reviewing code quality before committing changes
- Optimizing a function's performance using a natural language prompt
- Initializing a project context file with /init for persistent AI memory
- Running automated coding tasks in a sandbox with permission bypass
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: 'Generate unit tests for this API endpoint'
- 1User runs `codebuddy` in the project directory
- 2Logs in with a Google or GitHub account
- 3Types the prompt in the interactive session
- 4CodeBuddy reads relevant source files and generates test code
- 5User reviews and applies the suggested test file
Unit test file generated for the specified API endpoint
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.