finding-replay-for-issue
Skill by PostHog
Finds the most informative PostHog session replay linked to an error tracking issue. Built for developers who want to see what a user did before an error occurred.
Install finding-replay-for-issue
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/replay/skills/finding-replay-for-issue ~/.claude/skills/finding-replay-for-issueRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install finding-replay-for-issue in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/replay/skills/finding-replay-for-issue ~/.gemini/antigravity-cli/skills/finding-replay-for-issueAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install finding-replay-for-issue in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill finds the session recording that best shows what led to a PostHog error tracking issue. It fetches the issue details, then queries exception events for up to 20 linked sessions from the last 30 days. Sessions under 10 seconds or over 1 hour are filtered out.
The remaining candidates are ranked by sweet-spot duration of 2 to 15 minutes, active time ratio, activity score and recency. The skill then presents the chosen replay, the pages visited before the error and how often the error occurred. It is aimed at users who want to watch what a person was doing when an error happened, without picking through many recordings by hand.
Written from the project's SKILL.md and checked against it.
What it can do
- posthog:query-error-tracking-issueGets issue details such as fingerprint, name, description, status and volume.
- posthog:execute-sqlFinds session IDs for exception events that share the issue fingerprint.
- posthog:query-session-recordings-listFetches recording metadata for candidate sessions to rank them.
- posthog:session-recording-getGets full details for the selected recording.
- posthog:vision-observations-listChecks for an existing Replay Vision AI summary of the recording.
- posthog:vision-scanners-scan-sessionRuns a summarizer scanner on the recording. Optional and slow.
What you need
- PostHog account with error tracking and session replay
- PostHog tools available to the AI assistant
- Error tracking issue ID
- Replay Vision summarizer scanner for optional AI summaries
Try asking
- Show me a replay for error tracking issue 12345
- Find the most useful recording for this error tracking issue
- Summarize what the user did before this error using Replay Vision
Good to know
- Only looks at sessions from the last 30 days.
- Checks up to 20 candidate sessions per issue.
- Replay Vision scans are optional and can take several minutes.
- A scanner can only observe a given session once.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/replay/skills/finding-replay-for-issue/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to finding-replay-for-issue
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
finding-replay-for-issue: common questions
How does it choose the best replay for an error?
It filters out sessions under 10 seconds and over 1 hour, then ranks the rest by duration, active time ratio, activity score and recency.
What happens if an issue has very few linked sessions?
When there are fewer than 3 linked sessions, the skill skips ranking and presents what is available with a note about the small sample.
Why might exception events have no session ID?
The source says session replay may not be enabled for the affected users, which is a possible gap to mention.
How do I install finding-replay-for-issue?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is finding-replay-for-issue free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is finding-replay-for-issue safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to finding-replay-for-issue?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
