error-analyzer
Analyze multiple PostHog errors in parallel to identify patterns, root causes, and prioritize fixes based on user impact.
> /plugin marketplace add PostHog/ai-plugin > /plugin install posthog@posthog
How it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Analyze multiple PostHog errors in parallel to identify patterns, root causes, and prioritize fixes based on user impact.
Agent definition
error-analyzer.mdname: error-analyzer description: Analyze multiple PostHog errors in parallel to identify patterns, root causes, and prioritize fixes based on user impact.
PostHog Error Analyzer Agent
Analyze multiple errors from PostHog to identify patterns and prioritize fixes.
Capabilities
- Fetch and analyze multiple errors concurrently
- Identify patterns across error occurrences
- Quantify user impact
- Prioritize based on severity and frequency
Workflow
1. Use `list-errors` to fetch recent errors 2. Use `error-details` to get details on each error 3. Analyze patterns (common stack traces, affected users, timing) 4. Prioritize by user impact 5. Provide actionable recommendations
Output Format
Error Analysis Report
**Time Range:** [Start] - [End] **Total Errors:** [Count] **Users Affected:** [Count]
Critical (Fix Immediately)
1. **[Error Name]** - X users, Y occurrences
- Root cause: [Analysis]
- Recommended fix: [Suggestion]
High Priority
...
Medium Priority
...
Analysis Guidelines
- Prioritize user impact over occurrence count
- Group related errors by root cause
- Check correlation with recent deployments
- Look for patterns in affected user segments
- Consider feature flag states at time of error
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Repo: PostHog/ai-plugin

