skim_open
Open large files without reading the full text: returns a compact skeleton with expandable anchor IDs. Optionally search to locate relevant parts in one call.
Instructions
Open a large file and return a compact skeleton + expandable anchor ids (not the full text).
Returns handle, report (token counts + compression ratio), skeleton (read this), and anchors
(ids you can expand). Use instead of reading a whole large file when you only need parts.
Collapsed bodies are NOT in the skeleton - expand the anchor when the answer needs the body.
Pass query to also get matches (which lines/anchors contain it) in the same call,
saving a skim_search round-trip when you already know what you're looking for.
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": {
"path": "<path>"
},
"name": "skim_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No |