PostHog/posthog
GitHubPostHog 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…
- ab-testing
- ai-analytics
- analytics
- cdp
- data-warehouse
- experiments
- feature-flags
- javascript
- product-analytics
- python
- react
- session-replay
- surveys
- typescript
- web-analytics
- Stars:
- 40.6k
- Language:
- Python
- Default branch:
- master
- Last scored:
At a glance
- Rank
- #8 of 401
- Top 2% · #3 of 56 Python repos
- Checks passed
- 12 of 17
- Full list below
- Best set up for
- Cursor
- Score 93.9
- Needs most work for
- Aider
- Biggest fix: .aider.conf.yml (+14.1 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+5.3 pts
- 2Test suiteAdd a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.+3.9 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does PostHog/posthog have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 47,012 characters- Agent-specific files
.cursor/rules(new tab) (3 .mdc files),.agents/skills(new tab) (117 skills)No GEMINI.md, .openhands/setup.sh or .aider.conf.yml- Repos that have one
- 29 of 56 Python repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 12 passed
How PostHog/posthog compares
- vs leaderboard average
- 21.2 pts above
- Average 66.8
- vs Python average
- 17.0 pts above
- Average 71.0
- Stars among Python repos
- #35 of 56
Passes checks most repos miss
- Skills (.agents/skills) · only 17% of repos pass it
- Cursor rules (.cursor/rules) · only 4% of repos pass it
- Reproducible dev env · only 22% of repos pass it
- Pre-commit / git hooks · only 29% of repos pass it
One fix for the most agents: Manageable size would raise the score for all 9 agents, by up to 5.7 points.
Similar repos
Same language and host as this repo, closest in overall score.
- apache/superset88.7Python · 75.4k ★
- aio-libs/aiohttp88.1Python · 16.6k ★
- Python · 46.2k ★
- getsentry/sentry86.9Python · 45.7k ★
- scrapy/scrapy86.8Python · 65.2k ★
- apache/airflow86.3Python · 47.4k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- Elixir · analytics, web analytics
- Zig · cdp
- Rust · cdp
- Clojure · analytics
- getnao/nao84.4TypeScript · analytics
- grafana/grafana82.6TypeScript · analytics
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/PostHog/posthog)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.