meta-capi — Claude Code skill: setup and installation
A reference skill for Meta Conversions API, covering event setup, deduplication, and implementation examples. Use it when configuring or troubleshooting conversion tracking.
npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a claude-codeWhat meta-capi does
The skill explains Meta Conversions API architecture, including how browser Pixel events relate to server-side delivery. It covers event parameters, customer-data hashing, deduplication, Aggregated Event Measurement, and implementation approaches. Ask for a general guide or focus on a topic such as purchase events or server-side GTM.
In Claude Code, invoke it with /meta-capi and add a topic to narrow the answer. The reference includes implementation examples; with Cogny MCP connected, the skill can also inspect pixels, ad accounts, and campaign data. It works as a reference without connected accounts, but checking your configuration requires MCP. Install with npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a claude-code.
What it helps with
- configure Meta CAPI conversion events
- look up parameters for a purchase event
- deduplicate browser and server events
- inspect a pixel and its ad account setup
- troubleshoot conversion tracking
Example prompts for the agent
- Explain how to send a purchase event through Meta CAPI.
- Show how to deduplicate Pixel and server events.
- Walk me through a server-side GTM setup for Meta CAPI.
How to install meta-capi
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a claude-code2Manually: put the files in place
~/.claude/skills/meta-capi/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/meta-capi/
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a codex2Manually: put the files in place
.agents/skills/meta-capi/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a cursor2Manually: put the files in place
.cursor/skills/meta-capi/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cognyai/claude-code-marketing-skills meta-capi2Manually: put the files in place
.github/skills/meta-capi/SKILL.md1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a gemini-cli2Platform CLI
gemini skills install https://github.com/cognyai/claude-code-marketing-skills --path skills/meta-capiManually: put the files in place
.devin/skills/meta-capi/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about meta-capi
How do I install meta-capi in Claude Code?
Run npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a claude-code. The skill file is at ~/.claude/skills/meta-capi/SKILL.md.
What does meta-capi do?
It provides guidance on Meta Conversions API events, customer-data hashing, deduplication, and implementation. You can use it for setup questions or to troubleshoot conversion tracking.
Does meta-capi require Cogny MCP?
No. The reference and code examples work without connected accounts. Cogny MCP enables access to tools that inspect pixels, ad accounts, and campaign data.