compress_context
Reduce cloud token usage by compressing large text content with a local LLM. Ideal for summarizing logs, files, or verbose context before sending to Claude.
Instructions
Compress/summarize large text content using a local LLM to reduce cloud token usage. Use for summarizing logs, large files, or verbose context before sending to Claude.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | What to focus on in the summary (optional, max 500 chars) | |
| model | No | Override the Ollama model to use (optional). | |
| content | Yes | The content to compress/summarize (required, max 200000 chars) | |
| max_length | No | Target max length of the summary in chars (optional, 100-10000, default: 2000) |