/intent-compiler:expand [compressed prompt, term, or path to a file] [--intent="what you actually wanted"]from Intent Compiler
The mirror of compile — read a compressed prompt back and itemize the frames its terms import, separating what the model will assume as core from what it will merely lean toward, flagging terms whose sense is not pinned, and naming the entailments the intent never asked for. Shows the bill before you pay it.
Ships in Intent Compiler. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Expand the compressed prompt in $ARGUMENTS — or the file it names, or the
compiled block most recently produced in this conversation — into the frames
it imports. This is compile run backwards: compile chooses what to buy,
expand reads the receipt.
You are not doing the task, and you are not improving the prompt. Do not execute it, rewrite it, or produce the work it asks for. You itemize; the user decides. Suggested trim lines are the one exception, and they go in their own section as text to add, never as a rewritten prompt.
Load ${CLAUDE_PLUGIN_ROOT}/reference/polysemous.md — here it is always
relevant, since finding unpinned senses is most of the job. Load
${CLAUDE_PLUGIN_ROOT}/reference/compression-core.md only when you need the
split or the mode names. Read
${CLAUDE_PROJECT_DIR}/.claude/intent-lexicon.jsonl when it exists: a pact
entry means a term is local and its definition is the expansion — do not
expand a local term against a public frame it was never meant to evoke.
Scan the prompt for load-bearing terms: catalogued pattern names, standards,
named algorithms, architectural vocabulary, role framings ("act as a…"), and
anything from polysemous.md. Ignore ordinary words — a term is load-bearing
when removing it would leave the prompt underspecified.
Note which terms are anchors doing work and which are decoration. Decoration is worth reporting: a term that imports a frame nobody needs is pure risk with no payload.
For each, separate what the model treats as given from what it merely leans toward. The distinction is the whole value of this skill: core elements will appear in the output whether or not you asked for them; non-core elements appear often enough to surprise you.
misread waiting to happen, and is a
stronger finding than any leak.When --intent= is given, or the conversation states what the user wanted,
diff the expansion against it and sort every element into:
Without an intent to compare against, report the expansion and the unpinned senses only. Do not invent an intent to diff against — say that the section is unavailable and why.
Terms found: N load-bearing, N decorative
## <term> [pinned | UNPINNED]
Frame: <one line — the scene this term evokes>
Core (assumed):
- <element>
Non-core (likely):
- <element>
Competing senses:
- <other sense> — pinned by "<quoted words from the prompt>" | NOT PINNED
<repeat per term>
## Bill
Asked for: <count> — <one line>
Silent extras:
- <element> — <what it would look like in the output>
Contradicted:
- <element> — <the instruction it fights, quoted>
Missing:
- <element> — <what nothing in the prompt supplies>
## Verdict
<one paragraph: what this prompt actually commits you to, beyond what it says>
Suggested trim (text to add, not a rewrite):
- <line>
Sections Asked for, Silent extras, Contradicted and Missing require an
intent; when none is available, replace the whole Bill with one line
saying so. Verdict is always present.
event sourcing
in practice drags CQRS along whatever the catalogue says, that belongs under
non-core.compile's job, and running the
rubric on an existing prompt invites rewriting it.What SKILL.md sets; muted values are Claude Code's defaults
Use on a prompt that is already compressed — one compile produced, one you wrote, a skill or agent description, a CLAUDE.md rule — when you want to see what it actually commits you to. Required by compile at commitment 3. Also useful on a prompt whose output keeps containing work nobody asked for. Never executes the prompt.
sonnetmediumnpx claudepluginhub jr-jesse123/claude-tookit --plugin intent-compiler3 skills in this plugin
/compileTurn a raw intent into a compiled prompt — compressing the mechanism onto canonical terms the model already holds, carrying project facts and the acceptance criterion through verbatim, and naming what the compression removed. Scores each candidate term for canonicity, frame precision, frame fit and shared ground, then gates the result on what a wrong expansion would cost./log-lexiconAppend an honest entry to the project's intent lexicon after a compiled prompt has run — how the anchor actually behaved, or the agreed definition of a local term. Companion to the compile and expand skills, which run before the task and never write.Other plugins' skills for the same job