/install kilocode
Kilocode
Kilocode is an AI coding agent CLI tool that generates code from natural language, automates tasks, and runs terminal commands.
Basic Usage
Run in any project directory:
kilo
Non-interactive mode
Execute a single prompt without entering interactive REPL:
kilo run '\x3Cprompt>'
Continue previous conversation:
kilo run --continue '\x3Cprompt>'
Fully autonomous mode (CI/CD, no prompts):
kilo run --auto '\x3Cprompt>'
Common Commands
| Command | Description |
|---|---|
kilo |
Start interactive REPL |
kilo run "prompt" |
Execute single prompt |
kilo run --continue "prompt" |
Continue with previous context |
kilo run --auto "prompt" |
Autonomous mode (no permission prompts) |
kilo --help |
Show help |
Examples
Generate code
kilo run "Create a Python function to calculate fibonacci sequence with memoization"
Debug
kilo run "Fix the bug in index.js where the async function returns undefined"
Refactor
kilo run "Refactor the React component to use hooks instead of class"
Run terminal commands
kilo run "Run npm test and fix any failing tests"
CI/CD automation
kilo run --auto "Run linting, tests, and build the project"
Models
Kilocode supports 500+ AI models via the Kilo provider (configured in auth-profiles). Popular models:
- Gemini 3.1 Pro (default, fast)
- Claude 4.6 Sonnet & Opus (high quality)
- GPT-5.2 (OpenAI)
Model selection is handled automatically based on provider configuration. No need to specify model unless required.
Tips
- Use
--autoflag only in trusted environments (CI/CD) - Provide clear, specific prompts for better results
- Kilo can read and write files, run commands, and interact with browser
- Check kilo.ai for documentation and updates
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kilocode - 安装完成后,直接呼叫该 Skill 的名称或使用
/kilocode触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
KiloCode 是什么?
AI coding agent CLI tool for generating code from natural language, automating tasks, and running terminal commands. Use when user wants to perform coding ta... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。
如何安装 KiloCode?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kilocode」即可一键安装,无需额外配置。
KiloCode 是免费的吗?
是的,KiloCode 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
KiloCode 支持哪些平台?
KiloCode 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 KiloCode?
由 weinguyen(@weinguyen1224-glitch)开发并维护,当前版本 v1.0.0。