PostHog/posthog-foss

PostHog FOSS is a read-only mirror of PostHog, with all proprietary code removed. NOTE: This repo is synced automatically from the main PostHog repo. Please raise any issues and PRs there.

This repository also configures its own agents. See what posthog-foss tells them →

736Stars on the repository
256Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PostHog/posthog-foss

Skill Claude CodeCodex

Determine which PostHog team owns a file, directory, or code path, or enumerate all code a team owns (via distributed owners.yaml, products//product.yaml, and .github/CODEOWNERS). Use when assigning a reviewer, attributing a bug or slow query to a team, routing work, scoping a team-wide audit, or answering "who owns…

not rated 736 +4 changed yesterday A SkillSpector: pass 94 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Design, extend, review, or debug PostHog Hobby end-to-end smoke tests in bin/hobby-ci.py and .github/workflows/ci-hobby.yml. Use when adding an ingestion round trip, deciding whether a product belongs in Hobby CI, changing the CI Hobby service topology or API-key scopes, or diagnosing a smoke test that captures data…

not rated 736 +4 today A SkillSpector: pass 83 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

When and how to add scenarios, chaos events, and invariants to the personhog e2e test harness (rust/personhog-test-harness). Use after fixing a bug or regression in the personhog leader path (leader, router, writer, replica, coordination protocol) so the fix gets a permanent regression scenario; when adding a new…

not rated 736 +4 changed 3mo ago A SkillSpector: pass 134 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Finds and ranks callers that could move from services/llm-gateway to PostHog/ai-gateway. Use when asked what to migrate next, to find low-risk gateway migration candidates, to audit remaining Python gateway callers, or to identify callers blocked by Go gateway parity. Searches code and deployment wiring, inventories…

not rated 736 +4 changed 8d ago A SkillSpector: pass 96 tokens original MIT

fixing-flaky-tests

29

PostHog/posthog-foss

Skill Claude CodeCodex

Guides an agent through reproducing, root-causing, fixing, and validating flaky tests in the PostHog monorepo. Use when a test fails intermittently in CI but passes on rerun or locally, when hogli ci:insights or the debugging-ci-failures skill classifies a failure as a flaky test, when given a GitHub Actions URL for a…

not rated 736 +4 changed 1mo ago A SkillSpector: warn 220 tokens copy · 100% MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Use when adding or editing a GitHub Actions workflow that pushes a container image to a registry (ECR/ghcr/Docker Hub via build-push-action) or dispatches a production deploy (a commitstateupdate repositorydispatch to PostHog/charts). Also use for adding an ordered image release for a new worker or a new consumer of…

not rated 736 +4 changed 2d ago A SkillSpector: pass 127 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Produce and structure slow-query performance reports for PostHog's production ClickHouse (US and EU). Use when asked for a slow query report, query performance analysis over the last N days, per-team query cost, OOM or timeout investigation, cluster cost/memory regressions, or materialization candidates. Covers the…

not rated 736 +4 changed 13d ago A SkillSpector: warn 138 tokens original MIT

hogli

32

PostHog/posthog-foss

Skill Claude CodeCodex

PostHog developer CLI and repo tooling reference. Use when the user mentions hogli, asks about repo CLI tools, bin scripts, Makefiles, how to run/build/test/lint, or any dev environment commands. Also use when the disk is full, a command fails with "No space left on device", or the user asks to free disk space.

not rated 736 +4 changed 9d ago A SkillSpector: pass 75 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Guide for exposing PostHog product endpoints as MCP tools. Use when creating new or updating API endpoints, adding MCP tool definitions, scaffolding YAML configs, or writing serializers with good descriptions. Covers the full pipeline from Django serializer to generated TypeScript tool handler.

not rated 736 +4 changed 7d ago A SkillSpector: warn 58 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex needs its repo

Guide for adding MCP UI apps — interactive visualizations that render tool results in MCP clients like Claude Desktop. Use when adding a new detail or list view for an MCP tool, creating view components in products//mcp/apps/, or linking tools to UI apps via YAML.

not rated 736 +4 changed 1mo ago A SkillSpector: warn 63 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex needs its repo

Implement and extend PostHog Data warehouse import sources. Use when adding a new source under products/warehousesources/sources/ (or changing one there or under products/warehousesources/backend/temporal/dataimports/sources), adding datasets/endpoints to an existing source, or adding incremental sync, resumable…

not rated 736 +4 changed 2d ago A SkillSpector: warn 83 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Use when editing, reviewing, or auditing DRF viewsets and serializers in PostHog. Triggers on files in posthog/api/, products//backend/api/, products//backend/presentation/, or any file importing restframework. Covers field typing, schema annotations, enum collision fixes, and OpenAPI spec quality — everything that…

not rated 736 +4 changed 23d ago A SkillSpector: pass 86 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Ingestion pipeline architecture overview and convention reference. Use when you need a quick orientation to the pipeline framework or want to know which doctor agent to use for a specific concern.

not rated 736 +4 changed 1mo ago A SkillSpector: pass 43 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

How to instrument PostHog's own Metrics product from PostHog-owned code — record counters, gauges, and histograms that land in posthog.metrics, the same way customers do. Use when adding application metrics in this monorepo (web, Celery, Temporal), when asked to push or ship metrics into posthog metrics, or when…

not rated 736 +4 changed 2mo ago A SkillSpector: warn 134 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Wire a PostHog product surface into the PostHog AI agent from the frontend. Use when attaching scene or entity context, injecting instructions to steer the agent, reacting to the agent calling a tool, applying an agent edit back into an open form, or rendering a product tool card in a thread.

not rated 736 +4 changed 2mo ago A SkillSpector: warn 68 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Plan and execute product isolation migrations to a facade plus contract layer in PostHog, following the Visual review architecture. Use when a product still exposes internals (models/logic/views) across boundaries and needs migration toward contracts.py + facade/api.py + presentation separation, with a PR strategy…

not rated 736 +4 changed 3d ago A SkillSpector: warn 76 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Maintains existing pytest and Django test suites without weakening correctness. Use when asked to reduce Python test runtime or CI work, investigate slow pytest families, remove stale migration tests, consolidate repeated setup, improve Python test ownership, or measure whether a test optimization worked after merge.…

not rated 736 +4 today A SkillSpector: pass 110 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Guides PostHog engineers through dashboard widget platform work — ship a new widgettype (WIDGETREGISTRY, catalog, runwidgets, WidgetCard) or update a shipped type (config, query, layout, RBAC, tile filter bar, list footer, titleHref, throttles). Use for WidgetSpec, widgetspecs/, widget-configs.zod.ts, hogli…

not rated 736 +4 changed 22d ago A SkillSpector: warn 138 tokens original MIT

managing-dashboards

43

PostHog/posthog-foss

Skill Claude CodeCodex

Guides PostHog engineers through dashboard platform and scene changes. Use when changing Dashboard, DashboardTile, dashboardLogic, dashboard layouts, dashboard sharing or embeds, public dashboards, templates, filters, variables, refresh behavior, tile loading, dashboard lists, or dashboard permissions. Also use for…

not rated 736 +4 changed 22d ago A SkillSpector: warn 139 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Creates and updates GitHub Actions secrets for PostHog workflows. Use when adding a new CI secret, rotating an existing secret, wiring a workflow to an API token, package registry credential, deploy key, or any value referenced via ${{ secrets. }} in .github/workflows/.

not rated 736 +4 today A SkillSpector: warn 67 tokens original MIT

merging-prs

45

PostHog/posthog-foss

Skill Claude CodeCodex

Merge a PR into master through the Trunk merge queue and babysit it until it lands. Enqueue with the trunk merge CLI (the /trunk merge comment is the fallback), then watch trunk merge status and the PR state until it is MERGED or the queue kicks it out, reporting Trunk's own reason for the terminal transition. Use…

not rated 736 +4 changed yesterday A SkillSpector: pass 186 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Migrates an LLM caller from services/llm-gateway to PostHog/ai-gateway. Use when adding a gateway caller, converting an existing Python gateway integration, adopting shared Go-capable client builders, changing gateway URLs or headers for a caller, or removing a Python fallback. Inventories the caller's contract…

not rated 736 +4 changed 7d ago A SkillSpector: pass 102 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Guides safe, evidence-led changes to the TaxonomicFilter, PostHog's picker for events, actions, properties, cohorts, and more. Use when adding features, fixing bugs, removing groups or tabs, changing search, ordering, recents, pinning, empty states, loading or performance, or refactoring the picker. Indexes how users…

not rated 736 +4 changed 1mo ago A SkillSpector: warn 106 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Monitor and diagnose the capture service (rust/capture) in prod-us and prod-eu with verified metrics, Loki logs, dashboards and alerts. Use when investigating capture latency, errors, event loss, legacy (v0) versus v1 endpoint behavior, billing quota drops, the global rate limiter, event restrictions, Redis health…

not rated 736 +4 changed today A SkillSpector: pass 92 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: