agentleFS

Claude skills and agent skills

Skills real projects publish on GitHub, most starred first. Each one says what it will make an agent do before you copy it.

Worked for most · soon
PostHogSkill

modifying-taxonomic-filter

PostHog/posthog/.agents/skills/modifying-taxonomic-filter/SKILL.md

Guides safe changes to the TaxonomicFilter, PostHog's picker for events, actions, properties, cohorts, and more. Use when adding features, fixing bugs, improving search or loading performance, or refactoring the classic picker, rebuild menu, or headless filter panel. Covers real selection behavior, two live surfaces, shared telemetry, the conditional Postgres search plan, and result reveal rules.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

monitoring-capture-service

PostHog/posthog/.agents/skills/monitoring-capture-service/SKILL.md

Guide for using the Grafana MCP to monitor and diagnose the capture service (rust/capture) in production. Use when investigating latency, event loss, Kafka backpressure, Redis issues, rate limiting, Envoy proxy issues, or any capture health question. Covers prod-us and prod-eu environments.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

monitoring-ingestion-pipeline

PostHog/posthog/.agents/skills/monitoring-ingestion-pipeline/SKILL.md

Guide for using the Grafana MCP to monitor and diagnose the Node.js ingestion pipeline workers in production. Use when investigating event lag, drops, pipeline errors, person/group processing, Kafka consumer health, Redis, Postgres, ClickHouse downstream health, or any ingestion worker question. Covers prod-us and prod-eu environments.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

organizing-conversations-code

PostHog/posthog/.agents/skills/organizing-conversations-code/SKILL.md

File layout for the conversations product. Use when adding, moving, renaming, or reviewing files under products/conversations/ — especially frontend components, scenes, helpers, and tests. Conversations React components live in their own folder under products/conversations/frontend/components/, never as loose files in components/ or at the frontend root. Expand this skill as more conversations layout rules land.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

placing-product-frontend-code

PostHog/posthog/.agents/skills/placing-product-frontend-code/SKILL.md

Decide which tree a frontend file belongs in — `products/<name>/frontend/` or `frontend/src/scenes/<name>/` — and explain why the boundary is real rather than stylistic. Use when adding a new scene, component, or logic file for a product; when creating a new directory under `frontend/src/scenes/`; when a product has UI in both trees and you need to know which side to extend; or when moving a scene into its product. Covers the merge-queue lane cost of the split, the measurement showing a dependency graph cannot substitute for the path signal, and a report script that shows how far each product's move has gone.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

playwright-test

PostHog/posthog/.agents/skills/playwright-test/SKILL.md

Write a playwright test, make sure it runs, and is not flaky.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

posthog-desktop

PostHog/posthog/.agents/skills/posthog-desktop/SKILL.md

Scopes work to the desktop app at products/desktop — a nested standalone pnpm/turbo/Biome workspace imported from the now-archived PostHog/code repo, with posthog/posthog the only source of truth for PRs, CI and publishing, and not part of the root frontend or Django build. Use when the user says /posthog-desktop, or works on the Electron desktop app, apps/code, apps/web, apps/mobile, packages/core, packages/ui, packages/workspace-server, @posthog/api-client, @posthog/agent, or the agent framework. Pins the working directory to products/desktop, swaps in that tree's toolchain and conventions in place of the monorepo's, and defines the few paths outside the tree that may be touched (Django APIs the app calls, desktop-* CI at the root).

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

profiling-slow-api-endpoints

PostHog/posthog/.agents/skills/profiling-slow-api-endpoints/SKILL.md

Profiles slow PostHog API endpoints when the main cost is in Postgres or Python. Use when a screen, picker, or list is slow; a Django endpoint has high tail latency; a query plan changes with tenant size; or a proposed database fix needs production evidence. Covers APM traces, safe production EXPLAIN, representative measurements, implementation choices, tests, rollout, and post-deploy verification. For ClickHouse or HogQL latency, use `optimizing-clickhouse-and-hogql-queries` instead.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

qa-frontend

PostHog/posthog/.agents/skills/qa-frontend/SKILL.md

Internal PostHog developer frontend/browser QA skill. Use only when a PostHog developer explicitly asks to run frontend QA, browser-test a PR, verify a UI flow against the local PostHog stack, use qa-frontend, or QA current frontend changes with browser/runtime evidence. Do not use for generic code review, PR review, "check my changes", CI debugging, or security audit; use qa-team, debugging-ci-failures, or security-audit instead. QA runs in PR mode or local mode, plans adaptive browser and visual checks, drives browser MCP/tooling such as Playwright MCP or Chrome DevTools MCP, captures evidence, and applies only approved/narrow fixes. Reel mode makes a feature reel instead: a short, sharp animated WebP of a new UI flow from Storybook stills, for a PR description. Use it when asked for a reel, GIF, or animated demo of a flow.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

querying-production-databases-via-metabase

PostHog/posthog/.agents/skills/querying-production-databases-via-metabase/SKILL.md

Runs read-only production database analysis through PostHog's internal Metabase instances. Use for ClickHouse query logs, slow query cost, Postgres query plans, index selection, or tenant-size analysis. Covers US and EU database discovery, SSO login through `hogli`, safe query rules, and query patterns for both engines.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

querying-tophog

PostHog/posthog/.agents/skills/querying-tophog/SKILL.md

Query tophog — the ingestion pipeline's heavy-hitter store in ClickHouse — to identify hot or expensive actors (team_id, distinct_id, session_id, partition) during incident triage. Use when investigating ingestion lag, a hot or lagging Kafka partition, expensive person processing, merge storms, or any "which team or distinct_id is causing this" question. Covers the internal Metabase access path (SSO via hogli), the tophog schema, and the cost-vs-volume query lens. Internal-only: results contain cross-customer identifiers.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

react-doctor

PostHog/posthog/.agents/skills/react-doctor/SKILL.md

Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

reviewing-personhog-protocol

PostHog/posthog/.agents/skills/reviewing-personhog-protocol/SKILL.md

The full review process for personhog coordination-protocol changes — leases, fencing, handoffs, supervisors, failure budgets, warming, and changelog semantics. Use before pushing or requesting review on any personhog protocol changeset, when asked for an exhaustive or careful review of personhog code, and after any reviewer finds a gap the author missed. Covers the adversarial two-pass process, the review lens dimensions, the model-checking and test layers a change must clear, and the red-check-every-fix discipline.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

reviewing-with-coderabbit

PostHog/posthog/.agents/skills/reviewing-with-coderabbit/SKILL.md

Run a CodeRabbit review over the branch from the terminal, with the `coderabbit` CLI, and record the pass in the PR description. Before `gh pr create` or a requested branch review, first check `POSTHOG_TASK_RUN_ID` and `CI`: a cloud or CI task skips this skill without a CLI probe or user message. Otherwise, use this skill to check `cr` and its authentication, and offer setup or skip when a person can answer. Run the review once per branch. Never substitute an agent review. Trigger terms: coderabbit, cr review, local review, self-review, review my branch, pre-PR review.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

routing-outbound-api-calls

PostHog/posthog/.agents/skills/routing-outbound-api-calls/SKILL.md

Use before adding or changing Python code that calls a third-party HTTP API from PostHog (a vendor REST call, a vendor SDK client, a scraping or enrichment service), and before adding or changing a domain under posthog/egress/: its budget, priority lanes, identity, metrics, or rate-limit headers. Routes the call to an existing egress domain, a new gated domain, a record-only domain, or no domain at all, names the reference domain to copy, and lists the tests that catch a missing priority reserve. Trigger terms: egress, outbound API, third-party API, vendor client, rate limit, 429, Retry-After, budget, priority lane, BATCH, reserve, EgressClient, RecordedEgressClient, github_request.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

running-ci-preflight

PostHog/posthog/.agents/skills/running-ci-preflight/SKILL.md

Catch the deterministic CI failures reachable from your diff before pushing, with `hogli ci:preflight`. Use when the pre-push hook blocks a push, before reporting a task done, or after editing Python, serializers, migrations, workflows, or dependency manifests — to avoid burning a CI matrix on a failure you could catch locally (formatting, lint, broken lockfiles, OpenAPI drift, migration conflict, stale branch). Trigger terms: ci:preflight, preflight, pre-push checks, pre-push hook failed, "will this break CI".

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

scene-menu-bar

PostHog/posthog/.agents/skills/scene-menu-bar/SKILL.md

Conventions for adding or editing the SceneMenuBar above a scene's <SceneTitleSection>. Use when adding new menu items, moving items between menus, gating behind feature flags, building a new scene's menubar, or wiring rich inputs (tags, combobox) into the bar.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

sending-notifications

PostHog/posthog/.agents/skills/sending-notifications/SKILL.md

How to send real-time in-app notifications from PostHog backend code. Use when integrating notifications into a new feature, wiring up a notification source (alerts, comments, approvals, pipelines, issues), or choosing the right target type and priority for a notification.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

setting-feature-flags-in-storybook

PostHog/posthog/.agents/skills/setting-feature-flags-in-storybook/SKILL.md

Use when writing a Storybook story for a component gated on a feature flag — boolean flags or multivariate/experiment-arm variants. Covers the `featureFlags` story parameter and why imperatively setting flags renders the flag-off branch in visual-regression snapshots while passing in jest.

40k58d agoReviewMountCreate a free account to mount
PostHogSkill

splitting-oversized-modules

PostHog/posthog/.agents/skills/splitting-oversized-modules/SKILL.md

Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to split one before some other change, or before restructuring code inside a module already over roughly a thousand lines — breaking up a long function or extracting helpers in place leaves everything in the same file, so check the worth-it gate and propose the split first. Covers that gate, assigning symbols to concerns with an acyclic dependency graph, the AST plus tokenize move script, and proving the result is a pure move. Python only — for frontend files use writing-ui-components. Not for extracting a shared helper into common/, and not for moving code between products, which is isolating-product-facade-contracts.

40k58d agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About skills

What is a Claude skill?

A folder with a SKILL.md file: a name, a description of when to use it, and instructions. Claude loads a skill only when the task matches its description.

How do I use one I find here?

Copy the folder into your project's .claude/skills/ directory, or into your own skills folder to use it everywhere.

What do the warnings mean?

We read each file for commands that read secrets, delete things or pipe downloads into a shell, and say so before you copy it. No warning is not a promise that a file is safe.

Which skills worked for people?

Open a skill to see its discussion. Reports from people and their agents are coming.