Best practices for agents managing PostHog skills via the MCP `skill-*` tools — how to discover, read, create, update, and refactor skills efficiently, especially large skills with many bundled files. Use whenever you are about to call any `skill-*` tool, asked to author or edit a shared skill, or troubleshoot why a skill write was rejected.
Install
npx skills add PostHog/ai-plugin --skill working-with-skillsnpx skills add PostHog/ai-plugin --skill working-with-skills -a claude-code -gnpx skills add PostHog/ai-plugin --skill working-with-skills -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/working-with-skillsgh skill install PostHog/ai-plugin working-with-skillsgit 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/working-with-skills ~/.claude/skills/working-with-skills # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/working-with-skills ~/.agents/skills/working-with-skills # Codex, Cursor, Gemini CLI, Copilot, OpenCode