outline
Symbol map of any file — names, kinds, line ranges, signatures — with token-savings stats.
ctxctl outline src/server.rsA stateless context layer for coding agents: AST symbol slices instead of whole-file dumps,
exec output compression instead of raw log walls — byte-stable output that keeps provider
prompt caches hot. Optional ctxctl mcp adapter.
Scripted-agent benchmark, deepseek-v4-flash via OpenRouter, single run per arm.
Read only the symbol you need, compress what your commands print, never re-send a byte you already paid for.
outline
Symbol map of any file — names, kinds, line ranges, signatures — with token-savings stats.
ctxctl outline src/server.rssymbol
One symbol’s verbatim slice from the original source by AST byte range. --compact folds the body.
ctxctl symbol src/server.rs --name handle_request --compactread
Raw line-range slices when you know exactly which lines you want. No AST needed.
ctxctl read src/main.rs --lines 40-80deps
Import/module dependency graph of a file, split into local and external targets.
ctxctl deps src/main.rsexec
Run a command, collapse its output to key lines plus head/tail summary. The least conditional win.
ctxctl exec "cargo test" --keep "FAILED|passed"mcp
Serve the same five commands as MCP tools over stdio for MCP-native agents.
ctxctl mcp14 language backends via tree-sitter
cargo install ctxctlnpm install -g ctxctl# orbun add -g ctxctlDownload the prebuilt binary for your platform from the
releases page — also ships .deb, .rpm, .apk,
and Arch packages.