Links a PostHog error occurrence or session's errors to OpenTelemetry traces, logs with the same trace ID, and Session Replay. Use when the user asks for trace or span IDs on an error, same-trace logs, or backend traces for errors in a session. Starts from an occurrence UUID, session ID, or error tracking issue URL.
安装
npx skills add PostHog/ai-plugin --skill linking-errors-to-tracesnpx skills add PostHog/ai-plugin --skill linking-errors-to-traces -a claude-code -gnpx skills add PostHog/ai-plugin --skill linking-errors-to-traces -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/linking-errors-to-tracesgh skill install PostHog/ai-plugin linking-errors-to-tracesgit clone --depth 1 https://github.com/PostHog/ai-plugin /tmp/PostHog__ai-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__ai-plugin/skills/linking-errors-to-traces ~/.claude/skills/linking-errors-to-traces # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/linking-errors-to-traces ~/.agents/skills/linking-errors-to-traces # Codex, Cursor, Gemini CLI, Copilot, OpenCode