| name | what |
| description | Explain the CONCEPTS a session used, at the operator's register, grounded in
what actually ran. After an agent works, you are handed results built out of
vocabulary you did not choose — primitive short-names, entity slugs, library
names, terms of art from the diff. `/what` names those terms, ranks them by
what actually blocks understanding, defines each one, and anchors it to where
it appeared and to its knowledge-graph entity. Fired mid-conversation with a
short slice it degrades to the re-pitch case: "that did not land, say it
again with more context and a simpler register."
USE WHEN: /what, "wait what", "what did you just do", "explain that again",
"I don't follow", "you lost me", "what do those terms mean", "re-pitch that",
"explain the concepts", "what is all this jargon", after an autonomous arc or
a long PR when the vocabulary outran the operator.
NOT FOR: a summary of actions taken (that is the P1 Bridge session log);
state for the next agent (that is /handoff); teaching a whole body of work to
mastery over multiple gated stages (that is /comprehend); explaining a named
paper or external research topic (that is /eli5); continuing, fixing, or
extending the work (/what explains, it never builds).
|
| disable-model-invocation | true |
| user-invocable | true |
| argument-hint | [term] [--scope session] |
what — explain the concepts, not the timeline
A session ends. The work is done and the summary is accurate, and you still
cannot review the next PR in that area, because eight of the nouns were new.
That gap does not close by re-reading the summary. It closes by someone naming
the eight nouns and defining them.
Nothing else in the stack does this. Bridge (P1) records what happened.
/handoff writes state for the next agent. /comprehend runs a multi-stage
teach-to-mastery loop. /what is the fast one: the vocabulary of the last
stretch of work, explained once, grounded in where it actually appeared.
The one rule
Concepts, not chronology.
If the answer reads "first I did X, then Y, then Z", it is a session log and
it has failed. /what is organised by idea, ranked by what blocks
understanding — never by what was hardest to build or said most often.
Scope
/what explains everything since you last asked /what. One rule covers
both cases:
| You fire it | Slice | Behaviour |
|---|
| After a long arc | since the last /what, else the whole session | full concept inventory |
| Right after one dense message | that message | the re-pitch case (below) |
/what <term> | the whole session | one concept, in depth |
/what --scope session | whole session, markers ignored | full inventory |
The re-pitch case. When the slice is short or plain, the script returns an
empty inventory. That is not a failure — it is the signal to do what
wait-what does: say the last message again, with more context, shorter
sentences, and the workspace's own words. Do not report "no concepts found."
Procedure
1. Build the inventory (deterministic — never do this by eye)
Run it from the project you are explaining, with an absolute path to the
script — transcript, catalog and CLAUDE.md resolution all key off the current
directory, so cd-ing into the skill dir to shorten the path breaks resolution.
W=~/.claude/skills/what/scripts/what_concepts.py
python3 $W --json
python3 $W --scope session --json
python3 $W --conversation docs/conversations/<id>.md
python3 $W --cwd /path/to/other/repo
Useful when the default filters misjudge a term:
--keep-term MAJOR forces a stoplisted term back in, --stopword <t> drops one,
--include-tools also mines the code the agent wrote, --top N / --min-freq N
move the thresholds.
It resolves the transcript, extracts candidate terms from the agent's prose,
and returns each one with four facts that decide the explanation:
- uses — how load-bearing the term was.
- agent_introduced — the human never used this word. High-value: you
brought it, so you owe the definition.
- defined_inline — already glossed in-session. If yes, do not re-explain
it; reference it.
- coverage —
grounded (an entity page exists; read it), partial,
ungrounded (nothing — a Bookkeeping (P6) candidate).
Ranking is deliberately not frequency-first. A term said 200 times and
already defined ranks below a term said twice and never defined.
--include-tools answers a different question. By default only the agent's
prose is mined, because prose is what the operator actually read. Adding
--include-tools also mines the code the agent wrote, which changes the
question from "what did you say to me" to "what vocabulary is in the diff" —
useful after a build-heavy session where the agent acted more than it spoke,
but it surfaces identifiers and test-fixture strings alongside real concepts.
Read it with that in mind; do not treat every snake_case row as a concept.
2. Read the grounded claims before writing a word
Every grounded row carries an entity path. Read those bodies. The knowledge
graph already holds the workspace's own definition, and inventing a second one
is how two vocabularies for one idea get created.
3. Explain, in rank order
Top rows first. Stop at the point where the remaining rows would not change
what the operator can now do. Six well-explained concepts beat twelve listed.
4. Route the ungrounded terms through the P6 scoring gate
Every ungrounded row is a Bookkeeping (P6) candidate — not an entity.
Measured precision on real sessions is roughly 1-2 genuine concepts per 12 rows,
so filing the column wholesale would put ten junk pages per session into a graph
whose contract is that it never holds unscored items (CLAUDE.md, Nous gate
= 5/9).
So: score first, file what clears the gate, report the rest.
python3 ~/.claude/skills/bookkeeping/scripts/bookkeeping.py score --content "<term + what it meant here>"
Filing is still a reflex, not a question — you do not ask permission to run the
gate. What you never do is skip it.
The register
Borrowed from wait-what and made explicit. These are the rules the
explanation is graded on:
- One idea per sentence. Active voice. Under ~25 words.
- Define on first use. No term from the inventory may appear in an
explanation before its own definition.
- Use the workspace's words.
Bookkeeping (P6), not "the filing thing".
Ubiquitous language comes from CLAUDE.md and the entity slugs — never
invent a synonym for something that already has a name.
- No enum names, no internal identifiers, no file paths as nouns. Those
are anchors, not explanations.
.control/policy.yaml is where a rule lives,
not what the rule is.
- Every concept gets a contrast. State the nearest thing it is confused
with, and the difference. A definition without a boundary does not stick.
- Every concept gets an anchor. Where it appeared in this session:
file.py:120, a PR number, a commit. Ungrounded and unanchored is a
vocabulary lesson, not a /what.
- Say what you are unsure of. A term you used but cannot define is the
most useful line in the answer.
Output shape
## The short version
Three sentences. No term from the inventory appears here.
## Concepts
### <Term> — <five-word gloss>
**What it is.** Two or three short sentences.
**Why it showed up.** <anchor: file:line / PR / commit>
**Not to be confused with.** <nearest neighbour, and the difference>
**Where it lives.** <entity path, or "not in the knowledge graph yet">
## Not in the knowledge graph yet
<terms filed as P6 candidates, with what was filed>
## If you remember one thing
One sentence.
Anti-rationalization
| Excuse | Reality |
|---|
| "I'll just summarise what I did." | That is the Bridge (P1) log. /what explains ideas; a timeline is the failure mode, not a shortcut to it. |
| "I'll pick the concepts by eye." | Selection is precision work. Run the script — by eye you pick what you found interesting, which is the opposite of what blocked the reader. |
| "The inventory came back empty, so there's nothing to say." | Empty means re-pitch. Explain the last message again, simpler. Never report the empty table. |
| "This term has no entity page, so I'll skip it." | An ungrounded, heavily-used term is the highest-value row and a P6 filing candidate. |
| "Ungrounded, so I'll file it." | Candidate, not entity. Most ungrounded rows are English hyphenation, not concepts. Score it (>= 5/9) and file what clears. |
| "Should I file the missing entities?" | Do not ask permission to run the gate — run it. Do not file what it rejects. |
| "While explaining, I noticed a bug — let me fix it." | /what explains. Name the bug, do not fix it in this turn. |
| "I'll define it in my own clearer words." | If the knowledge graph already names it, its words win. Two vocabularies for one idea is the cost. |
Composition
| Need | Reach for |
|---|
| Rank the terms | scripts/what_concepts.py (this skill) |
| Read a grounded entity | /kg load <slug> |
| File an ungrounded term | /bookkeeping (P6) |
| Teach a body of work to mastery | /comprehend |
| Explain an external paper | /eli5 |
| State for the next agent | /handoff |
Validation (skill self-test)
A /what answer is well-formed iff:
Script tests: python3 -m pytest scripts/test_what_concepts.py -v (90 tests).
Every one of those tests is proven able to fail: bash scripts/mutate.sh breaks
the implementation 39 ways and requires the suite to catch all 39. Run it after
any change to what_concepts.py. It asserts a clean tree first, because its
revert-to-HEAD baseline would otherwise destroy uncommitted work on line one.
References
scripts/what_concepts.py — the deterministic inventory + knowledge-graph coverage classifier.
scripts/test_what_concepts.py — its unit suite (the step-3 skillify gate).
scripts/mutate.sh — the mutation proof that keeps that suite honest.
- Prior art:
mattpocock/skills productivity/wait-what
— the terse mid-conversation re-pitch. /what keeps its two best ideas (pin
the register, pin the vocabulary source) and adds session scope plus
knowledge-graph grounding.