Code Generator OpenClaw Skill
Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides.
Installation
clawhub install code-generator
Requires npm i -g clawhub
2.2k
Downloads
2
Stars
23
current installs
24 all-time
11
Versions
Power your OpenClaw skills with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
⚡ Code Generator — Multi-Language Code Scaffolding
Describe what you need, get working code. Multiple languages, ready to run.
✨ Key Features
- 🔧 Function Generation (
function) — Describe it, get a complete annotated function - 🏗️ Class Generation (
class) — OOP design with constructor and methods - 🌐 API Endpoints (
api) — RESTful routes and handlers - 📦 CRUD Operations (
crud) — Full Create/Read/Update/Delete code - 🧪 Test Code (
test) — Auto-generate unit tests with assertions - 🔄 Refactoring (
refactor) — Optimization suggestions with examples - 🔀 Language Conversion (
convert) — Conversion guide between Python/JS/Go/Java - 📋 Project Boilerplate (
boilerplate) — Quick-start project skeleton
🌍 Supported Languages
Python · JavaScript · TypeScript · Go · Java · Rust · PHP · Ruby · C# · Shell
🚀 Usage
bash scripts/codegen.sh <command> <description>
Every output includes:
- Language label and suggested filename
- Complete runnable code
- Inline comments
- Usage example
📂 Scripts
scripts/codegen.sh— Main script
💬 Feedback & Feature Requests: https://bytesagain.com/feedback
Powered by BytesAgain | bytesagain.com
Commands
Run code-generator help to see all available commands.
Requirements
- bash 4+
- python3 (standard library only)
Statistics
Author
bytesagain4
@xueyetianya
Latest Changes
v2.3.4 · Mar 17, 2026
v2.5 standard: Use-when desc, homepage, source, security fix
Quick Install
clawhub install code-generator Related Skills
Other popular skills you might find useful.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.