The fast path: setup wizard
The quickest way to install Subtext is the setup wizard. Run it from your project root, answer a few prompts, and it handles everything automatically.1
Run the wizard
Open a terminal in your project directory and run:The wizard detects which AI coding agent you are using — Claude Code, Cursor, Codex, or a custom harness — and tailors the setup to match.
2
Let the wizard wire up capture
The wizard inspects your project, identifies your framework (Next.js, React, Vite, Remix, or plain HTML), and injects the Subtext capture snippet into the right place. The snippet loads
fs.js from Fullstory’s edge network and starts recording every production session. Form inputs are masked automatically from the very first session.3
Connect your agent via MCP
The wizard configures the Subtext MCP server for your agent and registers the session review skills and slash commands. After this step your agent knows how to call tools like
review-open, review-zoom, review-snapshot, and review-close.4
Verify the connection
Once the wizard completes, ask your agent to list recent sessions:Your agent reads the app map, opens a session, and returns a digest of what happened. If sessions appear, setup is complete.
What you get after setup
Once the wizard finishes, your agent can:- List sessions with
review-list-sessions— returns numbered session URLs and timestamps so your agent can pick where to start - Open any session with
review-open— returns a session handle, the semantic app map, and a digest rollup of what happened - Get a static summary with
review-summary— returns a frozen “what happened” summary at the default zoom level - Zoom into moments with
review-zoom— adjusts resolution and time window over the event stream to focus on exactly when something went wrong - Capture UI snapshots with
review-snapshot— returns a screenshot, component tree, and bounding boxes at any point in the session - Close the session with
review-close— closes the session handle and records feedback - Run privacy governance — scan sessions for leaking PII, propose masking rules, and promote approved rules to every future session
/subtext:review for end-to-end session diagnosis, /subtext:session for a catalog of session replay tool usage patterns, and /subtext:shared for MCP conventions and security rules.

