Meta Ads Skill
Description
Teach your AI coding agent to run Meta ads: API setup, programmatic campaigns, browser control, and conversion tracking that's actually proven to work.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
meta-ads-skill
A skill that teaches an AI coding agent — Claude Code, Cursor, or anything that reads Markdown instructions — how to set up Meta (Facebook/Instagram) Marketing API access, publish campaigns programmatically, drive the parts of the UI that have no API, and verify conversion tracking in a way that actually holds up.
Everything in here was learned by getting it wrong in production first. The API rejections are real rejections with their real causes, the permission chain is the one that actually unblocks token generation, and there is a whole section on verification because three separate confidently-wrong conclusions came out of measuring with instruments that structurally could not see the thing being measured.
Why this exists
Meta's Marketing API docs describe the endpoints. They do not tell you:
- that a system user needs a role on the app before it can generate a token, and that the failure gives you no hint which of four grants is missing
- that a Development-mode app blocks ad creative creation only, so it fails at the very end of a long script
- that
fbq.loadedis set by the inline stub and istrueeven when the real library was blocked by your CSP - that
navigator.sendBeacon— whichfbeventsuses whenever aneventIDis present — is invisible to devtools Network and toperformance.getEntriesByType('resource') - that Meta crops a 1080×1920 asset by ~420px per end for square feed placements, which is where most impressions land
Each of those cost hours. They are all written down here.
Install
Claude Code
git clone https://github.com/boringmarketer/meta-ads-skill.git ~/.claude/skills/meta-ads
Restart Claude Code. It picks up `SKILL.md` and loads it when you ask about Meta ads. For a single project instead, clone to `.claude/skills/meta-ads/`.
Any other agent
Clone it anywhere and point the agent at `SKILL.md`:
Read SKILL.md in ./meta-ads-skill and follow it.
The ref
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI