share
A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format.
:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
$ npx -y skills add posthog/posthog --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: posthog/posthog
What's inside
PostHog provides every tool you need to build a successful product, and captures all the context agents need to proactively diagnose problems, uncover opportunities, and ship fixes:
You can steer it all from Slack, web, desktop (PostHog Desktop), or your own editor via the MCP.
Best of all, all of this is free to use with a generous monthly free tier for each tool. Get started by signing up for PostHog Cloud US or PostHog Cloud EU.
The fastest and most reliable way to get started with PostHog is signing up for free to PostHog Cloud or PostHog Cloud EU. Your first 1 million events, 5k recordings, 1M flag requests, 100k exceptions, and 1500 survey responses are free every month, after which you pay based on usage.
If you want to self-host PostHog, you can deploy a hobby instance in one line on Linux with Docker (recommended 4GB memory):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"
Open source deployments should scale to approximately 100k events per month, after which we recommend migrating to a PostHog Cloud.
We do not provide customer support or offer guarantees for open source deployments. See our self-hosting docs, troubleshooting guide, and disclaimer for more info.
Once you've got a PostHog instance, you can set it up by installing our JavaScript web snippet, one of our SDKs, or by using our API. You can also connect the MCP to bring PostHog into Claude Code, Cursor, or any MCP-compatible agent.
We have SDKs and libraries for popular languages and frameworks like:
| Frontend | Mobile | Backend |
|---|---|---|
| JavaScript | React Native | Python |
| Next.js | Android | Node |
| React | iOS | PHP |
| Vue | Flutter | Ruby |
Beyond this, we have docs and guides for Go, .NET/C#, Django, Angular, WordPress, Webflow, and more.
Once you've installed PostHog, see our product docs for more information on how to set up product analytics, web analytics, session replays, feature flags, experiments, error tracking, surveys, data warehouse, and more.
Our code isn't the only thing that's open source 😳. We also open source our company handbook which details our strategy, ways of working, and processes.
Curious about how to make the most of PostHog? We wrote a guide to winning with PostHog which walks you through the basics of measuring activation, tracking retention, and capturing revenue.
We <3 contributions big and small:
For an overview of the codebase structure, see monorepo layout and products.
This repo is available under the MIT expat license, except for the ee directory (which has its license here) if applicable.
Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.
The pricing for our paid plan is completely transparent and available on our pricing page.
Hey! If you're reading this, you've proven yourself as a dedicated README reader.
You might also make a great addition to our team. We're growing fast and would love for you to join us.
.agents/
owners.yaml
security.md
skills/
adding-inbox-sources/
SKILL.md
adding-ingestion-warnings/
SKILL.md
adding-mcp-store-servers/
SKILL.md
adding-personhog-rpc/
references/
database-indexes.md
proto-conventions.md
SKILL.md
adding-product-alerting/
references/
adopting-platform-alerting.md
architecture.md
extending-platform-alerting.md
frontend-alerting.md
SKILL.md
adding-project-secret-api-key-auth/
SKILL.md
adopting-generated-api-types/
references/
migration-patterns.md
type-compatibility.md
SKILL.md
analyzing-experiment-query-performance/
SKILL.md
analyzing-insights-across-teams/
SKILL.md
auditing-llm-gateway-parity/
SKILL.md
auditing-warehouse-source-coverage/
scripts/
dump_source_inventory.py
SKILL.md
authoring-ci-workflows/
SKILL.md
autoresolving-pr-conflicts/
references/
loop-setup.md
scripts/
autoresolve-marker.sh
regen-artifacts.sh
SKILL.md
building-product-empty-states/
SKILL.md
clickhouse-migrations/
SKILL.md
debugging-ci-failures/
SKILL.md
debugging-local-task-agent-runs/
SKILL.md
depot-container-builds/
SKILL.md
UPSTREAM.md
depot-github-runners/
SKILL.md
UPSTREAM.md
django-migrations/
SKILL.md
django-startup-time/
SKILL.md
documenting-warehouse-sources/
SKILL.md
establishing-code-ownership/
SKILL.md
extending-personhog-test-harness/
SKILL.md
finding-llm-gateway-migration-candidates/
SKILL.md
fixing-flaky-tests/
SKILL.md
gating-production-deploys/
SKILL.md
generating-clickhouse-query-performance-reports/
references/
hogql-deep-dive.md
materialization-analysis.md
query-patterns.md
SKILL.md
hogli/
SKILL.md
implementing-agent-modes/
SKILL.md
implementing-mcp-tools/
SKILL.md
implementing-mcp-ui-apps/
SKILL.md
implementing-warehouse-sources/
references/
oauth-app-deployment.md
SKILL.md
improving-drf-endpoints/
references/
common-anti-patterns.md
quick-reference-table.md
serializer-fields.md
viewset-annotations.md
SKILL.md
ingestion-pipeline-doctor-nodejs/
SKILL.md
instrumenting-first-party-metrics/
SKILL.md
isolating-product-facade-contracts/
SKILL.md
manage-dashboard-widgets/
references/
architecture.md
availability-and-gating.md
checklist-new-widget-type.md
composition.md
config-and-codegen.md
layout-and-ux.md
list-widget-patterns.md
live-widgets.md
managing-existing-widgets.md
mcp.md
permissions-and-sharing.md
skill-maintenance.md
widget-intake.md
SKILL.md
managing-github-actions-secrets/
SKILL.md
merging-prs/
SKILL.md
migrating-llm-gateway-callers/
references/
migration-examples.md
SKILL.md
modifying-taxonomic-filter/
references/
architecture.md
call-sites-and-blast-radius.md
common-pitfalls.md
refreshing-product-reality.md
testing-patterns.md
SKILL.md
monitoring-capture-service/
references/
investigation-playbooks.md
SKILL.md
monitoring-ingestion-pipeline/
references/
investigation-playbooks.md
SKILL.md
optimizing-clickhouse-and-hogql-queries/
references/
investigation-playbook.md
learnings.md
SKILL.md
owners.yaml
playwright-test/
SKILL.md
porting-code-prs/
SKILL.md
posthog-desktop/
SKILL.md
qa-frontend/
references/
browser-mcp-patterns.md
cleanup.md
evidence-and-output.md
expected-behavior.md
file-classification.md
pr-comment-template.md
route-finding.md
safety-rules.md
stack-and-login.md
test-case-design.md
scripts/
annotate-evidence.py
cursor-overlay.js
SKILL.md
qa-team/
references/
incident-patterns.md
personas.md
scripts/
build_launch_scripts.js
claim_persona.sh
SKILL.md
query-clickhouse-via-metabase/
SKILL.md
querying-local-postgres/
SKILL.md
querying-tophog/
SKILL.md
react-doctor/
SKILL.md
reviewing-personhog-protocol/
references/
personhog-invariants.md
SKILL.md
run-posthog/
SKILL.md
running-ci-preflight/
SKILL.md
scene-menu-bar/
SKILL.md
security-audit/
SKILL.md
sending-notifications/
SKILL.md
setting-feature-flags-in-storybook/
SKILL.md
setting-up-devbox/
SKILL.md
setup-web-tests/
SKILL.md
stacking-prs/
SKILL.md
survey-sdk-audit/
SKILL.md
triaging-web-analytics-support/
references/
diagnostic-playbooks.md
loading-audit.md
ticket-queries.md
SKILL.md
using-kea-disposables/
SKILL.md
visualizing-change-over-time/
SKILL.md
warehouse-source-new-version/
SKILL.md
writing-clickhouse-queries/
SKILL.md
writing-code-comments/
SKILL.md
writing-evals/
references/
authoring-reference.md
running-evals.md
SKILL.md
writing-kea-logics/
references/
anti-patterns.md
connecting-logics.md
forms.md
keyed-logics.md
loading-data.md
persisting-state.md
polling.md
reacting-to-changes.md
routing.md
state-decision.md
testing.md
SKILL.md
writing-pr-descriptions/
references/
examples.md
SKILL.md
writing-skills/
SKILL.md
writing-tests/
references/
mistakes-we-make.md
SKILL.md
writing-user-facing-copy/
SKILL.md
.claude/
agents/
access-control.md
activity-log-expert.md
code-reviewer.md
ingestion/
pipeline-composition-doctor.md
pipeline-result-doctor.md
pipeline-step-doctor.md
pipeline-testing-doctor.md
prompt-engineer.md
resource-duplication.md
systematic-debugger.md
test-writer.md
commands/
conventions.md
hooks/
install-tool-versions.sh
setup-cloud.sh
setup-code-signing.sh
setup-flox.sh
rules/
clickhouse-migrations.md
django-migrations.md
drf-endpoints.md
generated-api-types.md
kea-disposables.md
product-isolation.md
proto-changes.md
semantic-line-breaks.md
storybook-feature-flags.md
tach-boundaries.md
temporal-workflow-versioning.md
writing-tests.md
settings.json
skills
.codex/
config.toml
environments/
environment.toml
run-with-dotenv.py
with-flox
.config/
.markdownlint-cli2.jsonc
.cursor/
environment.json
rules/
django-python.mdc
react-typescript.mdc
rust.mdc
.cursorignore
.cursorrules
.dagster_home/
.gitkeep
dagster.yaml
workspace.yaml
.depot/
actions/
pnpm-install/
action.yml
setup-python-cached/
action.yml
setup-sqlx-cli/
action.yml
workflows/
ci-backend-update-test-timing.yml
ci-backend.yml
.dockerignore
.editorconfig
.env.development
.env.example
.env.local.example
.env.services
.envrc
.flox/
.gitignore
env/
env.json
direnv-setup.sh
manifest.toml
on-activate.sh
.git-blame-ignore-revs
.gitattributes
.github/
.pinact.yaml
actionlint.yaml
actions/
build-n-cache-image/
action.yml
commit-snapshots/
action.yml
desktop-build-agent-release/
action.yml
desktop-restore-turbo-cache/
action.yml
docker-meta/
action.yml
get-pr-labels/
action.yml
paths-filter/
__tests__/
csv-escape.test.ts
filter.test.ts
git.test.ts
shell-escape.test.ts
.eslintignore
.eslintrc.json
.gitattributes
.prettierignore
.prettierrc.json
action.yml
dist/
index.js
jest.config.js
LICENSE
package-lock.json
package.json
README.md
src/
file.ts
filter.ts
git.ts
list-format/
csv-escape.ts
shell-escape.ts
main.ts
tsconfig.json
pnpm-install/
action.yml
rust-compute-affected/
action.yml
setup-emsdk/
action.yml
setup-protoc/
action.yml
setup-python-cached/
... 1600 moreShowing a partial view of a very large repo.
A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format.
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
FAQ
posthog is a Claude Code plugin with 156 hand-picked skills for data work, indexed on Flowy. Install it with the command on its page. It includes analyzing-expensive-users, creating-online-evaluations, exploring-ai-failures. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.