Prism 2.0 is local software intelligence that catches what your coding agent missed. It gives the agent the right files before it edits, then checks the change. Everything runs on your machine. This is a clean break from 1.x.
Start
- `npm i -g @prismapp/cli && prism start` installs Prism for the agents it finds (Claude Code, Cursor, Codex, opencode), indexes the repo, prints the top of the map and shows what to try.
prism installdoes the same per host. The CLI ships the matching MCP server and hook pack; the versions move in lockstep. - Install records what it writes, and uninstall removes exactly that. Installing over 1.x removes 1.x data; valid custom lenses and config keys are kept.
- Hooks stay current after an upgrade. When a release changes Prism's hooks, the next Claude Code session updates Prism's own entries in
settings.json, keeps your other hooks and writes a backup next to the file. If Prism's entries were edited by hand, Prism leaves them and prints one line with theprism installcommand to run.prism doctorshows the same check, andprism doctor --fixapplies the update. - New
prism statsandprism doctor --fix.prism doctor --surfaceslists every Prism entry each host can see. prism strength full|lite|offsets how much the hooks do.
Before the edit
- Prepare: the automatic file list holds at most 3 files Prism is sure of, with nearby tests and one run command. Files that changed in the same commits are ranked into that list.
- The prompt hook runs in one Node process, inside the 1 s budget, with the same behaviour for Claude Code, opencode and the daemon-off path.
graphgainsmapandsymbolmodes;prism graph mapprints a compact repo map.
After the edit
- Receipts put the verdict first: SHIP, NOT PROVEN (with the cheapest command that would prove it) or NO-SHIP. Checks run your typecheck, lint and the tests the change reaches.
- Review is
guard_sessionwithreview: true. Findings say what, where, how to fix it, and the risk if you skip it. - Lenses are shared by every repository, with nine data-backed checks and custom trigger phrases.
prism review --lens <name>prints one lens's checks (✓ passed, △ unproven, ✗ failed) with evidence. test_impactreturns a ready command for each package. Blast radius works per symbol, and type-only imports no longer count as cycles.
Agents
- New
habitstool andprism habitcommand for saved routines. Prism stores the steps; your agent runs them. - One
prismskill replaces five earlier ones: prism-review-pr, prism-safe-change, prism-onboard, prism-lens and prism-habits. - Every tool takes
maxTokens(200–12,000).
Removed
- The 1.x VS Code and Cursor extensions, app-shell, playground, Dispatch, and the 1.x tool names and environment variables.