skimread

v0.1.1
io.github.avikchakraborty060-create/skimread Checked 9 hours ago Published 1 month ago

Lossless 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.

ParameterTypeDescription
command *stringShell command line
budgetintegerDigest size in characters (default from config, 6000)
cwdstringWorking directory (optional)
timeoutnumberSeconds 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.

ParameterTypeDescription
id *integer
contextintegerContext lines around grep matches (default 2)
grepstringRegex to search for
rangestring'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.

ParameterTypeDescription
path *string

read

Read a line range of a file with line numbers ('start' and 'end' are 1-based, inclusive).

ParameterTypeDescription
path *string
endinteger
startinteger

list

List recent runs stored by skimread (id, command, exit code, size).

ParameterTypeDescription
limitinteger