Repo of the Day
pavelvod/lantern
Published: Nov 30, 2026
Open repository ↗Claude Code plugin for round-based brainstorming: Claude leads and asks the sharp questions, you answer in a local web graph, and fog turns into decisions over many sessions
Summary
lantern is a Claude Code plugin for round-based brainstorming that turns a big idea into a graph of goals, questions, findings, decisions, tasks, and "fog" — the parts that are not pinned down yet. Claude leads one round at a time and asks the questions that unblock the most, while you answer in a local web UI. The map is stored as a JSON file in your project, so a later session picks up where the last one stopped.
What it is useful for
The problem it targets is that a chat transcript is a line, but a plan is a tree. In lantern, every question, finding, and decision is a node you can reopen, answer, comment on, or link to another node, so a branch you skipped twenty messages ago does not get lost.
It fits work that spans several sessions: turning a vague idea into a spec, a decision, or a plan, then coming back to it tomorrow or next week. Two details matter for engineers. First, artifacts stay explicit — settled points become decision nodes, and facts Claude establishes become finding nodes that cite their source, so the map records what was decided and why. Second, you steer the depth: Claude opens at most three new questions per turn and parks the rest as fog, which sharpens into questions as nearby decisions land.
The README ships three finished example maps — replacing Google Analytics with a self-hosted tool, planning a team offsite, and designing a CLI plugin system — each running six rounds and ending with a write-up and some points still open. Claude also varies its approach by branch: first principles for weak framing, divergent thinking when options are missing, pre-mortem and inversion when one option is never challenged, convergent comparison when many alternatives are open, and synthesis once a branch lands.
Documented limits: closed rounds are locked so history cannot drift, though you can still comment on old nodes and Claude will reply; the UI loads its graph libraries from a CDN, so your browser needs internet access; Claude Code with plugin support and Python 3.9 or newer are required.
How engineers can use it
Install the plugin in Claude Code:
/plugin marketplace add pavelvod/lantern
/plugin install lantern@lantern
Then work through the documented commands:
/lantern:map <idea>— chart a new map and its destination/lantern:serve [slug]— start the web UI onhttp://127.0.0.1:8765//lantern:turn [slug]— let Claude read your answers, add nodes, and close the round
Answer questions in the UI and press End turn before running /lantern:turn. Maps live in <cwd>/.lantern/<slug>.json, and older maps in .dagmap/ still open. To develop the plugin itself, run Claude Code with claude --plugin-dir /path/to/lantern; the CLI and server use the Python standard library only. Run the tests with python3 tests/test_lantern.py, or python3 -m pytest -q tests if pytest is installed.