glance — LLM-optimized output summarizer
LLMs read every token of command output with equal attention, unlike humans who skim head/tail and scan for patterns. glance gives LLMs a human-like "skim" — pipe output in, get a token-efficient summary with head/tail + regex-matched lines, plus an ID to drill deeper.
Install
# Install permanently (puts `glance` on PATH)
uv tool install glancecli
# One-shot without installing
uvx --from glancecli glance
# Or with Go
go install github.com/juxt/glance@latest
Claude Code plugin:
/plugin marketplace add juxt/glance
/plugin install glance
What it does
$ seq 500 | glance -n 3
1: 1
2: 2
3: 3
498: 498
499: 499
500: 500
--- glance id=20260219-143022-a3f8b1c0 | 500 lines | showing 6 | sections: 1-3, 498-500 ---
$ (seq 100; echo "ERROR db connection refused"; seq 200) | glance -n 3 -p errors
1: 1
2: 2
3: 3
101: ERROR db connection refused
299: 198
300: 199
301: 200
--- glance id=20260219-143025-b7c2e4f1 | 301 lines | showing 7 | sections: 1-3, 101, 299-301 ---
The stored capture can be drilled into:
$ glance show 20260219-143025-b7c2e4f1 -a 101 2
99: 99
100: 100
101: ERROR db connection refused
102: 1
103: 2
--- glance show 20260219-143025-b7c2e4f1 | 301 lines | showing 5 | sections: 99-103 ---
Design decisions
- Single static binary — compiled Go, no runtime dependencies. Cross-compiled for Linux, macOS, and Windows (amd64 + arm64).
- OR semantics — all matchers (filters + presets) OR together. Head/tail always shown. This is the most useful behavior for scanning output: "show me the start, end, and anything interesting".
- Persistent storage — captures stored in
$XDG_CACHE_HOME/glance/captures/with timestamp + hex IDs (e.g.20260219-143022-a3f8b1c0). Full ID required forglance show— useglance listto find IDs. - No metadata files — line count and age derived from the stored file itself (
wc -l,stat). - Built-in + user presets — three hardcoded presets (errors, warnings, status) cover common patterns. User presets stored in
~/.config/glance/presets.csvas CSV. Use(?i)prefix for case-insensitive matching.
Usage
See glance help for complete documentation. Key commands:
| Command | Description |
|---|---|
cmd | glance |
Head 10 + tail 10 |
cmd | glance -n 5 |
Head 5 + tail 5 |
cmd | glance -f 'regex' |
+ regex filter matches |
cmd | glance -p errors |
+ preset filter |
glance show <id> |
Full stored output |
glance show <id> -l 50-80 |
Line range |
glance show <id> -f 'regex' |
Filter stored output |
glance show <id> -p errors |
Filter with preset |
glance show <id> -a N C |
Context around line N |
glance list |
List stored captures |
glance clean |
Purge captures |
glance presets list |
Show all presets |
glance presets add <name> <re> [desc] |
Add user preset |
glance presets remove <name> |
Remove user preset |
Preset names must be alphanumeric (plus hyphens and underscores). Use (?i) prefix in regex for case-insensitive matching:
glance presets add deploys '(?i)deploy|release|rollout' 'Deployment events'
Testing
go test ./...
Files
main.go— entry point and CLI*_test.go— integration and unit tests.github/workflows/publish.yml— PyPI release workflowREADME.md— this file
Release files for glancecli 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| glancecli-0.1.4-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| glancecli-0.1.4-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| glancecli-0.1.4-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| glancecli-0.1.4-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details |
| glancecli-0.1.4-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| glancecli-0.1.4-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| glancecli-0.1.4-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| glancecli-0.1.4-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details |
Total release size: 18.3 MB
Release files / glancecli-0.1.4-py3-none-win_arm64.whl
| Download URL | glancecli-0.1.4-py3-none-win_arm64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
2c2b29382aadd70efbe763c3ee256b56c19e8736c6448c83b52672f55a0cd70f
|
|
BLAKE2b-256 checksum How to use checksums |
9ef6de184f3c7bd0a7d17f786bd111d5077cf13c42d6dc1bd729fc21e2005873
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-win_amd64.whl
| Download URL | glancecli-0.1.4-py3-none-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
56d577abd222dad9bf89b651589d613270f9427245d2a0d921a4002ed40a7a08
|
|
BLAKE2b-256 checksum How to use checksums |
2061eef37381316565713a8b6dd9683cb6d5e3d8b4a594410b67a1f550cbf740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-musllinux_1_2_x86_64.whl
| Download URL | glancecli-0.1.4-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
c35867b4b5556073510adb1bac8d8d8c9076348528921e8dd87af97c22016fe6
|
|
BLAKE2b-256 checksum How to use checksums |
0f49dbb13ee1945e9f98f5dd43d3b0a65a58491a8f37c46e755ba1a650a3eb03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-musllinux_1_2_aarch64.whl
| Download URL | glancecli-0.1.4-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d85c0d17352c063ffb14c63b68123e7b622aeebfc37cb990fb29e00e3466691d
|
|
BLAKE2b-256 checksum How to use checksums |
db388ed3a49408a5b8cae9b72cd30211e5b719ef1d8ae5e192170447d8e813cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-manylinux_2_17_x86_64.whl
| Download URL | glancecli-0.1.4-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
829ec7c406686189a9a554ffe0f0d72fd4976060309943b6876a9ad051976134
|
|
BLAKE2b-256 checksum How to use checksums |
efc3b7feda7724aed136869fe8491c84ef3667ae9435980fa007119f9fb7bbdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-manylinux_2_17_aarch64.whl
| Download URL | glancecli-0.1.4-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
6264ff71fe668811adfe0d1b1a295f8a2359cecf9bde4179d67ed3e8a969960f
|
|
BLAKE2b-256 checksum How to use checksums |
546e60ff2b09ca0d439fb139b1942a9452e292f580abbb5be585c3eb792a905a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-macosx_11_0_arm64.whl
| Download URL | glancecli-0.1.4-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b39e423281a9d55c5a14e7b8e942f053566c7b03d0da38ecf688852d0b90ed1b
|
|
BLAKE2b-256 checksum How to use checksums |
b156c6a697c5a294efef9c117d341675ec054834330001c214b7d66069bb6a35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency logRelease files / glancecli-0.1.4-py3-none-macosx_10_9_x86_64.whl
| Download URL | glancecli-0.1.4-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
7ecc136d1520f65e3d2c1508a144b8d9b3cf5b754b341fb35a457fa7aceca53a
|
|
BLAKE2b-256 checksum How to use checksums |
43f6146879e7daa11d5e42ef9657c26ca8a7dd22d96e1e99a6216ad4e9b4d6e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.
Transparency log