/glance:glancefrom glance
Use when about to run commands with potentially long output (>40 lines) — builds, tests, logs, kubectl, docker, grep, find. Pipes output through glance for token-efficient summaries instead of reading all tokens.
Ships in glance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Check if glance is available:
which glance
If missing, use uvx --from glancecli glance as the prefix for all glance commands (e.g. cmd 2>&1 | uvx --from glancecli glance).
First time: run glance help to learn the full interface.
Pipe through glance when output is unknown or likely >40 lines:
go build, npm run build, cargo build, make)go test, pytest, jest, cargo test)kubectl logs, docker logs, journalctl)kubectl get, docker ps)grep -r, find, rg) — pipe through glance first, then drill into the captured results instead of re-running with different flagsCommands with reliably short output — git status, pwd, which, echo, ls (small dirs), git log -5.
cmd 2>&1 | glance
# or with a preset for builds/tests:
cmd 2>&1 | glance -p errors
Read the footer — it gives you the capture ID and line count.
Don't jump to full output. Use targeted queries first:
glance show <id> -a LINE 5 # context around a specific line
glance show <id> -l 50-80 # line range
glance show <id> -f 'regex' # filter stored output
Pipe once, then query the stored capture multiple times with different filters/ranges — including with different tools. Avoids re-running expensive commands. Especially useful for broad exploratory searches — run one wide rg or find, capture it, then use glance show <id> -f to explore different aspects of the results.
If you lose track of the capture ID, use glance list to find it.
Always use 2>&1 — without it, stderr (where most errors go) isn't captured by the pipe.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub juxt/glance --plugin glance