# Kilo Code × Tokenade

> Tokenade hooks into Kilo Code; a few layers stay partial, detailed below.

## What `tokenade install` does

- Plugin: `~/.config/kilo/plugins/tokenade.ts`. It folds every tool result, MCP included.
- Rules: `~/.kilo/rules/tokenade.md`.

## Coverage

- ✓ Command compaction — Supported
- ✓ Web search — Supported
- ✓ MCP optimization — Supported
- ✓ Code search — Supported
- ✓ Lean output — Supported
- ◐ Context optimization — Partial
- ✓ Re-read dedup — Supported
- ✓ Documents & media — Supported
- ✓ Privacy — Supported
- ✓ Secret redaction — Supported

## What isn't compressed

- Context is partial: the plugin sees each tool result but not the outgoing request, so history isn't trimmed when the prompt cache expires.

## Install

    npm install -g @tokenade/cli
    tokenade install
    tokenade login

`tokenade uninstall` restores every file it touched.

## Read next

- https://tokenade.net/tokenade.md
- https://tokenade.net/install.md
- https://tokenade.net/en/docs/compatibility
