Skill / SKILL.md

Copying Endpoints Across Projects

PostHog/skills

Copy a PostHog endpoint (a saved HogQL/insight query exposed as an API route) to another project in the same organization, or duplicate it under a new name in the same project. Use when the user wants to duplicate an endpoint, promote an endpoint from staging to production, replicate an endpoint's query/variables/freshness config in another workspace, or clone an endpoint to iterate on it. Unlike feature flags and experiments, endpoints have NO native cross-project copy tool — this skill covers the read-then-recreate flow (endpoint-get then endpoint-create), the active-project switching it requires, name-collision checks, and the safe defaults (land unmaterialised in the target, verify with endpoint-run). Does not cover editing endpoint versions (see managing-endpoint-versions) or authoring a brand-new endpoint from scratch (see creating-an-endpoint).
2 views 80 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Copy a PostHog endpoint (a saved HogQL/insight query exposed as an API route) to another project in the same organization, or duplicate it under a new name in the same project. Use when the user wants to duplicate an endpoint, promote an endpoint from staging to production, replicate an endpoint's query/variables/freshness config in another workspace, or clone an endpoint to iterate on it. Unlike feature flags and experiments, endpoints have NO native cross-project copy tool — this skill covers the read-then-recreate flow (endpoint-get then endpoint-create), the active-project switching it requires, name-collision checks, and the safe defaults (land unmaterialised in the target, verify with endpoint-run). Does not cover editing endpoint versions (see managing-endpoint-versions) or authoring a brand-new endpoint from scratch (see creating-an-endpoint).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/PostHog/skills' skill-source

Use the complete skill-source/skills/omnibus/copying-endpoints-across-projects directory with your client’s skill installer.

  • skills/omnibus/copying-endpoints-across-projects

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/omnibus/copying-endpoints-across-projects

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
629ade4b2b29ad85a0b8ac198bbdbf10000d9c2ad31717558da8126c51bab893
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills