BeClaude

posthog

Official PluginData & Analyticsby Anthropic

Access PostHog analytics, feature flags, experiments, error tracking, and insights directly from Claude Code.

First seen 4/17/2026

Summary

This skill integrates PostHog directly into Claude Code, enabling you to query analytics, manage feature flags, run experiments, and debug errors without leaving your terminal.

  • It streamlines product and engineering workflows by providing real-time access to your PostHog data.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install posthog@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Query user event counts or trends for a specific time period to understand feature adoption.
Toggle or create feature flags to control rollout percentages for A/B tests.
Review error tracking data to identify and debug the most frequent exceptions.
Analyze experiment results to determine statistical significance and decide on feature releases.
Retrieve cohort or funnel analysis to track user conversion through key actions.
List and inspect session recordings to debug user behavior issues.

Usage Examples

1

/posthog Show me the number of sign-ups in the last 7 days.

2

/posthog Create a feature flag named 'new-dashboard' with 50% rollout for beta users.

3

/posthog What are the top 5 errors in the last 24 hours?

View source on GitHub

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is posthog?

This skill integrates PostHog directly into Claude Code, enabling you to query analytics, manage feature flags, run experiments, and debug errors without leaving your terminal. It streamlines product and engineering workflows by providing real-time access to your PostHog data.

How to install posthog?

To install posthog: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install posthog@<marketplace>. Finally, /plugin in Claude Code.

What is posthog best for?

posthog is a plugin categorized under Data & Analytics. Created by Anthropic.

What can I use posthog for?

posthog is useful for: Query user event counts or trends for a specific time period to understand feature adoption.; Toggle or create feature flags to control rollout percentages for A/B tests.; Review error tracking data to identify and debug the most frequent exceptions.; Analyze experiment results to determine statistical significance and decide on feature releases.; Retrieve cohort or funnel analysis to track user conversion through key actions.; List and inspect session recordings to debug user behavior issues..