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.

40k57d 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.

40k57d 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.

40k57d agoReviewMountCreate a free account to mount
PostHogReads credentialsSkill

optimizing-clickhouse-and-hogql-queries

PostHog/posthog/.agents/skills/optimizing-clickhouse-and-hogql-queries/SKILL.md

Workflow for optimizing ClickHouse and HogQL queries. Use when a HogQL query, query runner, insight, or report is too slow; when a hand-written ClickHouse query (via `sync_execute` or in a migration) is too slow; when ClickHouse times out or hits memory limits; when investigating a slow `system.query_log` row; or when reviewing a proposed HogQL printer change for performance. Covers extracting the ClickHouse SQL, common smells (`FROM ... FINAL`, `JSONExtract` over properties, missing skip indexes, self-joins, CTE blow-up), measuring against a real cluster, and applying the fix at the right layer (printer, query runner, or migration). Does NOT cover Postgres / Django ORM / app-database queries; for those use `profiling-slow-api-endpoints`.

40k57d 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.

40k57d 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.

40k57d 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.

40k57d 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).

40k57d 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.

40k57d 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.

40k57d agoReviewMountCreate a free account to mount
PostHogDeletes or force-pushesSkill

qa-team

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

Multi-agent QA review team for code changes. This skill should be used when the user asks to "review my code", "run QA", "qa-team", "review this branch", "code review", "check my changes", or wants a comprehensive multi-perspective code review of the current branch's changes. Spawns parallel specialist agents (security, database, reliability, compatibility, data integrity, performance, frontend, copy) that independently review the diff and produce a converged report. Also includes two generalist reviewers for convergence validation.

40k57d agoReviewMountCreate a free account to mount
PostHogReads credentialsSkill

querying-local-postgres

PostHog/posthog/.agents/skills/querying-local-postgres/SKILL.md

Run read-only SQL against the local Postgres app database (SELECT, EXPLAIN, EXPLAIN ANALYZE on SELECT). Default local URL postgres://posthog:posthog@localhost:5432/posthog; else DATABASE_URL. Use when querying the local DB, inspecting tables, debugging data, or analyzing query plans. Mutations are strictly forbidden.

40k57d 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.

40k57d 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.

40k57d 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.

40k57d 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.

40k57d 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.

40k57d 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.

40k57d 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".

40k57d agoReviewMountCreate a free account to mount
PostHogReads credentialsSkill

run-posthog

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

Start, inspect, and drive the PostHog dev stack. Use for /run and /verify on this repo — when asked to launch PostHog, check whether the stack is healthy, inspect a running process, or verify a UI change against the live app.

40k57d 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.