session-replay
Find and surface relevant session replays for debugging, UX research, and understanding user behavior. Use this skill whenever someone asks about session…
от CognitionAI★ 42 звезды на GitHub
Установить session-replay в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Session Replay Finder
Find relevant session replays to debug issues, conduct UX research, or understand how users interact with your product. Session replays are recordings of real user sessions that show exactly what a visitor saw and did.
Parameters
- visitor_id: Optional — find sessions for a specific visitor.
- account_id: Optional — find sessions for a specific account.
- page_name: Optional — find sessions involving a specific page.
- timeframe: The time period to search (default: last 7 days, max: 31 days).
- min_duration: Minimum session duration in minutes (default: 2 minutes).
- min_activity: Minimum activity percentage (default: 5%).
Step 0: Determine Subscription and App Context
Before querying, you need the subscription ID. Use list_all_applications to get available subscriptions and apps. If there's only one subscription, use it. If there are multiple, ask the user which one to use.
Store the subId for all subsequent calls.
Step 1: Clarify Search Criteria
Understand what the user is looking for. Common scenarios:
- Specific visitor sessions — the user provides a visitor ID or name.
- Sessions on a particular page — the user names a page or feature.
- Sessions with frustration signals — the user wants to find rage clicks, errors, dead clicks, or u-turns.
- High-activity sessions for UX research — the user wants to see engaged sessions.
- Account-level sessions — the user wants to see sessions from a specific account.
Resolving page or feature names
If the user provides a page or feature name (not an ID), resolve it first using searchEntities:
- Use
itemType: ["Page"](or["Feature"]) with the user's search term. - If multiple results match, present them and ask the user to pick — just like in the account-health skill. Show the page/feature name, ID, and any description to help disambiguate.
- Once confirmed, use the
pageIdin the session replay query.
Resolving account names
If the user provides an account name, use searchEntities with itemType: ["Account"] to find the account ID. Follow the same disambiguation pattern as the account-health skill — present matches with a ⭐ Recommended tag based on activity signals, and confirm before proceeding.
Step 2: Find Session Replays
Use sessionReplayList to find matching recordings.
Query parameters:
- startDate / endDate: Based on the user's timeframe. Default to the last 7 days. Maximum range is 31 days — if the user asks for more, let them know and cap at 31. Both dates are inclusive, so "last 7 days" means endDate = today and startDate = today minus 6 days (not 7). For the maximum 31-day window, use today minus 30 days as the start. Getting this off by one will cause an API error.
- visitorId: If searching for a specific visitor.
- accountId: If searching for a specific account.
- pageId: If searching for sessions on a specific page (resolved in Step 1).
- minDuration: Convert the user's minutes to milliseconds. Default is 120000ms (2 minutes).
- minActivityPercentage: Filter out low-activity sessions. Default is 5%.
If the user hasn't specified filters, use the defaults (last 7 days, 2 min duration, 5% activity) and let them know what defaults you're using so they can adjust.
Handling empty results
If the initial query returns no sessions, don't just report "no results found" — try to help:
- Widen the date range. If you started with 7 days, automatically retry with 31 days (the maximum) and let the user know you expanded the window.
- Relax filters. If you used a page or feature filter and got nothing, try dropping it and searching broadly, then mention that no sessions matched the specific page but here are recent sessions from the account/visitor.
- Lower thresholds. If duration or activity filters are high, try reducing them.
Only report "no sessions found" after you've exhausted these fallbacks. When you do widen the search, always tell the user what you changed so they understand the results.
Step 3: Enrich Results with Context
For the top results returned, gather additional context to make the replays more actionable:
Tools: visitorQuery, accountQuery
- Look up visitor metadata (name, email, account) for the visitors in the top sessions.
- Look up account information if account IDs are present in the results.
- Note frustration events from the replay metadata — the session replay results include counts of rage clicks, dead clicks, error clicks, and u-turns.
This enrichment helps the user quickly identify which sessions are worth watching without having to open each one.
Step 4: Rank and Present Results
Prioritize sessions based on the user's intent. The default ranking favors actionable sessions:
- Frustration signals — sessions with rage clicks, dead clicks, u-turns, or error clicks bubble up first. These are the most likely to reveal real problems.
- **Activity
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл session-replay?
Find and surface relevant session replays for debugging, UX research, and understanding user behavior. Use this skill whenever someone asks about session replays, wants to watch how users interact with their product, needs to debug a user issue by seeing what happened, or wants to find sessions with frustration signals like rage clicks or errors. Also trigger when users mention watching recordings, finding replays for a specific visitor or page, investigating UX problems, or looking for sessions with high activity — even if they don't say "session replay" explicitly.
Как установить скилл session-replay?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл session-replay запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…