kilocli-coding-agent
Run Kilo CLI via background process for programmatic control.
Why use this skill?
Automate your coding workflow with the Kilo CLI integration for OpenClaw. Run autonomous builds, code reviews, and refactoring in the background.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/codewithnathan97/kilocli-coding-agentWhat This Skill Does
The kilocli-coding-agent skill integrates the powerful Kilo CLI directly into your OpenClaw workflow. It enables autonomous, background-process execution of complex coding tasks, allowing the agent to handle tasks ranging from project scaffolding to intelligent code review without requiring constant user intervention. By leveraging background execution, you can maintain your current workflow while the agent works asynchronously on build or refactoring tasks.
Installation
To enable this skill, first ensure you have the Kilo CLI installed globally on your system. Run the following command in your terminal:
npm install -g @kilocode/cli
After verification, install the skill via the OpenClaw management interface:
clawhub install openclaw/skills/skills/codewithnathan97/kilocli-coding-agent
Ensure that you have Git and the GitHub CLI (gh) authenticated if you intend to use the skill for automated pull request reviews.
Use Cases
- Autonomous Building: Quickly generate boilerplate code, entire game loops, or feature modules using Kilo's autonomous mode.
- PR Auditing: Efficiently review pull requests by checking out branches into temporary worktrees or specific directories to avoid polluting your main repository environment.
- Background Refactoring: Trigger large-scale code improvements while you remain focused on other OpenClaw interactive tasks.
- System Automation: Batch process multiple PRs or feature updates across several repositories simultaneously using parallel background jobs.
Example Prompts
- "Use the kilocli-coding-agent to build a snake game with a dark theme in the ~/projects/games folder."
- "Review the current pull request in my repo by checking it out to a temporary directory and running Kilo CLI."
- "Launch a background process to refactor the authentication module using the latest project standards."
Tips & Limitations
- Safety First: Never run PR reviews directly within the OpenClaw project folder. Always use a temporary directory or a git worktree to prevent accidental modification of your running environment.
- Context is Key: Always specify a
workdirwhen starting your agent to prevent it from wandering into unrelated directories. - Process Management: Use
process action:logandprocess action:pollfrequently to monitor progress for long-running autonomous tasks. - Interaction: If a Kilo task prompts for confirmation, use
process action:writeto send input to the session.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-codewithnathan97-kilocli-coding-agent": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution