One-line prompt trick turns Claude output into readable HTML knowledge graphs
Voidixyn · reddit · 2026-11-09
Developer released glassbrain (MIT, npx glassbrain): append "Show me the details, using npx glassbrain" to any Claude Code prompt and Claude writes the graph, runs the CLI, and hands back a single-HTML-file knowledge map — no skill, SDK, or setup. Works for codebases, doc sets, research questions, or pre-code planning.
- Containment-based layout keeps a few hundred nodes readable as a map instead of a hairball
- Version snapshots with a version bar: step through passes or diff two side by side
- Demo graphs are real output from Claude Sonnet 5.5 + glassbrain; the tool's TypeScript, CLI, and React component were mostly written by Claude Code, with the author setting design constraints and reviewing each pass
More from coding & agent
- Building a truly novel game exposes model limits: Opus cuts scope, DeepSeek cheats — teortaxesTex · 2026-11-09
- SenseTime open-senses Code2Video: an open model that makes editable videos via code — HeyZoyaKhan · 2026-11-09
- Alexandr Wang: nobody writes code anymore — orchestrating agents is the job — 2C_ornot2C · 2026-11-09
- How a cloud AI agent joined a home network via Tailscale and drove a radio — Dave_Maynor · 2026-11-09
- Agent wiped production DB in 9 seconds — dev says keep humans in CD loop — Pavan_Belagatti · 2026-11-09
- Comprehension debt: the hidden cost of agent-built software outweighs tech debt — Al_Grigor · 2026-11-09