designing-replay-vision-scanners
Qué hace
Esta skill te ayuda a escribir una buena pregunta para un escáner de IA sobre grabaciones de sesión, para que sus respuestas sean fiables. Está pensada para quien quiere hallazgos fiables en lugar de suposiciones vagas.
Cuándo usarla
- ✓Cuando quieres que un escáner de IA responda a una pregunta concreta sobre grabaciones.
- ✓Cuando los resultados de un escáner parecen vagos, supuestos o poco fiables.
- ✓Cuando quieres probar el prompt de un escáner con un conjunto pequeño de grabaciones primero.
Link de la skill
https://github.com/PostHog/posthog/blob/master/products/replay_vision/skills/designing-replay-vision-scanners/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Ayúdame a diseñar un escáner que me diga si los usuarios realmente vieron el mensaje de error en la página de pago.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Comprueba que la pregunta pueda responderse a partir de una sola grabación, elige el tipo de respuesta, reduce las grabaciones a las que puedan responderla y pide al escáner que muestre pruebas en pantalla. Después prueba el primer lote.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Designing Replay Vision scanners
A scanner is one prompt applied to one recording at a time. It watches the recording and writes an observation. Replay Vision fixes the watching part. It does not fix the thinking part. The thinking is the design work this skill covers.
Every scanner that produces useful observations shares three properties:
- One focused question that only the recording can answer.
- A recording query that selects only sessions able to answer it.
- Permission to answer no or inconclusive.
Design in this order: question, type, query, prompt, model, first-batch test. Then hand off to [[creating-replay-vision-scanners]] for sizing and the create call.
Step 1: Test the question
Write the question in one sentence before you touch the API. Then run three checks.
Only the recording can answer it. If an event already answers the question, build an insight instead. A rage click event already proves the rage click. The scanner question must add something the event cannot: "did the clicked control actually fail?"
One recording answers it. A scanner sees one recording and cannot compare it with recordings it has never seen. Push every cross-session question to a scout, a digest, or product analytics. Comparisons between experiment variants, trends over time, and "how common is this" all live outside the scanner prompt.
The answer has a fixed shape. A yes or no with proof. One tag from a short list. A score on a stated scale. A summary with fixed labeled lines. If you cannot name the answer shape, you do not have a question yet.
Reject these questions and rewrite them:
- "Flag anything interesting." The model then decides what matters. That is the user's job.
- "Summarize what happened." Nobody reads a pile of plausible session summaries.
- "Compare the variants." One recording holds one variant.
- "Explain why they gave a low score." The recording shows behavior, not motive.
If the user has specific sessions in front of them and a one-off question, they do not need a scanner. Use vision-scanners-inline-scan instead.
Step 2: Pick the type from the answer shape
| Answer shape | Type | Design rule |
|---|---|---|
| Yes or no, with proof | monitor |
Set allow_inconclusive: true when many matched sessions never reach the flow in question. Yes only when the proof is on screen. |
| One label from a short list | classifier |
Keep 5 to 9 tags. Always include an escape tag. multi_label defaults to true; set it false unless one session carries several jobs. |
| A number on a rubric | scorer |
Use when the distribution matters more than any single observation. Define both ends of the scale in the prompt. |
| A fixed set of labeled lines about one recording | summarizer |
Name the lines in the prompt (for example Journey, Friction, Outcome, Evidence). Never ask for free prose. |
scanner_type is locked after creation. Get this right before the create call.
Escape tags for classifiers are not optional. A classifier must pick a tag. Without nothing-broken, never-reached, cant-tell, or inconclusive in the list, the model invents friction on sessions that contain none. Make the escape tag exclusive: the prompt must say it never combines with a defect tag.
Use allow_freeform_tags: true only when the goal is taxonomy discovery, and say so in the prompt: "invent a short snake_case tag only when the recording clearly shows a job outside this list". The tag vocabulary lives in tags, so the prompt describes the dimension and does not need to restate the list. If the prompt does define each tag, keep the two lists identical. Freeform tags hide drift between them, so re-read both together after every edit.
Step 3: Aim the query
The query decides which recordings deserve a judgment. The prompt decides what judgment to make. A better query improves quality more than another paragraph of prompt.
Build the query from the project's real data. Call read-data-schema with `{"query": {"kind
Preguntas frecuentes
¿Por qué la pregunta debe caber en una sola grabación?
Un escáner ve una grabación cada vez y no puede comparar sesiones, así que las tendencias corresponden a la analítica de producto.
¿Puede un escáner decir que no lo sabe?
Sí. El prompt permite una respuesta negativa o no concluyente, así que el escáner no tiene que adivinar.
¿Crea esta skill el escáner?
Primero está el diseño. El dimensionamiento y la creación del escáner los gestiona otra skill.
Detalles
Descripción original del autor
Designs a Replay Vision scanner that produces trustworthy observations: one visible question per scanner, a type chosen from the answer shape, a query that selects only sessions able to answer it, a prompt that demands on-screen proof and allows no or inconclusive, a model picked by the cost of a wrong answer, and a first-batch test pass. Sizing and the create call stay in creating-replay-vision-scanners. TRIGGER when: user wants to design, draft, or improve a Replay Vision scanner or its prompt, asks what to scan for, asks why a scanner returns vague observations, or asks an agent to propose
repo: PostHog/posthog
Popularidad
- Estrellas en GitHub
- 41 mil
- Posición en el ranking
- #6911
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
depot-ci
41 milAyuda a tu agente a configurar y ejecutar flujos de Depot CI, una alternativa a GitHub Actions, y a leer los registros de ejecución.
depot-container-builds
41 milAyuda a tu agente a crear imágenes de Docker en los constructores remotos de Depot, incluidas las multiplataforma, y a corregir fallos.
depot-github-runners
41 milAyuda a tu agente a pasar los trabajos de GitHub Actions a runners gestionados por Depot, elegir su tamaño y etiquetas y resolver problemas de configuración.
editing-agents-md
41 milAyuda a tu agente a decidir si una regla debe ir en un archivo AGENTS.md o CLAUDE.md, y a escribirla para que se cumpla sin sobrecargar el archivo.
Skills parecidas
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
slacrawl
394 milPermite que tu agente busque y cuente mensajes en un archivo local de Slack, revise qué tan reciente es y lo actualice cuando haga falta.
goplaces
394 milAyuda a tu agente a buscar lugares, obtener sus detalles y reseñas, y resolver nombres de lugares usando Google Places, con salida JSON para scripts.