glance: an agent-native memory layer over a markdown vault — token-cheap retrieval (context/outline/links/graph) with a token receipt, plus an in-session renderer. Full surface (sections, neighbours, backlinks, surgical edits) via 'glance mcp'.
Retrieve a token-cheap, budget-bounded context bundle from a markdown vault using glance (--context)
Show a markdown file's heading tree using glance (--outline)
List a markdown file's outbound links and wikilinks using glance (--links)
Map how a markdown vault links together using glance (--graph)
Render a markdown file beautifully in the session using glance-render
Use when reading, searching, retrieving context from, or editing a folder of Markdown notes — drive glance's agent-memory commands (context/section/outline/neighbors/backlinks/edit) instead of loading whole files or grepping by hand. glance gives token-cheap, structure-aware reads with a token receipt, the real link graph, and safe surgical edits.
Use right after writing or editing a markdown file, or when the user asks to read/see/preview a document — proactively offer to render it with glance (inline glance-render preview, or the glance TUI for interactive reading). Skip for trivial one-line edits.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A terminal Markdown tool with two faces, over the same folder of .md files:
[[wikilinks]],
backlinks, a graph explorer), themes, search. Obsidian, in your shell.$ glance README.md # open the reader (you)
$ glance --context "how do we deploy?" ./vault --budget 4000 # retrieve (your agent)
$ glance mcp # serve the vault to Claude Desktop / Cursor
Same files, same renderer, two consumers. The vault's own structure — headings and the link graph — is the engine; nothing is a black box, nothing leaves your machine.
glance file.md # open in the reader TUI
glance new.md # a path that doesn't exist opens empty; :w creates it
glance-render -w 80 file.md # render to ANSI on stdout (-l for a light theme)
cat note.md | glance # read from stdin
glance --help # full usage and every key binding
glance renders Markdown with syntax-highlighted code blocks, column-aligned tables, and inline images (pixel graphics where the terminal supports them). Three modes: Reader (rendered, with a block cursor), Insert (full-screen editor), Split (editor + live preview).
Reader
| Key | Action | Key | Action |
|---|---|---|---|
h j k l / arrows | move cursor | i | insert mode (full-screen editor) |
g / G | top / bottom | e | split: editor + live preview |
Ctrl-D / Ctrl-U | half page | v / V | select chars / lines |
/ n N | search, next, prev | y | yank selection → system clipboard |
Enter | follow link / [[wikilink]] | t | table of contents |
- / Ctrl-O | back to previous file | b | backlinks panel |
? | key legend (sidebar) | Ctrl-G | graph explorer |
T | theme picker (live) | Ctrl-S | save |
:w :wq :x :q :q! | write / quit (vi-style) |
Press ? to slide out a key legend on the right; the document reflows into
the space beside it. Trackpad / mouse-wheel scrolling works (the cursor rides
along), with a small reading-progress readout in the top-right corner.
Insert / Split — type to edit, Esc returns to the reader, Ctrl-S saves,
Ctrl-V pastes a clipboard image (saved in a <name>_media/ folder beside the
document). Brackets [ ( { auto-close; you type fences by hand. The editor
soft-wraps long lines to the pane width.
In the graph explorer (Ctrl-G) the current note sits in the centre, notes
that link to it on the left and notes it links to on the right; Space
re-centres to walk the vault.
Eight built-ins — auto (default; follows your terminal background), dracula,
nord, gruvbox-dark, solarized-dark, solarized-light, github-light. Pick
one with --theme, list them with --list-themes, or press T in the reader
for a live picker (the page recolors as you browse; Enter keeps and saves
it, Esc reverts). Set a default and define custom palettes in
~/.config/glance/config:
theme = nord
[theme:mine]
base = dracula
heading1 = #ff00aa
The folder is the vault, just like Obsidian. glance finds the root by walking
up to the nearest .git or .obsidian marker (falling back to the file's
directory), then scans it recursively — so [[wikilinks]] resolve to notes
anywhere in the tree. No --init, no index file.
Markdown is the lingua franca agents use for memory and context. The problem: today an agent reads a vault by loading whole files — expensive, and blind to how notes connect. glance is the layer in between. Every read is bounded so it stays token-cheap, and the retrieval and write paths are built for an agent.
All commands print JSON to stdout; the retrieval ones carry a token receipt (how many tokens they used versus a naive whole-file read).
npx claudepluginhub lucatamsapienza/glance --plugin glanceBuild and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
Claude + Obsidian knowledge companion. Sets up a persistent, compounding wiki vault (Karpathy's LLM Wiki pattern). v1.7 "Compound Vault" + v1.8 methodology modes close 5 of 5 priority gaps from the May 2026 compass artifact. Ships: substrate alignment with kepano/obsidian-skills, default Obsidian CLI transport, hybrid retrieval (contextual prefix + BM25 + cosine rerank per Anthropic's Sept 2024 research), per-file advisory locking for multi-writer safety, pre-commit verifier agent, AND methodology modes (LYT / PARA / Zettelkasten / Generic) for first-class organizational support no other Claude+Obsidian competitor offers. v1.7.x audit closure: every BLOCKER + HIGH + MEDIUM + LOW finding from the v1.7.0 audit is CLOSED or DEFERRED-with-rationale. Optional DragonScale Memory extension (log folds, deterministic addresses, semantic tiling lint, boundary-first autoresearch).
Make your AI agent code with your project's architecture, rules, and decisions.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
AI-powered wiki generator for code repositories. Generates comprehensive, Mermaid-rich documentation with dark-mode VitePress sites, onboarding guides, deep research, and source citations. Inspired by OpenDeepWiki and deepwiki-open.
Complete AI coding workflow system. Self-correcting memory + persistent FTS5-indexed research wikis + auto-research loop + multi-LLM council on a single SQLite store. 33 skills, 8 agents, 22 commands, 37 hook scripts across 24 events. Cross-agent via SkillKit.