A big idea does not fit in a chat. A chat is a line, and a plan is a tree. The branch you skipped twenty messages ago is gone in the scrollback, and the decisions you made are buried somewhere in a long transcript.
I started from grill-me, a skill where the agent interviews you about a plan, one question at a time, with a recommended answer for each. The idea is right: an agent that leads and asks the hard questions finds the gaps a plan hides. But one question at a time is slow, and if you ask the agent for everything at once you get a wall of twenty questions.
So I built lantern, a Claude Code plugin that runs a brainstorm as a game in rounds, on a map. This post is about the three rules that made it work: rounds, a hard cap on questions, and fog.
The map
A map is a DAG stored as a JSON file in your project, in .lantern/<slug>.json. The nodes have types:
-
goal: the destination, such as a spec, a decision or a plan, with a "Done when". -
question: 3 or 4 mutually exclusive options. Each option says what happens if you pick it and what it costs. The recommended one comes first. -
finding: a fact the agent established, with its source. -
decision: a point that is settled. -
task: something to do or find out. -
fog: an area that cannot be pinned down yet.
You add answer and comment nodes. Edges are the flow of information: a decision under a question, a question under the decision it depends on.
Rule 1: play in rounds
Play alternates. On your turn you work in a local web UI (a Cytoscape graph served by a small Python standard-library server). You answer questions, comment, approve the agent's nodes, mark one unclear, or put a request on a node: decompose, diverge, reflect, challenge, research, or show an example. Then you press End turn.
Then you run /lantern:turn. Claude reads what you did, replies to every node you touched, pushes the map forward, and closes the round.
Two details matter more than I expected.
You don't review everything. You can go deep on one branch and leave the rest. The agent works only on the branches you touched that round. Unreviewed nodes wait, round after round, until you get to them. Without this rule, every turn fans out across the whole map and you spend your time catching up instead of thinking.
Closed rounds are locked. Nobody edits or deletes the content of a closed round, not even the agent. You can still comment on an old node, and the agent replies on its next turn, under it. The map becomes an honest record: you can see what was decided, when, and why, and that history can't drift.
Rule 2: at most three new questions per turn
This is the rule that makes the agent useful instead of exhausting. Each turn, Claude may open at most three new questions: the ones whose answers unblock the most. Everything else becomes a task, a finding or fog.
Two things make the cap work:
- A fact the agent can find itself is never a question. If the answer is in the code, the docs or on the web, the agent looks it up and writes a finding with the source. You get asked only what only you know: intent, priorities, limits.
- The cap forces ranking. To pick three, the agent has to decide which unknowns shape the rest. That ranking is most of the value of a good interviewer.
Requests you put on nodes don't count toward the cap. If you ask for a decomposition, you get the parts.
Rule 3: fog
The hardest part of brainstorming with an agent is the stuff nobody can state yet. Ask an LLM to be thorough, and it turns every vague area into a precise-sounding question that you can't answer, because the question depends on three decisions you haven't made.
lantern has a node type for that: fog. The rule the agent follows is one line:
Can you state the question precisely now? Yes: make it a question, even if it can't be answered yet. No: make it fog.
Fog stays on the map, visible and dim, so nothing is forgotten. When the decisions around it land, fog turns into sharp questions. In the offsite example, "The one memorable activity" opens as fog in round 2: the team wants one, but it depends on the venue, the season and the budget. In round 4 the user comments under it: no wine tasting, because one person doesn't drink, and no team games. The agent records that as a decision, and the fog becomes a question with three options (a cooking class, a boat trip, a tile-painting workshop), each step-free for a colleague in a wheelchair, each with a cost estimate. The user answers with a fourth option the agent didn't have: an accessible boat trip along the Arrábida coast.
Making the agent follow the rules
Prompts alone weren't enough. The agent changes the map only through a CLI (bin/lantern.py), never by editing the JSON, and the CLI enforces the rules:
-
close-roundrefuses until the turn is complete: every user node has a reply, every request has new nodes under it, every node you marked unclear is rewritten, and every merge you asked for is done. It prints the reason, for examplerefused: Reply to or ack these user nodes first: n41, n43.The agent reads the reason, fixes the cause and runs it again. - A question without a body, or without 3 or 4 options, is refused.
- The agent can rewrite only nodes you marked unclear, and only the user links into a closed round.
-
agendagives the agent a turn brief: what you did, what is pending, and where the focus is.
The skills describe the thinking (bottleneck per branch, then a technique: first principles, divergent options, prior art through web research, a pre-mortem, a comparison, a synthesis). The CLI makes sure the structure holds no matter how the thinking goes.
One small lesson from building it: the skill told the agent to set L to the CLI and run $L agenda. The agent wrote L="python3 /path/lantern.py", and in zsh that runs nothing, because zsh doesn't split a variable into a command and its arguments. The fix was a sentence in the rules: L holds the path only, and the script is executable. If your skill gives an agent shell snippets, test them in the shell your users actually have.
Try it
In Claude Code:
/plugin marketplace add pavelvod/lantern /plugin install lantern@lantern Then /lantern:map <your idea>, /lantern:serve, and play a round.
The repo has three finished example maps, six rounds each, that you can open and keep playing: replacing Google Analytics with a self-hosted tool, planning a team offsite, and designing a CLI plugin system. Each one ends with a write-up and leaves a few points open.
It's MIT-licensed, the CLI and server use only the Python standard library, and everything runs locally.
I'd like to hear where the agent leads well and where it should ask less, or ask differently: github.com/pavelvod/lantern.

