Cognitive Context Compactor
kilo_compact_contextReduce verbose logs, test dumps, and noisy output by 40-70% while preserving architectural invariants for AI coding agents.
Instructions
Compacts verbose logs, test dumps, and noisy output by 40-70% while preserving architectural invariants.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "kilo_compact_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown | |
| content | Yes | Verbose content to compact | |
| sessionId | No | Active session ID to register context compaction | |
| targetReduction | No | Compaction aggressiveness | |
| preserveInvariants | No | Key invariant rules or phrases to lock |