/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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install kilocode - After installation, invoke the skill by name or use
/kilocode - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 142 downloads so far.
How do I install KiloCode?
Run "/install kilocode" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is KiloCode free?
Yes, KiloCode is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does KiloCode support?
KiloCode is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created KiloCode?
It is built and maintained by weinguyen (@weinguyen1224-glitch); the current version is v1.0.0.