kilo-code
БесплатноБез исполняемых скриптовНе проверенKilo Code is an open-source AI coding agent that runs in the terminal, VS Code and JetBrains, reads and edits a codebase, runs commands, and works with 500+…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Kilo Code — open-source coding agent for the terminal and the IDE
Overview
Kilo Code is an MIT-licensed coding agent. The same engine runs as a terminal UI (kilo), a VS Code extension, a JetBrains plugin and a hosted Cloud Agent. The CLI is a fork of OpenCode, so it reads OpenCode-style config and adds Kilo's own agents, the Kilo Gateway (one account for many models, billed at provider price) and commands such as kilo cloud.
What an agent or a script usually needs from it:
kilo run "..."for one-shot, non-interactive tasks, with--autofor CI.kilo.jsoncfor the default model, provider credentials, permission rules and MCP servers.- Built-in agents:
code(default, full tools),plan(writes plans to.kilo/plans/only),ask(read-only),debug; plus custom agents as Markdown files. AGENTS.mdat the repo root for project instructions.
Choose Kilo when you want one agent across terminal, VS Code and JetBrains with a free choice of model, including local ones. Choose aider for git-first pair programming with automatic commits, cline for a VS Code-only plan/act loop, continue-dev for IDE autocomplete and chat, claude-code when the team is standardised on Anthropic models, and upstream opencode if you want the terminal agent without Kilo's IDE plugins, gateway and cloud features.
Instructions
Installation
# npm (installs the `kilo` and `kilocode` commands)
npm install -g @kilocode/cli
# Homebrew (macOS / Linux)
brew install Kilo-Org/tap/kilo
# Arch Linux (AUR)
paru -S kilo-bin
kilo --version
pnpm (pnpm add -g @kilocode/cli) and bun (bun add -g @kilocode/cli) work too. Release binaries (kilo-linux-x64.tar.gz, kilo-darwin-arm64.zip, a musl build for Alpine) are on the GitHub Releases page; tags for the CLI look like v7.8.1, while jetbrains/v... tags are the IDE plugin. Update with kilo upgrade or npm update -g @kilocode/cli.
Connect a model provider
Interactive: start kilo in a project and run /connect, or run kilo auth login and pick a provider. kilo auth list shows stored credentials and the provider keys it found in the environment.
Non-interactive (CI, containers): set the provider's standard variable, such as ANTHROPIC_API_KEY (created under API keys in console.anthropic.com) or OPENROUTER_API_KEY (openrouter.ai → Keys), from your secret store. Kilo detects it without any config.
kilo auth list # "Environment" section lists the detected ANTHROPIC_API_KEY / OPENROUTER_API_KEY
kilo models anthropic # model IDs to use with --model, e.g. anthropic/claude-sonnet-5-5
Models are always written provider/model.
Configure with kilo.jsonc
Global config lives in ~/.config/kilo/kilo.jsonc; project config in ./kilo.jsonc or ./.kilo/. Project settings win. kilo debug config prints the merged result.
{
"$schema": "https://app.kilo.ai/config.json",
"model": "anthropic/claude-sonnet-5-5",
"default_agent": "code",
"instructions": ["CONTRIBUTING.md"],
"permission": {
"bash": {
"*": "ask",
"npm test*": "allow",
"npm run lint*": "allow",
"git diff*": "allow",
"rm *": "deny",
"git push*": "deny"
},
"edit": "allow"
}
}
Permission values are allow, ask and deny; within a tool, the last matching pattern wins, so put "*" first. external_directory rules control access outside the start directory.
{env:VAR} references only resolve in trusted config: the global file or KILO_CONFIG_CONTENT. This stops a cloned repo from sending your keys to its own baseURL. A project kilo.jsonc that contains any {env:...} reference is rejected as a whole (in 7.8.1 only a ConfigInvalidError ... skipped config warning in --print-logs), so its model and deny rules silently stop applying. Check with kilo debug config that your rules are in the merged output.
Run one-shot tasks
kilo run "add input validation to src/routes/signup.ts and update its tests"
kilo run --agent ask "where is the retry logic for webhook delivery?"
kilo run --model anthropic/claude-sonnet-5-5 -f docs/rfc-042.md "implement the RFC"
kilo run --format json --agent ask "list every TODO in src/" > run.jsonl
kilo run --continue "now add a changelog entry" # continue the last session
Without --auto, a non-interactive run auto-rejects any action whose rule is ask and exits 1 with "run ended with an auto-rejected permission". With --auto, everything not explicitly deny is approved. Exit codes: 0 the run finished, 1 error or rejection, 124 timeout. 0 does not mean the task was done: a model that lost the prompt and edited nothing also exits 0, so verify the result (run the tests, check git diff) before acting on it.
--format json prints one JSON event per line (step_start, tool_use, text, step_finish); the answer is in .part.text:
jq -r 'select(.type=="text") | .part.text' run.json
Установить kilo-code в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл kilo-code?
Kilo Code is an open-source AI coding agent that runs in the terminal, VS Code and JetBrains, reads and edits a codebase, runs commands, and works with 500+ models from any provider, including local Ollama. Use it to script the `kilo` CLI: one-shot `kilo run` tasks, CI jobs with `--auto`, provider and model setup in `kilo.jsonc`, permission rules, and custom agents in `.kilo/agents/`. Triggers: "set up Kilo Code", "kilo run in CI", "use Kilo with Ollama", "Kilo custom agent", "open-source coding agent that works with any model".
Как установить скилл kilo-code?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kilo-code запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic