/subtext:subtext-searchfrom subtext
Searches Subtext sessions by behavioral predicates like page navigations, custom events, and failed network requests within a time window. Use when you need sessions matching a behavior rather than a specific user or session URL.
Ships in subtext. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
PREREQUISITE: Read
subtext-sharedfor MCP conventions andsubtext-sessionfor thereview-*catalog and session-identifier forms.
review-search finds sessions by what happened in them — "visited /checkout and got a 4xx/5xx from checkout/pay". It scans the org over a time window and returns sessions to hand to review.
Read the tool schema for parameters and operators; it's complete and self-describing. Below is only what the schema and its error messages don't tell you.
| You have | Use |
|---|---|
A behavior or symptom, including an app URL sessions visited or requested (/checkout) | review-search |
| A Fullstory session URL, naming one recorded session | review-open directly — skip search |
| One known user and no behavior to filter on | review-list-sessions — it does no signal filtering |
Two different things get called a URL here. A Fullstory session URL identifies one recorded session, so open it directly. An app URL like /checkout or checkout/pay is something sessions visited or requested — that's a search predicate (navigate.url, network.url), and having one is a reason to search, not to skip it.
Then hand off: review-search → review-summary to triage candidates → review-open → review-zoom / review-snapshot.
The index holds three kinds of signal, and nothing else:
navigate.urlcustom.event_namenetwork.*, but only status >= 400Successful requests, clicks, and console messages are not indexed and can never match. A predicate over a 2xx status matches nothing at all, and a not_has over one is vacuously true for every session — so build absence checks over navigations or custom events instead. A session that did something unindexed still has it in the replay; search just can't find the session by it.
Results are ordered by last activity, most recent first — not by when the session started, so a long-running older session can outrank one that started later. The response displays only started, so the sort key isn't visible in the output. On a busy org the top of the list turns over fast: an identical query re-run seconds later can return a different set.
since / time_range is required. Passing both is rejected, not merged.and / or wrap an operands array — {"and": {"operands": [ … ]}}, not a bare array.operands accept any node, including another junction, so trees nest to any depth.count is an object — {"gte": 3}, not 3.not_has is a negated leaf with the same body as has. It takes no operand list.The operands, count, and not_has shapes reject with a raw unmarshal error naming an internal type rather than the fix. Every other rule announces itself clearly, so send the query and read the error.
Reached /checkout, never reached /confirmation, and either a failed checkout/pay request or a payment_declined event:
{
"since": "7d",
"where": { "and": { "operands": [
{ "has": { "match": { "navigate": { "url": { "contains": "/checkout" } } } } },
{ "not_has": { "match": { "navigate": { "url": { "contains": "/confirmation" } } } } },
{ "or": { "operands": [
{ "has": { "match": { "network": { "url": { "contains": "checkout/pay" },
"status": { "gte": 400 } } } } },
{ "has": { "match": { "custom": { "event_name": { "eq": "payment_declined" } } } } }
] } }
] } }
}
Every response echoes how the server parsed the tree:
Predicate: (navigate url contains "/checkout" AND NOT (navigate url contains "/confirmation") AND (network url contains "checkout/pay" and status >= 400 OR custom event_name eq "payment_declined"))
Read it before trusting the results. A query that parses but doesn't mean what you intended shows up there, never as an error — and zero matches is ambiguous on its own, since it could mean the predicate was wrong, the window was too narrow, or the signal isn't indexed.
Each call charges 1 credit. Validation runs before any work, so a rejected query fails the same way every time — fix it rather than re-sending. A "retry shortly" message is the transient case and is worth another attempt.
subtext-session — the review-* catalog and session-identifier formssubtext-review — the structured-summary workflow once you've opened a matchWhat SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/sightmap-authoringUse when building or maintaining a sightmap corpus — defining components, authoring .sightmap/ YAML, seeding from a live site or the codebase, running snapshot/coverage/validate/lint, or diagnosing coverage gaps. Activate whenever a .sightmap/ directory is present in the project./sightmap-browserUse when driving a live browser session with a sightmap — starting or navigating a Chrome session, taking annotated component snapshots to read page state, and interacting with elements by component ID or component query. Activate when a .sightmap/ directory is present and you need to observe or act on the running app./subtext-privacyPrivacy rule management — detect PII in sessions and manage element-block, URL, and network privacy rules. Use when you need to propose, create, list, delete, or promote privacy rules for a Fullstory org.npx claudepluginhub fullstorydev/subtext --plugin subtextOther plugins' skills for the same job