a skill for coding agents · pre-release

Know it like
you wrote it.

You'll be asked a follow-up you didn't prepare for. LARP gets you ready for it. Point it at your work, whether that's a codebase, a thesis or a report. It maps it, takes you down to the line that matters, and checks you: think the answer, reveal it, tick what you had.

For a viva · an interview · a handover · a demo

Sample proof · URL shortener
anchors  41 ok
facts     9 ok
stale     1 caching

The source changed since you learned it. Run /larp sync.

> /plugin marketplace add khrj/larp
> /plugin install larp@larp
> /larp

Claude Code today. Codex, Cursor and other agents: under construction.

The 3 Cs of
LARPing

Cognizance

Know it for real. You can't bluff a follow-up question. LARP builds a true picture of the work, from the 30-second version down to the line that matters, and checks every claim against the source.

“Show me where.” It can.

Confidence

Know that you know. Confidence that holds up under questioning comes from evidence: answers you've recalled many times, follow-ups you've already faced, and a plan for the one question you can't answer.

You've already faced the follow-up.

Coherence

Make it easy to follow. Lead with the answer, give the reason, point to the source. Whoever is listening should be able to repeat your logic back to you.

Answer, reason, line.

Two ways in

Elevation views · same studio, same checks

View 1

In work you already have

/larp

  1. Three questions: what you're preparing for, any past papers or question lists, and the date.
  2. A scan of the work, then an overview and a knowledge map, shown only after larp verify passes.
  3. A five-minute diagnostic, then deep dives in plan order, self-checks and spaced review.
  4. Mock sessions in your format, and a readiness report for each C.
View 2

While your agent builds it

build X with /larp

  1. Companion mode turns on. Every edited file is journaled in the background, at no token cost.
  2. Each non-obvious decision is noted as it's made: the reason, the alternatives rejected, the files.
  3. When the build is done, intake runs and the map is drafted from the journal while the context is warm.
  4. “How did you build it?” is answered from the record, never made up.

Everything in one studio

LARP Studio opens in your browser with everything in one place: today's plan, a map of the work, deep dives, practice, mock sessions and how you're doing on each C. It runs on your machine, works offline and sends nothing anywhere.

To practise, you think the answer or type a few words, rate how sure you are, reveal the model answer, and tick the key points you had. A point you missed brings its follow-up next. Try it below.

  1. 1Three meters, one per C, and the time left until your viva, exam or demo.
  2. 2Views: Today, Map, Learn, Practice, Mock, Bank, Progress, Sources.
  3. 3A self-check card. Space reveals, 1 to 4 rates.
  4. 4The code drawer opens the exact lines a key point cites.

Working demo · sample project: a URL shortener

Viva · in 4h Cog Conf Coh Agent

Self-check · explain · node: resolve

Why does the shortener check the cache before the database when it resolves a link?

How sure are you?

Rate first, then reveal.

Grounded, or it doesn't ship

Every claim LARP teaches cites the lines it came from, written as an anchor like [[app/resolve.py#L15-L17|resolve]]. The CLI hashes each anchor, and larp verify runs after every map, dive or question it writes. Nothing reaches you until it passes.

When your work changes, the knowledge built on those lines is marked stale, and /larp sync rewrites only what moved. Questions about process, like “how did you build it?”, are answered from git history and the companion journal. They're never invented, because an invented story falls apart at the first follow-up.

What larp verify checks
  • Anchors The file exists, the lines are in range, the symbol is there, the hash matches. Code that only moved is re-anchored.
  • Facts Claims about the stack and versions match the manifests.
  • Graph Every link points at a real node, prerequisites have no cycles, and the overview names every top-level part.
  • Coverage How much of the work at least one node covers, with uncovered entry points listed.
  • Question bank One correct option per question, no answers given away by length, no near-duplicates.
  • Talk length 10-second answers in 30 words or fewer, one-minute answers in 160.
  • Freshness The stored git HEAD is compared with the current one.

The method, and where it comes from

Each feature traces back to a finding about how people learn and explain. Rereading is out, retrieval is in.

FindingSourceCWhere it shows up in LARP
Practice testing and spaced practice rate “high utility”; rereading and highlighting rate “low”.Dunlosky et al. 2013Cognizance, ConfidenceSelf-check cards and a spaced review queue; no “read it again” loop.
Thinking an answer helps retention about as much as saying or writing it; writing helps a little more on hard material.Smith, Roediger & Karpicke 2013; 2025 reviewConfidenceThe default flow: think, rate your confidence, reveal, tick the key points you had. Typing is offered for hard “explain” items.
Failed attempts before teaching make later learning stick better.Richland, Kornell & Kao 2009CognizanceA five-minute diagnostic right after intake, which also skips what you already know.
People overrate their understanding until they have to explain a mechanism step by step.Rozenblit & Keil 2002Cognizance, Confidence“Trace it” items (request lifecycle, data flow) come before “explain it”; confidence calibration.
Asking “why?”, self-explanation and mixing topics all help.Dunlosky et al. 2013Cognizance, CoherenceEvery dive has why-chains and the alternatives that were rejected; reviews mix topics.
Studying in order to teach leads to better-organized recall.Nestojko et al. 2014; Fiorella & MayerCoherenceContent is written as “how you'd explain it”, with a teach-back drill aimed at an outsider.
Answer first, then grouped reasons, then evidence.Minto, the Pyramid PrincipleCoherenceTalk cards: a one-line answer, then two or three reasons, then a code anchor.
Practise short summaries before long answers, know the standard question families, run mock vivas.Huddersfield viva guidance; LSE top ten questionsCoherence, Confidence10-second, 1-minute and 3-minute versions of each explanation; a question taxonomy; /larp mock.

Get /larp

In Claude Code, add the marketplace, install, restart, then run /larp in your project. It needs Python 3.9 or newer; the CLI uses only the standard library.

Other agents: LARP is built for any coding agent. Claude Code works today; Codex, Cursor and others are under construction.

> /plugin marketplace add khrj/larp
> /plugin install larp@larp
# restart Claude Code, then in your project:
> /larp
  • A coding agent Claude Code today, as a plugin. Others are under construction.
  • Python 3.9+ For the larp CLI. Standard library only, nothing to install.
  • Git Recommended. Freshness checks and “how did you build it?” answers read your history.
  • Your work in a folder Code, a thesis, a report. The studio and CLI make no network calls.

Commands

/larp
First run starts intake; after that, two or three suggestions
with <task>
Build with decisions captured as you go
map
The overview and knowledge map
dive <topic>
A layered deep dive on one part
quiz · drill
Objective practice; explain, defend, curveball, teach-back
mock
A mock session in your format
review
Spaced review of what's due
exam · cram
Readiness report; the last-day sheet
import · sync
Add past material; refresh what went stale
studio
Open the interface