redcon_compress
Get a task-scoped compressed view of a file (signatures, imports, relevant sections) to save tokens when reading code.
Instructions
Task-scoped compressed view of one file (signatures, imports and the relevant sections), typically 3-10x fewer tokens. Prefer this over reading a whole file; fetch the full file only if it is insufficient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the file | |
| repo | No | . | |
| task | Yes | Task description | |
| max_tokens | No | Max tokens for compressed output |