Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Replay Vision Setup

ASecurity

Set up PostHog Replay vision. Makes sure session replay is recording (server-side enable plus a posthog-js init check), then creates vision scanners scoped to the product's key flows, read out of the repo. Scanners watch each new session recording with an LLM and report scores, tags, and summaries as queryable events.

2 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentsrustbackendsecurity

Works with

climcp

Security Analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned 9/19/2026

$npx -y skills add Aymenjdily/biblion-testing-agentic-ai-skills --skill replay-vision-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Replay Vision Setup?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Replay Vision Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aymenjdily-replay-vision-setup/badge)](https://www.skillsdirectory.com/skills/aymenjdily-replay-vision-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: replay-vision-setup
description: >-
  Set up PostHog Replay vision. Makes sure session replay is recording
  (server-side enable plus a posthog-js init check), then creates vision
  scanners scoped to the product's key flows, read out of the repo. Scanners
  watch each new session recording with an LLM and report scores, tags, and
  summaries as queryable events.
metadata:
  author: PostHog
  version: 1.51.0
---

# Set up PostHog Replay vision

Use this skill to set up **Replay vision** for a user's product: make sure session replay is actually recording, then create vision scanners tailored to this product's key flows. A scanner is an LLM that watches one session recording at a time and writes an observation - a score, a tag, or a summary - and every observation lands as a queryable PostHog event.

The run has two halves, and both matter:

1. **Recordings must flow.** Scanners only see what session replay records, so the server-side recording toggle must be on and the client init must not cancel it.
2. **Scanners must be tailored.** You are the only actor that has read this repo. A scanner scoped to *this* product's completion flow is worth ten generic ones.

The mechanics live in dedicated step skills - install each one with `install_skill` when its step begins, and follow it:

| skill id | owns |
| --- | --- |
| `replay-vision-enable-replay` | making session replay record (both halves) |
| `replay-vision-scanners-core` | scanner create/update mechanics, sizing, collisions, security ground rules |
| `replay-vision-scanner-broken-experiences` | the breakage monitor brief |
| `replay-vision-scanner-user-frustration` | the frustration monitor brief |
| `replay-vision-scanner-session-summaries` | the summary scanner brief |

### Abort cases

If anything blocks the whole run, **always** emit exactly one `[ABORT] <reason>` line and stop - never halt silently. Use one of:

- `[ABORT] replay vision not available for this project` - every scanner endpoint 404s (see STEP 3).
- `[ABORT] <short specific reason>` - anything else that blocks the run. Keep it short and specific.

A missing single tool, a 403 on one call, or an org near its quota are **not** aborts - they are recorded follow-ups (see the steps).

## Instructions

Follow these steps IN ORDER.

### STEP 1: Read the project and the repo

Emit `[STATUS] Reading project state`.

- From the project state / MCP tools, note: is session replay recording on, does the project have recordings, and what scanners already exist (`vision-scanners-list` via the PostHog `exec` tool).
- From the repo: is PostHog integrated (`posthog-js` / a server SDK in the dependency manifests, a snippet, or events in the project state)? **If it is not, do not stop** - install and initialize the SDK first, following the `integration-v2-install` and `integration-v2-init` skills (install each with `install_skill`). The minimal SDK footprint they leave behind is enough for recordings to flow; skip identify, capture, and dashboards - this run sets up Replay vision, not the full integration.
- Find the `posthog.init(...)` call if this is a web app, and identify **this product's key completion flow** - checkout, signup, booking, publish, whatever this product's "done" is - by reading router files and page/route directories. Never guess at `/checkout` if this app calls it `/booking`.

### STEP 2: Make sure session replay records

Emit `[STATUS] Enabling session replay`.

Install and follow `replay-vision-enable-replay`. Pure backend or mobile app with no web surface: nothing records browser sessions here. Say so, record it as a follow-up, and continue - scanner creation may still be skipped in STEP 4 for the same reason.

### STEP 3: Load the scanner mechanics and size before you ship

Emit `[STATUS] Preparing scanners`.

Install and follow `replay-vision-scanners-core`. It owns loading the authoritative `creating-replay-vision-scanners` skill, the size-before-you-ship credit gut-check, the endpoint-availability fallbacks, and the collision and security ground rules that apply to every scanner.

### STEP 4: Create the scanners

Emit `[STATUS] Creating scanners`.

Create three scanners, one brief each, in this order:

1. `replay-vision-scanner-broken-experiences` - the completion-flow breakage monitor.
2. `replay-vision-scanner-user-frustration` - the `$rageclick` frustration monitor.
3. `replay-vision-scanner-session-summaries` - the sampled summarizer.

Install each skill, fill the blanks its brief names from the repo, and create with `vision-scanners-create` - `replay-vision-scanners-core` owns what is locked and how re-runs match. Reuse STEP 1's scanner inventory for the re-run check instead of listing again. Don't invent extra scanners.

Per-scanner notes:

- **No identifiable completion flow** for scanner 1: don't invent one - fall back to the handful of highest-traffic paths, and record that you couldn't identify a completion flow.
- **Not a web app**: skip scanner 1; keep scanners 2 and 3 only if the product has any recorded web sessions at all. Skipping all three on a pure backend project is a correct outcome - record why.
- Any failure on one scanner: handle it as `replay-vision-scanners-core` says, record the follow-up, and continue with the next. One failure never stops the step.

### STEP 5: Report and hand off

Emit `[STATUS] Wrapping up`.

Write the report to `./posthog-replay-vision-report.md` (the wizard shows this file at the end of the run), then summarize it for the user. Cover, briefly and concretely:

- What is now recording (or the follow-up needed to make it record).
- Each scanner created or updated: its name, what it watches, its query scope, and its estimated monthly credit spend.
- Anything skipped or deferred, with the reason.
- Where results appear: the Replay vision page in PostHog, with the first observations arriving as new recordings complete.

Attribution

AymenjdilyAymenjdily
View sourceSee grades on GitHubMore from Aymenjdily →
SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1087401 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

697551 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →