skimread
v0.1.1Lossless context guard for coding agents: command digests, file outlines, line-range reads.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run
Run a shell command and return a short, lossless digest of its output (errors, failures and summaries kept; noise folded). The digest ends with an id; use `show` to fetch any part of the full output without re-running the command.
| Parameter | Type | Description |
|---|---|---|
command * | string | Shell command line |
budget | integer | Digest size in characters (default from config, 6000) |
cwd | string | Working directory (optional) |
timeout | number | Seconds before the command is killed (optional) |
show
Show the full output of a previous `run` by id, a line range (e.g. '120-180'), or lines matching a regex with context.
| Parameter | Type | Description |
|---|---|---|
id * | integer | |
context | integer | Context lines around grep matches (default 2) |
grep | string | Regex to search for |
range | string | 'A-B', 'A:', ':B' or 'A' |
outline
Structural outline of a file: symbols/headings/keys with line ranges, so you can read only the slice you need. Use before reading any file longer than ~300 lines.
| Parameter | Type | Description |
|---|---|---|
path * | string |
read
Read a line range of a file with line numbers ('start' and 'end' are 1-based, inclusive).
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | integer | |
start | integer |
list
List recent runs stored by skimread (id, command, exit code, size).
| Parameter | Type | Description |
|---|---|---|
limit | integer |