brainclaw + Kilo Code

VS Code agent with rules-based instructions and MCP — clean fit for tier-B workflows.

Kilo Code is the VS Code-native autonomous coding agent. brainclaw configures it via the .kilo/rules/ folder for project instructions, an MCP server for context queries, and the shared brainclaw skill so the agent reads the same memory as Claude Code, Codex, or any other supported agent on the same project.

Install via Kilo Code

Paste this prompt directly into Kilo Code and let it handle the setup.

Please install brainclaw and initialize it for this project.

Run: npm install -g brainclaw && brainclaw init

brainclaw will detect Kilo Code, write .kilo/rules/brainclaw.md with the project's plans, decisions, and traps, install the brainclaw skill at .agents/skills/brainclaw/SKILL.md, and configure the project-scoped MCP server in .kilo/mcp.json. Commit the .kilo/ folder and the skill file to Git.

Auto-setup

Run one command. brainclaw detects Kilo Code and writes its native files automatically, including .kilo/rules/brainclaw.md.

npm install -g brainclaw && brainclaw init

Detection: kilo binary on PATH.

What gets generated

After running brainclaw init, these files are created or updated:

  • .kilo/rules/brainclaw.md
  • .kilo/mcp.json
  • .agents/skills/brainclaw/SKILL.md
  • .brainclaw/

MCP integration

brainclaw configures MCP in .kilo/mcp.json, giving Kilo Code dynamic access to workspace context via MCP tools.

bclaw_work - open a session and claim scope in one call
bclaw_context - ranked prompt-ready context
bclaw_create / bclaw_update - capture decisions and traps, evolve plans
bclaw_release_claim - close the claim and write a handoff

Ready to install?

npm install -g brainclaw && brainclaw init