Skip to content

    KILO CODE MASTERY

    KILO Code Expert Guide

    Modes, custom configurations, provider-agnostic AI coding, and multi-model strategies — your complete KILO Code reference.

    KILO CODE SETUP

    Get KILO Code running in VS Code with your preferred AI provider in under 5 minutes.

    1

    Install KILO Code

    # Install from VS Code Marketplace
    # Search: "KILO Code" in Extensions
    # Or via CLI:
    code --install-extension kilo-code.kilo-code

    KILO Code is a VS Code extension — no separate app needed. Works alongside your existing setup.

    2

    Configure AI Provider

    // Open KILO Code settings (gear icon in sidebar)
    // Choose your provider:
    // - Anthropic (Claude) — recommended
    // - OpenAI (GPT-4)
    // - Local models via Ollama
    // - Any OpenAI-compatible API
    
    // Set your API key in the KILO Code settings panel

    KILO Code is provider-agnostic — bring your own API key. Switch providers anytime without losing context.

    3

    Create Custom Instructions

    // Open KILO Code → Settings → Custom Instructions
    // Or create .kilo/instructions.md:
    
    # Project Rules
    - Stack: React + TypeScript + Tailwind CSS
    - Always use semantic design tokens
    - Follow existing component patterns
    - Run tests before considering a task done

    Custom instructions persist across sessions and shape every AI response for your project.

    4

    Configure Auto-Approve Rules

    // KILO Code Settings → Auto-Approve
    // Enable auto-approve for safe operations:
    // ✅ Read files
    // ✅ List directory contents
    // ✅ Search files
    // ⚠️ Write files (optional, with review)
    // ❌ Execute commands (manual approve)

    Auto-approve speeds up workflows by skipping confirmation for low-risk operations.

    5

    Start Your First Task

    // Click the KILO Code icon in the sidebar
    // Or use the keyboard shortcut:
    // Cmd+Shift+K (Mac) / Ctrl+Shift+K (Win)
    
    // Type your task:
    // "Refactor the auth hook to handle token refresh"

    KILO Code reads your codebase context automatically. Reference files with @file for precision.