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.
安装
npx skills add PostHog/ai-plugin --skill copying-endpoints-across-projectsnpx skills add PostHog/ai-plugin --skill copying-endpoints-across-projects -a claude-code -gnpx skills add PostHog/ai-plugin --skill copying-endpoints-across-projects -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/copying-endpoints-across-projectsgh skill install PostHog/ai-plugin copying-endpoints-across-projectsgit clone --depth 1 https://github.com/PostHog/ai-plugin /tmp/PostHog__ai-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__ai-plugin/skills/copying-endpoints-across-projects ~/.claude/skills/copying-endpoints-across-projects # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/copying-endpoints-across-projects ~/.agents/skills/copying-endpoints-across-projects # Codex, Cursor, Gemini CLI, Copilot, OpenCode