/illuminate:illuminatefrom illuminate
Draws an interactive, code-verified map of how parts of the codebase connect. Use when the user asks how a flow works, wants a diagram, or needs a walkthrough across multiple files.
Ships in illuminate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
illuminate turns a question about this repo into a map the person can explore in their browser: areas of the app, the steps in order, labeled arrows, and red dashed arrows where something that should be connected isn't. A plain program checks every claim against the code before it's shown. In the map they can take a walkthrough, select any box or arrow and ask about it, and approve fixes that illuminate applies and re-checks.
Don't use it for a question about a single line or function; answer that directly.
When they give no question (/illuminate on its own): don't call illuminate_map yet. Take a few seconds to see
what is worth mapping, with quick reads only: git status --short, git log --oneline -5, the start of the README, and
how many maps .illuminate/maps/ holds. Then ask what they want mapped, offering up to four questions written for this
repo, each one illuminate_map could take as it is:
In Claude Code, ask with AskUserQuestion: it shows them as choices and lets them type their own. In Codex, list them in a
short message and ask which, or what else. Then call illuminate_map with the one they pick (illuminate_open for
saved maps). Don't explore more than this: the map's own request does that.
In Claude Code with the illuminate MCP server (you have an illuminate_map tool): call illuminate_map with the
user's question in their own words. It opens the map in their browser and hands you work as requests: explore the code,
then illuminate_submit your output. Keep going while results hold another request. Once the map is ready, call
illuminate_listen and leave it running: it moves to the background, and returns with a request when the user asks
something on the map. Do it, submit it, and call illuminate_listen again. If it returns saying nothing was asked yet,
call it again without mentioning it; if it says illuminate stopped listening, don't. If the user says "listen to
illuminate", call illuminate_listen. Don't edit files while working on a request, and keep what you say in the terminal to a
sentence or two: the map does the explaining. illuminate_open opens saved maps.
In Codex with the illuminate MCP server (you have illuminate_map and illuminate_ask tools, and no
illuminate_listen): read the current chat UUID using printenv CODEX_THREAD_ID. If available, pass it as
thread_id to illuminate_map or illuminate_open, along with the absolute project path as repo.
For a new map pass the user's question. Complete the work using illuminate_submit. Read long requests in
parts with illuminate_more. illuminate opens the default browser. Give the person the link in case the tab didn’t appear.
When paired, tell them to ask on the map. A queued page request carries a ticket.
Call illuminate_next with that exact ticket and submit the result. The viewer displays the checked answer.
When the person asks in chat, paired or unpaired, call illuminate_ask for their follow-up, including the
current map URL when available. Follow the tool's instructions for displaying the checked reply.
Use illuminate_next without a ticket when Illuminate asks you to continue waiting during a job or the
person says “carry on with illuminate”. Finish the turn when the map or answer is ready.
In Claude Code, when the plugin is installed but you have no illuminate_map tool: illuminate's server didn't
start. It runs on Node (20.19 or later, started with npx), so check that before anything else:
node --version and npx --version.nvm, fnm, volta, asdf);
otherwise Homebrew on a Mac (brew install node) or winget install OpenJS.NodeJS.LTS on Windows; otherwise install
fnm or nvm into their home folder. Avoid anything that asks for an administrator password: you can't type one.
Don't remove or replace a Node version their other tools depend on; add a newer one beside it and make it the default.node --version again in a new shell. Then tell them to quit and reopen Claude Code (it only sees the new Node
after a restart) and ask their question again.claude --version. illuminate needs 2.1.275 or later.
If it is older, tell them to run claude update in a terminal, then quit and reopen Claude Code and ask again. Don't
run the update yourself: it replaces the program this session is running in.npx, which
downloads it the first time, and gives up after 30 seconds. Download it and see whether it starts by running
npx -y @johnz4021/[email protected] channel </dev/null (it starts and exits straight away; allow it a few
minutes). If that exits without an error, tell them to run /mcp, choose plugin:illuminate:illuminate and
Reconnect, then ask their question again. When Claude Code gives up on a slow first start it stops npx partway,
which can leave a half-downloaded copy that npx then reuses. So if the error comes from a file inside an _npx
folder (a module that can't be found, such as @oxc-parser/binding-…, a file that "extends beyond end of file",
one that isn't a valid binary, or "Unexpected end"), delete just the _npx/<id> folder named in the error's path
(it holds only npx's downloaded copy of illuminate, nothing of theirs), run the command again, and say in a
sentence that you did. Tell them any other error in plain words. Don't install anything else.Outside Claude Code, run the CLI from the repo root (or pass --repo). It needs ANTHROPIC_API_KEY:
illume "What happens when a patient converts?" --repo "$(git rev-parse --show-toplevel)"
It starts a small local server and opens the map in the user's browser by itself, where they watch Claude explore
(about a minute for a small repo). Don't pass --no-open. It also prints the link
(http://127.0.0.1:4317/m/<id>?t=<token>): tell the user the map is opening, and give them the link in case the tab
didn't appear. Run the command in the background and don't wait for it to exit. Don't stop it yourself either: it stops
on its own a little after the user closes the last illuminate tab (never while Claude is still working), or when they
press Stop illuminate on the page. If an illuminate server is already running, the new one picks another free port.
Other commands:
illume list prints the maps already made in this repo (saved under .illuminate/maps/), one <map-id> <question>
per line. Use it to find a map's id, or to check whether a map for the question already exists.illume open [<map-id>] opens those maps in the user's browser (one map, or the list of all of them).illume check <map-id> re-checks a saved map against the current code and prints anything that no longer holds.
It exits with 1 if a claim fails, so it can run in CI..env, keys) and only listens on 127.0.0.1.ANTHROPIC_API_KEY.illume isn't on the PATH, it hasn't been installed. Tell the user to install it from the illuminate repo
(see its README) instead of guessing another command.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub johnz4021/illuminate --plugin illuminateOther plugins' skills for the same job