launch-meta-campaign

launch-meta-campaign is a command for coding agents from markifact/markifact-mcp. It costs 36 tokens per session (1,306 once invoked), scanned A, original, MIT.

An ad-management command for creating a complete Facebook and Instagram campaign with its campaign, ad set, and ads ready for review.

In plain words
What is it for?
Use it to set up a new Meta campaign by choosing its goal, budget, audience, placements, schedule, ad format, and creative materials.
Why use it?
It gathers the decisions needed before launch and creates everything paused, preventing an unfinished or incorrectly configured campaign from running immediately.

Command

Part of the markifact plugin — 2 skills, 7 commands, 1 agent, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/markifact/markifact-mcp/launch-meta-campaign
Clone the repo
git clone --depth 1 https://github.com/markifact/markifact-mcp

Or install markifact, the plugin that ships this one along with the rest of its 2 skills, 7 commands, 1 agent, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for launch-meta-campaign

README.md
[![agentmods](https://agentmods.dev/badge/commands/markifact/markifact-mcp/launch-meta-campaign.svg)](https://agentmods.dev/commands/markifact/markifact-mcp/launch-meta-campaign)
Your own site
<a href="https://agentmods.dev/commands/markifact/markifact-mcp/launch-meta-campaign"><img src="https://agentmods.dev/badge/commands/markifact/markifact-mcp/launch-meta-campaign.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.01306
Opus 5 $0.00018 $0.00653
Sonnet 5 $0.00007 $0.00261
Haiku 4.5 $0.00004 $0.00131

Measured 5d ago against content hash dee051c0a296, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

launch-meta-campaign scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/launch-meta-campaign.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Goal

Stand up a production-ready Meta campaign with one ad set and one or more ad variants in one flow. Always start paused.

Inputs to confirm (batch)

  1. Ad account name (substring) — required.
  2. Campaign objectiveOUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC, OUTCOME_AWARENESS, OUTCOME_ENGAGEMENT, OUTCOME_APP_PROMOTION. Required. This cannot be changed later — picking wrong forces a full rebuild.
  3. Conversion location (for Sales/Leads): website + pixel + event, or lead form, or messaging.
  4. Budget structure — campaign budget (CBO / Advantage Campaign Budget) or ad-set budget (ABO). Required. CBO is default-on for new campaigns. Pick before creating because switching later is messy.
  5. Daily budget — required.
  6. Targeting: location(s), age range, gender, languages, detailed interests/behaviors (or Advantage+ Audience).
  7. Placements: Advantage+ Placements (recommended) or manual. If manual, which platforms (FB, IG, Messenger, Audience Network) and which positions (feeds, stories, reels, etc.).
  8. Schedule: continuous or start/end dates.
  9. Ad format: single image, single video, carousel, catalog (DPA), flexible / dynamic creative.
  10. Creative inputs: image/video file IDs (if user attached) or URLs, primary text, headline, description, CTA, destination URL, Facebook Page ID, optional Instagram account ID.

Workflow

  1. Discover ops via find_operations: meta_ads_select_accounts, meta_ads_create_campaign, meta_ads_create_adset, meta_ads_create_single_image_ad, meta_ads_create_single_video_ad, meta_ads_create_carousel_ad, meta_ads_create_catalog_ad, meta_ads_create_flexible_ad, meta_ads_search_targeting, meta_ads_list_account_pixels, meta_ads_list_custom_audiences.
  2. Inspect with get_operation_inputs.
  3. Resolve account: meta_ads_select_accounts substring.
  4. Resolve targeting if user gave interest/behavior names → meta_ads_search_targeting to get IDs.
  5. Resolve pixel for conversions → meta_ads_list_account_pixels.
  6. Create campaign (status=PAUSED) with chosen objective + CBO/ABO setting + budget if CBO.
  7. Create ad set under that campaign with: optimization goal (matches objective), conversion event, audience, placements, schedule, budget if ABO. Status=PAUSED.
  8. Create ad(s) — pick the right meta_ads_create_*_ad op for the format. Status=PAUSED.
  9. Confirm to user with IDs + reminder to review and unpause.

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 71 lines · 36 tokens per session scan A dee051c0a296

Subscribe to this mod's changes

launch-meta-campaign is a command published in the GitHub repository markifact/markifact-mcp (48 stars, last pushed 16d ago), licensed MIT. It adds 36 tokens to every session and 1,306 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.