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.
git clone --depth 1 https://github.com/markifact/markifact-mcpWrote 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.
[](https://agentmods.dev/commands/markifact/markifact-mcp/edit-meta-creative)<a href="https://agentmods.dev/commands/markifact/markifact-mcp/edit-meta-creative"><img src="https://agentmods.dev/badge/commands/markifact/markifact-mcp/edit-meta-creative/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/markifact/markifact-mcp/edit-meta-creative"><img src="https://agentmods.dev/badge/commands/markifact/markifact-mcp/edit-meta-creative.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00088 | $0.01658 |
| Opus 5.5 | $0.00035 | $0.00663 |
| Sonnet 5.5 | $0.00018 | $0.00332 |
| Haiku 4.5 | $0.00009 | $0.00166 |
Grade A, and why
edit-meta-creative 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
Apply a creative-content change to one or more existing Meta ads without losing learning, frequency caps, ad post engagement, or the ad ID. The same ad_id keeps running with a new creative attached.
The Meta reality this command exists to handle
Meta does not allow in-place edits of creative content (URL, text, headline, image, CTA). The only way to change an existing ad's creative is:
get_ad_creative → modify payload locally → create_ad_creative → replace_ad_creative
Anything else (deleting + recreating the ad) destroys learning, frequency capping, social proof (likes/comments), and breaks any link people have to the ad post. Always use replace_ad_creative — never delete-and-recreate for a creative change.
Inputs to confirm (batch)
- Account name (substring) — required.
- Scope — required. One of:
- Single ad ID(s).
- All ads in a campaign / ad set (by name or ID).
- All active ads in the account matching a filter (e.g. status=ACTIVE).
- What to change — required. Examples:
- Landing page URL (the most common bulk edit).
- Primary text / headline / description / link description.
- Call-to-action button.
- Display link / deep link.
- Old → new mapping if it's a find-and-replace (e.g. swap
utm_campaign=springforutm_campaign=summer, or replaceoldsite.comwithnewsite.com).
Workflow
- Discover ops:
meta_ads_select_accounts,meta_ads_list_ads,meta_ads_list_adsets,meta_ads_list_campaigns,meta_ads_get_ad_creative,meta_ads_create_ad_creative,meta_ads_replace_ad_creative. - Inspect each with
get_operation_inputs. - Resolve account via
meta_ads_select_accounts(substring). - Resolve scope to a list of
ad_ids viameta_ads_list_adswith the right filters (campaign, ad set, status). Show the user the ad list and the count before doing anything else. - For each ad in scope:
a.
meta_ads_get_ad_creative(ad_id)→ returns the raw creative payload. b. Modify the payload locally based on the requested change. Preserve all fields the user did not ask to change. Common fields to patch:object_story_spec.link_data.link(URL for link/single-image ads)object_story_spec.link_data.message(primary text)object_story_spec.link_data.name(headline)object_story_spec.link_data.description(link description)object_story_spec.link_data.call_to_action.value.link(CTA link)object_story_spec.link_data.call_to_action.type(CTA button type, e.g.LEARN_MORE,SHOP_NOW)- For video ads:
object_story_spec.video_data.* - For carousel: each item under
object_story_spec.link_data.child_attachments[]c.meta_ads_create_ad_creative(modified_payload)→ returns newcreative_id. Only works when the existing media (image_hash / video_id) is reused. If the user is also swapping in fresh media that isn't already in Meta, see "Fresh media" below. d.meta_ads_replace_ad_creative(ad_id, creative_id)→ attaches the new creative.
- Build a diff preview before executing. Show the user a table of every ad with old → new for each changed field. Wait for explicit confirmation. Then run all replaces, batched into a single
request_human_approvalif approval is required. - Confirm: count succeeded, count failed (with reason), list of new
creative_ids.
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.
- 1mo ago First seen · 101 lines · 88 tokens per session scan A f6663d3d1c15
edit-meta-creative is a command published in the GitHub repository markifact/markifact-mcp (52 stars, last pushed 16d ago), licensed MIT. It adds 88 tokens to every session and 1,658 once invoked, about $0.0004 per session on Opus 5.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.
Other commands, from other repositories
change-plan
Create a comprehensive change management plan for a transformation initiative.
ma-strategy
Develop M&A strategy including target screening, synergy analysis, or integration planning.
financial-model
Build a financial model or business case with projections.
market-entry
Develop a market entry strategy for a new market, geography, or segment.
benchmark
Benchmark a company or function against peers and industry standards.
competitor-profile
Build a detailed profile of a specific competitor.