Agent skill · software engineering · jeremylongshore
posthog-rate-limits
Design evidence-based PostHog private-API throttling with correct endpoint classes, team-wide budgets, backoff, and export alternatives. Use when a private API returns 429 or a polling job needs a request budget. Trigger with "PostHog rate limit", "PostHog 429", or "PostHog backoff".
Why this skill is useful
Adds executable scripts for handling PostHog API rate limits with exponential backoff and request queuing, which are not commonly found in public documentation.
What it needs
Requires p-queue installed locally. Requires posthog account access. About 5k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
PostHog Rate Limits Overview PostHog rate limits apply to private API endpoints authenticated with a personal API key, project secret key where available, or OAuth. Public POST-only capture and flag endpoints have no PostHog request-level rate limit, but capture can still report billing limits in a successful response. Prerequisites A least-privilege personal API key, project secret key where available, or OAuth token for private endpoints Understanding of which endpoints you call and how often posthog-node or direct API usage PostHog Rate Limit Tiers Endpoint Category Rate Limit Examples ------------------- ----------- ---------- Public event capture (/e, /i/v0/e, /batch/) No request-level limit SDK capture and batch ingestion Public feature flags (/flags) No request-level limit Client-side flag evaluation Analytics API (insights, persons, recordings) 240/min, 1200/hour Trend queries, person lookup Events values (/events/values) 60/min, 300/hour Event-property value lookup Query API (/api/projects/:id/query/) 2400/hour HogQL and structured queries Feature flag local evaluation polling 600/min Server SDK flag definition fetch Other private CRUD endpoints 480/min, 4800/hour Feature flag CRUD, cohorts, annotations These budgets apply to the whole PostHog team, not to each key or process. Coordinate workers through a shared limiter when more than one caller uses the same endpoint class. Instructions Tool discipline Use Read to inspect the relevant configuration and implementation before proposing changes. Use Write only for a new, explicitly requested artifact inside the target project. Use Edit for minimal changes to existing project files after the evidence pass. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/posthog-rate-limits