PostHog Endpoint Duplicator

•
75
•

Duplicates PostHog HogQL and insight query endpoints across projects or environments with automated configuration checks.

This skill streamlines the duplication and promotion of PostHog endpoints—saved HogQL and insight queries exposed as callable REST API routes—across workspaces or within the same project. Since PostHog lacks a native cross-project copy operation for endpoints, this workflow automates the read-then-recreate pattern using MCP tools. It handles source configuration extraction, active project switching, namespace collision detection, safe unmaterialized defaults to avoid unexpected compute costs, and immediate post-copy verification via test execution.

Características Principales

0175 GitHub stars
02Cross-project endpoint replication with active workspace management
03Cost-effective safe defaults landing endpoints unmaterialized
04Preserves complex query logic, variables, code names, and freshness settings
05Automated post-creation verification using endpoint execution
06Target project collision detection to avoid overwriting existing routes

Casos de Uso

01Replicating shared metrics and HogQL reporting queries across multiple client or team workspaces
02Duplicating an endpoint under a new name in the same project to iterate without breaking live callers
03Promoting an analytics endpoint from staging to production across PostHog projects