devtools

PostHog: Build Smarter

Get product insights with PostHog.
advanced⏱ 1-2 hoursπŸ’΅ Free
39,578 stars3,331 forksPythonGuide quality 8/10Updated 9/3/2026100% free Β· open source
What it is

Build a full analytics and experimentation platform for your product in no time.

Real use case example

"A founder wants to A/B test two new landing pages for their product launch next week. They set up PostHog's experiment feature in 5 minutes, create two versions of the page, and start the experiment within PostHog's dashboard. In just a few days, they'll have real-time data on which page converts better, allowing them to make data-driven decisions and optimize for growth."

Best insideCursorClaude DesktopAny AI Client
When to use it
  • β€’When you need to track user behavior and product metrics in one place
  • β€’When you want to debug code and identify errors with session replay and error tracking
  • β€’When you need to run experiments and gather feedback with feature flags and surveys
Ready-to-paste prompt
posthog capture 'user signed up' --properties '{"plan": "premium"}'
Heads up: You need to replace `YOUR_PROJECT_API_KEY` with your actual PostHog project API key, which can be found in the PostHog dashboard under `Project Settings` > `API Keys`
Saves to your device
Use with Claude
New

Skip the builder β€” one click puts this in Claude, Cursor, Antigravity and more.

πŸ”‘ Needs an API key

Works after you add credentials β€” the setup agent will ask you for them.

Try it instantly β€” no install
Claude Code
mkdir -p ~/.claude/skills/posthog && curl -fsSL https://workflowstacks.com/api/skills/posthog/claude-skill -o ~/.claude/skills/posthog/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go β€” no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How PostHog: Build Smarter works
Codeflow
Free to inspect

PostHog: Build Smarter is a very large Python project (~6.4M lines across 32074 code files, plus 5657 test files). Setup is light: installs like a normal app β€” add your API keys. Reading the code is optional. Last commit this month, Other license, has a test suite.

Size
Very large codebase
~6.4M lines Β· 32074 code files Β· days to read β€” use, don't read
Setup
One-command install
Installs like a normal app β€” add your API keys. Reading the code is optional.
Runs on
Python Β· Node.js Β· Docker
Needs API keys (.env)
Python 55%TypeScript 36%Rust 7%HCL 1%
Where to start reading
  1. 1
    README.md
    Start here β€” what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    bin/hog
    Where the program starts running
  4. 4
    package.json
    Dependencies and the commands it exposes
  5. 5
    .env.example
    The API keys and settings you must provide
What's in each folder
posthog/Core code β€” the actual logic5379 files
frontend/Frontend / UI7638 files
services/Backend / API1677 files
packages/Sub-packages / plugins593 files
bin/Command-line entry points147 files
cli/Command-line entry points99 files
docs/Documentation337 files
products/Folder23407 files
READMEHas testsDocumentedCI checksDocker readyOther licenseUpdated this month
Quick Actions
Details
Creator
PostHog
Language
Python
Category
devtools
Published
1/23/2020

Are you the creator of this tool? Claim your listing β†’ and earn 85% of every sale.