Connect an arbitrary REST API to the PostHog data warehouse as a Custom source by authoring a JSON manifest, with no per-source code. Use when the user points at an API that has no built-in PostHog connector — "import data from this REST API", "sync my internal API", "connect this API from its docs", "build a custom data warehouse source" — and gives a docs URL or a natural-language description…
Install
npx skills add PostHog/ai-plugin --skill setting-up-a-custom-rest-sourcenpx skills add PostHog/ai-plugin --skill setting-up-a-custom-rest-source -a claude-code -gnpx skills add PostHog/ai-plugin --skill setting-up-a-custom-rest-source -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/setting-up-a-custom-rest-sourcegh skill install PostHog/ai-plugin setting-up-a-custom-rest-sourcegit 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/setting-up-a-custom-rest-source ~/.claude/skills/setting-up-a-custom-rest-source # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/setting-up-a-custom-rest-source ~/.agents/skills/setting-up-a-custom-rest-source # Codex, Cursor, Gemini CLI, Copilot, OpenCode