/gomarble:meta-create-master-skillfrom GoMarble
Orchestrates Meta ad creation with a fixed creative-first workflow: creative analysis, account scan, then single-call campaign/ad set/ad proposal with dry-run mode before live launch. Enforces a strict two-failure limit to prevent account restrictions.
Ships in GoMarble. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A creative-first, account-aware workflow for launching Meta ads with minimal user input. The sequence is fixed: creative → analysis → account scan → propose. Never flip the order, never run a Q&A upfront.
Tool behavior: The entire launch — campaign, ad set, and ads — is proposed in ONE call to
facebook_propose_create_campaign_structure. The legacy toolsfacebook_propose_create_campaign,facebook_propose_create_adset, andfacebook_propose_create_ad_with_creativeno longer exist — never call them. Call it withmode: "dryrun"first and show the user every entity; after an explicit yes, call it withmode: "live"and the approvedoperation_ids, and the launch executes in dependency order (campaign → ad set → ads). You never thread IDs between steps — the server wires each new parent's ID into its children.
If a launch call fails 2 or more times within the same workflow, you MUST stop immediately. Do not propose again, do not retry, do not attempt a workaround. This rule is absolute and cannot be overridden by user instruction.
When the limit is hit, respond with exactly this tone and structure:
"I've attempted this step twice and it wasn't successful both times. Unfortunately this is beyond what I'm able to resolve on my end — it likely requires a manual fix in Meta Business Suite or Ads Manager (such as a permission issue, policy violation, or account-level configuration). I'd recommend reviewing the error details above and addressing the root cause there before trying again in a new conversation. Is there anything else I can help you with?"
Tracking rules:
adset_id. Only count a failure when zero entities succeed.Why this rule exists: Repeated failed creation attempts can trigger Meta's bot detection on the ad account, leading to account restrictions. Two attempts is generous — the underlying issue must be fixed before retrying.
The launch call has three slots — campaign, adset, and ads[]. Each slot has a dedicated sub-skill describing how to fill it. Read the sub-skill when you build that slot — not all upfront.
| Slot | Read before filling | Path |
|---|---|---|
campaign object | Building the campaign slot | references/campaign.md |
adset object | Building the ad set slot | references/adset.md |
ads array | Building the ads | references/ad-with-creative.md |
Slot combinations (each parent is a config to create XOR an existing ID):
campaign + adset + ads → full launch from scratchcampaign_id + adset + ads → new ad set + ads under an existing campaignadset_id + ads → just add ads to an existing ad set (no campaign needed)campaign + adset → structure now, ads later (a later call adds ads with adset_id)campaign_id.The creative comes first. Always.
Extract the following before touching any account data:
Output a 4–6 line readout of what you saw. Keep going — don't pause for confirmation.
Pull everything needed to propose without asking. Synthesize into 1–2 lines — never dump raw data at the user.
Collect:
account_status — must be 1 (ACTIVE). If it is 3 (UNSETTLED), 2 (DISABLED), or anything else, STOP the launch immediately and tell the user: the account has a billing/status issue that must be fixed in Ads Manager → Billing & payments before anything can be created. Do not attempt the launch anyway.If no active campaigns exist: scan paused campaigns and paused ad sets. Use the most recently paused or historically best-performing paused campaign as the structural reference — treat it identically to an active top performer. Note it's paused in the Source column ("Paused reference: <campaign>"). Only fall back to cold-start defaults if the account has zero campaigns of any status.
Synthesis output (1–2 lines max): "Ref: <campaign> — Sales / Purchase / broad US 25–55 / $80/day / Advantage+ / ROAS 3.2x [paused]. Pixel <n>, IG <handle>."
After Phases 2 and 3, the configuration table should be mostly filled. Default to proposing. Only ask if something is genuinely undetermined.
Propose directly — no question — when:
Ask only when:
When asking is unavoidable — batch into one turn, maximum 2 questions, use tappable options not open text.
Targeting search: When building audience targeting for the ad set, use facebook_search_targeting to find interest/behavior/demographic IDs:
search_type: "adinterest" + query — free-text search (e.g., "yoga", "anime", "running shoes")search_type: "adinterestsuggestion" + interest_list — expand from existing interestssearch_type: "adTargetingCategory" + class — browse by category (interests, behaviors, demographics, life_events, income, industries, family_statuses, user_device, user_os, etc.)id and name in targeting.flexible_spec[].interests/behaviors/etc.Before launching the proposal, show a configuration summary table:
| Field | Proposed value | Source |
|---|---|---|
| Objective | Sales | Mirrors top campaign |
| Optimization event | Purchase | Account default |
| Daily budget | $50 | Median of top 3 campaigns |
| Bid strategy | Highest volume | Mirrors top campaign |
| Audience | Broad, US/CA, 25–55 | Top campaign + creative signals |
| Placements | Advantage+ | Mirrors top campaign |
| Pixel | <n> | Active pixel |
| Instagram account | <handle> | Active IG |
| Primary text | <drafted from value prop> | Creative analysis |
| Headline | <drafted from hook> | Creative analysis |
| CTA button | Shop Now | Matches creative CTA |
| Schedule | Continuous, starts now | Default |
Then send the proposal as a dry run, show the user exactly what will be created, and ask for an explicit yes before calling with mode: "live".
Build the three slots per their sub-skills, then make ONE call to facebook_propose_create_campaign_structure:
facebook_propose_create_campaign_structure({
"act_id": "act_XXX",
"currency_code": "USD",
"description": "Launching Summer Sale: 1 campaign, 1 ad set, 2 ads",
"campaign": { ...per references/campaign.md... },
"adset": { ...per references/adset.md... },
"ads": [ ...per references/ad-with-creative.md... ]
})
ads array.campaign_id inside the adset slot, no adset_id inside the ads — the server creates the campaign, feeds its new ID to the ad set, and the ad set's new ID to every ad. Only use top-level campaign_id / adset_id when that parent already exists.operation_id. After the user approves, the mode: "live" call executes in dependency order; capture new_campaign_id, new_adset_id, and every new_ad_id from the tool response.Rejection semantics (know these — don't fight them):
campaign_id.adset_id.Reminder — failure limit: If the launch fails twice (zero entities succeed), stop the entire workflow. See the HARD RULE section above.
Campaigns and ad sets are created as ACTIVE. Ads are created as PAUSED — they are the user's final gate before spending begins. After the launch succeeds, enable only the ads.
If the launch is still awaiting approval (operations pending): do NOT re-propose — that creates duplicate operations. Show the pending changes again and ask the user for an explicit yes or no; on yes, call with mode: "live" and the approved operation_ids.
Campaigns and ad sets are already ACTIVE. Only ads need enabling. Batch ALL ads into ONE facebook_propose_update_ads call:
facebook_propose_update_ads({
"act_id": "act_XXX",
"ads": [
{
"ad_id": "<new_ad_id_1>",
"current_state": { "status": "PAUSED" },
"new_state": { "status": "ACTIVE" },
"description": "Enable ad: <ad_name_1>",
"thumbnail_url": "<thumbnail_url_1>",
"campaign_id": "<new_campaign_id>",
"campaign_name": "<campaign_name>",
"adset_id": "<new_adset_id>",
"adset_name": "<adset_name>",
"ad_name": "<ad_name_1>"
},
{
"ad_id": "<new_ad_id_2>",
"current_state": { "status": "PAUSED" },
"new_state": { "status": "ACTIVE" },
"description": "Enable ad: <ad_name_2>",
"thumbnail_url": "<thumbnail_url_2>",
"campaign_id": "<new_campaign_id>",
"campaign_name": "<campaign_name>",
"adset_id": "<new_adset_id>",
"adset_name": "<adset_name>",
"ad_name": "<ad_name_2>"
}
]
})
-> user approves each ad individually -> the mode: "live" call applies only the approved ads
CRITICAL: 5 ads = 1 call with 5 items in the ads array. NOT 5 separate calls.
Never skip the enable approval step. The user must explicitly approve going live — even if they said "just launch it" earlier.
A creative's media comes from exactly one source. These two setups can never coexist in the same ad — Meta has no manual equivalent for the combination, so a creative that mixes them cannot be reproduced or edited in Ads Manager (and the server rejects it, V-CAT5):
asset_feed_spec (or flat image_url/video_url). This is the default for a creative-first launch.product_set_id, using object_story_spec.template_data. There is no uploaded image — never attach asset_feed_spec, image_url, or video_url to a catalogue creative.Rules:
product_set_id on a creative that also has manually uploaded media. Pick one setup.product_set_id — launch the uploaded asset as a manual ad and say in one line that the catalogue was left off to keep the media manual.object_story_spec.template_data + product_set_id and omit all uploaded media.ads. If funnel stages clearly differ -> separate ad sets (first ad set in the launch call, each additional one in its own call with campaign_id).account_status check).product_set_id) are mutually exclusive media setups — see "Media Setup" above. Default to the uploaded asset (manual); never bolt a product_set_id onto it. If the user explicitly asked to keep manual upload, drop the catalogue silently except for a one-line note. Only run a true catalogue ad (template_data + product_set_id, no uploaded media) when that is unambiguously what they want.account_status ≠ 1): Stop before proposing. Tell the user to settle the outstanding balance / resolve the account issue in Ads Manager → Billing & payments, then retry in a new conversation. Do not propose "to see if it works" — the server rejects it.Every response the user sees should be short and scannable. No walls of text.
mode: "live" call. After execution, one line: "Live. Ads are now active under <campaign>."What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gomarble-ai/marketing-agent --plugin gomarble62 skills in this plugin
/access-and-permissionsUse when a GoMarble tool is denied or the user asks about access: 'I don't have access to this account', account_access_denied, a scope or permission upgrade (606), read-only connections, plan limits (403 / 600), the TikTok beta, agent permissions, or team roles. Explains GoMarble's role-based access control (owner, admin, member; View vs Act per account; OAuth scopes), tells the user exactly who can fix it and where, and never tries to work around a denial./accounts-and-connectionsUse when the user wants to see, add, enable, remove or switch ad accounts and data sources in GoMarble: which accounts are connected, adding a new ad account, connecting a platform (Meta, Google, TikTok, LinkedIn, Microsoft Ads, GA4, Search Console, Shopify, Klaviyo, Snowflake, impact.com, Pages, Instagram), connecting other tools like HubSpot, Notion or BigQuery, connecting Slack for agents, switching a connection between read-only and read & write, fixing expired connections, or removing an account./ad-brief-generatorTurn ranked creative directions (from winning-pattern-synthesis, or any selected evidence-backed angle/hook) into shoot-ready UGC/creator briefs — hook line, shot list, VO/copy direction, and CTA. Use whenever the user asks for a creator brief, script, shot list, or says a direction is ready to hand off for production. This is the final production-facing output of the winning-ads pack.Other plugins' skills for the same job