/subtext:subtext-privacyfrom subtext
Privacy rule management — detect PII in sessions and manage element-block, URL, and network privacy rules for a Fullstory org.
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.
Privacy tools manage three kinds of rules that control what Fullstory session recordings capture:
| Tool | Description |
|---|---|
privacy-propose | Scan a session for PII and return suggested selectors (dry-run — persists nothing). Element rules only. |
privacy-create | Create element-block rules from selectors in preview scope. |
privacy-list | List existing element-block rules, with optional scope/type filters. |
privacy-delete | Delete preview-scoped rules by ID. |
privacy-promote | Promote preview-scoped rules to apply to all sessions. |
privacy-url-list | List URL privacy rules. |
privacy-url-create | Create a URL privacy rule that scrubs host/path/query, or update one in place by passing guid. Live immediately. |
privacy-network-list | List network (request/response body) privacy rules. |
privacy-network-create | Create a network privacy rule (elide or allowlist body fields), or update the existing rule for a url_regex by passing overwrite=true. Live immediately. |
Listing and creation are supported for all three rule kinds. There's no separate update tool for URL/network rules — privacy-url-create/privacy-network-create double as update when you pass guid/overwrite. Deletion is only supported for element rules today.
Rules always start in preview scope (PREVIEW_SESSIONS_ONLY) and must be explicitly promoted to apply broadly:
propose (dry-run)
│
▼
create → PREVIEW_SESSIONS_ONLY
│
▼
list / verify
│
▼
promote → ALL_SESSIONS
│ ─ or ─
▼
delete (preview only)
Unlike element rules, URL and network rules have no scope and no preview/promote lifecycle. privacy-url-create and privacy-network-create take effect for all sessions immediately — there is nothing to promote, and (for now) nothing to delete via MCP. Double-check a rule before creating it; use privacy-url-list / privacy-network-list afterward to confirm what's live.
privacy-url-create takes a name plus either simplified fields or a raw advanced override:
privacy-url-create name="scrub-ssn-param" match_host="example\.com" exclude_query_params=["ssn"]
This redacts the ssn query parameter's value (not its key) on URLs whose host matches example\.com. Leave match_host/match_path both empty for an unconditional rule (applies to every URL). Use exclude_path / exclude_query for a raw regex against the path or full query string instead of a named param. Use advanced (structured if/exclude pattern sets over hash/host/path/query_param/query) only when the simplified fields can't express the rule.
Updating a URL rule: pass the rule's guid (from privacy-url-list) to replace it in place instead of creating a new one:
privacy-url-create guid="<guid>" name="scrub-ssn-param" match_host="example\.com" exclude_query_params=["ssn", "token"]
Update is a full replace, not a merge — pass the complete desired state (name, condition, exclusions), not just the field you're changing. Built-in rules (part of the default rule set created at privacy settings setup) cannot be updated this way.
privacy-network-create takes a url_regex plus request/response body handling:
privacy-network-create url_regex="/api/checkout/.*" request_body="whitelist" request_allowlist_fields=["order_id", "status"]
Only elide (default, redact the whole body) and whitelist (keep only named fields) are supported for automated creation/update — record (capture the full body) increases data capture and must be set up manually. Rules are keyed by url_regex; without overwrite, creating a rule for a regex that already has one is a no-op.
Updating a network rule: pass overwrite=true to replace the existing rule for that url_regex instead of skipping it:
privacy-network-create url_regex="/api/checkout/.*" request_body="whitelist" request_allowlist_fields=["order_id", "status", "total"] overwrite=true
privacy-propose is always a dry-run. It returns suggested selectors but persists nothing. Use it to preview before committing.privacy-create only supports mask and exclude block types. Unmask rules cannot be created via this tool.privacy-delete only accepts preview-scoped rules. Promoted rules cannot be deleted here.privacy-promote also rejects unmask rules — only mask and exclude rules can be promoted.include_system=true to privacy-list to see them. These rules cannot be deleted or promoted.privacy-url-create and privacy-network-create rules go live for all sessions immediately — there's no preview scope to validate in first.privacy-network-create rejects record for request/response body mode; only elide and whitelist are allowed.privacy-propose session_url=<url>
Returns a list of CSS selectors the auto-configure pipeline identified as likely PII, with suggested rule names. Inspect the list — reject any false positives before proceeding.
privacy-create selectors=[{"selector": ".email-field"}, {"selector": "#ssn"}]
Rules land in PREVIEW_SESSIONS_ONLY scope. They only apply to preview sessions until promoted.
privacy-list
privacy-list scope_filter=preview
Review what was created. Note the rule_id values — you'll need them for delete or promote.
Promote to activate for all sessions:
privacy-promote rule_ids=["<id1>", "<id2>"]
Delete if the rule was wrong:
privacy-delete rule_ids=["<id1>"]
propose without reviewing the output — it's a starting point, not ground truth. Inspect selectors for false positives before creating rules.delete only works on preview-scoped rules.unmask as block_type in create — this is rejected. Unmask rules are system-managed.privacy-url-create / privacy-network-create land in a preview scope like element rules — they don't. They apply to all sessions the moment they're created, so double-check the pattern/regex before calling.request_body="record" (or response_body="record") in privacy-network-create — this is rejected; only elide and whitelist are supported for automated creation.guid to privacy-url-create with only the field you want to change — update is a full replace, so omitted fields (name, condition, exclusions) are lost, not preserved. Fetch the current rule from privacy-url-list first and resend its full state.overwrite=true on privacy-network-create when you meant to change an existing rule — without it, a matching url_regex is silently skipped, not updated.subtext-shared — MCP conventionssubtext-session — session replay tools (for obtaining a session URL to pass to propose)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fullstorydev/subtext --plugin subtext11 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-reviewReview a completed Subtext session and produce a structured summary. Use when you have a session URL and want to understand what happened — verify a flow, walk through a dev / staging / preview session, or summarize a captured session. Optionally emits reproduction steps on request./subtext-searchFind Subtext sessions by what happened in them — a predicate tree over page navigations, custom events, and failed network requests within a time window — then hand a match off to session review. Use when you don't have a session URL and need sessions matching a behavior, not a specific user./subtext-sessionSession replay tools for analyzing Fullstory session recordings. Sparse API catalog — tools are self-describing./subtext-setup-pluginInstall the Subtext plugin and verify the MCP server is connected. Authenticates via OAuth or API key.Other plugins' skills for the same job