A local comprehension workspace for agent-produced changes
Your agent shipped 3,000 lines overnight. Read them like a story.
ndrstnd turns a branch diff into an evidence-linked narrative: semantic chapters, color-coded impact, a build-path timeline, a test plan, and the full diff. Understand the change before you judge it.
The Story view of an ndrstnd artifact: one self-contained HTML file, no server required.
See it in action
Watch a branch become a story.
Fifty seconds, end to end: your agent finishes the checkout branch, its ndrstnd skill drafts the review, and the workspace opens with the story, zoom dial, timeline, and test plan. Pick your agent above; the demo follows.
The problem
Alphabetical order is not an explanation.
Coding agents produce more change per hour than anyone can absorb in file-path order. The diff is complete, but completeness isn't comprehension: a lockfile and a payment-critical retry loop get equal billing.
ndrstnd reads the branch the way you'd want a colleague to walk you through it: claims first, meaning second, evidence on demand. Every sentence in the story links to the hunks that prove it.
It compares the branch to its merge-base and asks your agent, Codex or Claude Code, for the narrative. If the analysis fails, it tells you so: it never fabricates a story it can't back with evidence.
Zoom controls
One dial, five altitudes.
The zoom dial moves the whole workspace between meaning and mechanism. Keep scrolling, and the workspace below follows the dial.
The whole change at a glance
Chapter cards show where the churn went and where the risk lives, in five attention colors from low to critical. Know in ten seconds where to spend your next ten minutes.
Every chapter is a claim
The story states what the change does in plain sentences, ordered by meaning instead of file path. Skim it like a table of contents.
Before and after, in words
One notch down, each claim explains the system it replaced: what used to happen, what happens now, and why the difference matters.
Proof, minus the noise
Every claim links to the exact lines that back it. Routine lines fold behind a counted ⌁ divider: omitted, never hidden.
Nothing between you and the patch
At the bottom of the dial the workspace shows complete hunks, exactly as Git sees them. Trust the story, then verify it, without leaving the page.
The timeline view
“We cannot follow the ideal design process. But we can fake it in the documentation.”after David L. Parnas and Paul C. Clements, “A Rational Design Process: How and Why to Fake It” (1986)
No branch is built in the order it's best understood. Agents scaffold, backtrack, revert, and patch their way to a result, and the commit log faithfully records all of that wandering. Replaying it teaches you the journey, not the design.
The Timeline view takes Parnas seriously. It rebuilds the change as a dependency-ordered build path: each step states its goal, what you now have once it lands, and what it deliberately defers, with the evidence accumulating step by step. The history stays honest. The reading order becomes rational.
What's inside
Every claim travels with its evidence.
ndrstnd never asks you to trust a summary. Each view is a different altitude over the same linked facts.
Semantic grouping
Hunks are grouped by what they mean, not where they live. A claim, its synopsis, its risk tags, and its evidence travel together as one chapter.
Color-coded impact
Five attention levels mark every chapter number, map card, and timeline dot, so risk is visible from any altitude.
Timeline: a build path
Dependency-ordered steps replay how you would assemble the change. Each step states its goal, what you now have, and what it defers, with the evidence accumulated so far.
Test plan view
Tested behaviors grouped into themes and linked back to story claims, zoomable from summary cards down to raw test artifacts.
Full diff, always
Every patch hunk, syntax-highlighted, with low-signal files collapsed but one click away. The story never replaces the diff.
Focused excerpts
Evidence shows the lines that matter and folds the routine ones behind a counted divider. You always know exactly what was omitted.
Ask the change
Select any lines and ask. The menu copies a prompt grounded in the evidence you selected, not in vibes, ready to paste into your agent.
Private, portable artifacts
Each review is one self-contained HTML file in your repo's .ndrstnd directory: readable on any device, private to your machine, and yours to keep for as long as you need.
Codex & Claude Code integration
Your agent hands you the review.
ndrstnd ships as a skill for Codex and Claude Code, plus a CLI. Install the skill once, and your agent can end its coding tasks by preparing an ndrstnd workspace for the human, instead of a wall of diff.
- 1Skill-aware
After finishing a task, Codex or Claude Code runs ndrstnd on the branch (the analysis runs on the same agent that asked) and links the artifact in its reply, ready to read on desktop or mobile.
- 2Read it without leaving your agent
Ask Codex or Claude Code to use ndrstnd and open the artifact right in the app's side panel. And when your agent runs remotely, the same review reads comfortably from your phone.
- 3Conversation-informed
Pass
--conversationand the implementation dialogue becomes part of the story: the decisions, not just the diff. - 4Zero token custody
ndrstnd rides your agent's existing authenticated session, whichever one drafts the narrative. It never stores a credential of its own.
Get started
Homebrew · shipping soonFour commands to your first story.
The repository doubles as a Homebrew tap, so the whole setup is:
Install the CLI
The repository doubles as a Homebrew tap; the trust step is Homebrew's confirmation for third-party taps.
$ brew tap truizlop/ndrstnd https://github.com/truizlop/ndrstnd $ brew trust truizlop/ndrstnd $ brew install ndrstnd
Connect your agent
ndrstnd reuses your existing Codex or Claude Code session. It never stores a token itself.
$ ndrstnd auth login
Teach your agent
Install the skill for Codex and Claude Code so finished tasks arrive as ndrstnd workspaces.
$ ndrstnd skill installUnderstand a branch
Compare any branch to its merge-base and open the story. Use --base main to review the checked-out worktree, staged and unstaged changes included.
$ ndrstnd review feature/my-change --repo /path/to/repositoryArtifacts are written to the reviewed repository's .ndrstnd/ directory and stay private to your working copy. When you add ndrstnd to a repo, add .ndrstnd/ to its .gitignore so review artifacts never end up in version control.
The point
Comprehension, not critique.
ndrstnd deliberately doesn't leave review comments, doesn't score your agent, and never edits the branch. It explains the implementation story, the evidence, and the risk signals, then gets out of the way. The judgment stays yours.
For critique, keep your review workflow. ndrstnd makes sure you understand what you're judging.