返回顶部
k

kilocodekilocode

AI coding agent CLI tool for generating code from natural language, automating tasks, and running terminal commands. Use when user wants to perform coding tasks, generate code, refactor, debug, or automate development workflows via CLI. Supports 500+ AI models via Kilo provider.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
109
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

kilocode

Kilocode

Kilocode 是一款AI编程代理CLI工具,能够根据自然语言生成代码、自动执行任务并运行终端命令。

基本用法

在任何项目目录中运行:

bash
kilo

非交互模式

无需进入交互式REPL即可执行单条指令:

bash
kilo run <提示语>

继续之前的对话:

bash
kilo run --continue <提示语>

完全自主模式(CI/CD,无需提示):

bash
kilo run --auto <提示语>

常用命令

命令描述
kilo启动交互式REPL
kilo run 提示语
执行单条指令 | | kilo run --continue 提示语 | 基于先前上下文继续执行 | | kilo run --auto 提示语 | 自主模式(无需权限确认) | | kilo --help | 显示帮助信息 |

示例

生成代码

bash
kilo run 创建一个使用记忆化技术计算斐波那契数列的Python函数

调试

bash
kilo run 修复index.js中异步函数返回undefined的bug

重构

bash
kilo run 将React组件重构为使用hooks替代class

运行终端命令

bash
kilo run 运行npm test并修复所有失败的测试

CI/CD自动化

bash
kilo run --auto 运行代码检查、测试并构建项目

模型

Kilocode通过Kilo提供商(在auth-profiles中配置)支持500多种AI模型。热门模型包括:

  • - Gemini 3.1 Pro(默认,速度快)
  • Claude 4.6 Sonnet & Opus(高质量)
  • GPT-5.2(OpenAI)

模型选择会根据提供商配置自动处理。除非必要,无需指定模型。

提示

  • - 仅在可信环境(CI/CD)中使用--auto标志
  • 提供清晰、具体的提示语以获得更好效果
  • Kilo可以读写文件、运行命令以及与浏览器交互
  • 查看kilo.ai获取文档和更新

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 kilocode-1775969222 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 kilocode-1775969222 技能

通过命令行安装

skillhub install kilocode-1775969222

下载

⬇ 下载 kilocode v1.0.0(免费)

文件大小: 1.62 KB | 发布时间: 2026-4-13 10:45

v1.0.0 最新 2026-4-13 10:45
Initial release of the kilocode skill.

- Introduces an AI coding agent CLI tool for code generation, automation, and terminal commands using natural language prompts.
- Supports over 500 AI models via the Kilo provider, including Gemini, Claude, and GPT models.
- Offers interactive, non-interactive, and fully autonomous (CI/CD) execution modes.
- Enables code generation, refactoring, debugging, and task automation from the command line.
- Includes clear usage instructions, command references, and examples for common workflows.
- Secure and flexible: supports file operations and terminal automation with user guidance for safe use.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部