agentleFS
bartlomiejborzuckibartlomiejborzucki/meta-ads-agent/skills/meta-ads-report/SKILL.md

meta-ads-report

Skill0 starsChanged 3 months agoMITView on GitHub

Read-only performance reporting for Meta (Facebook/Instagram) ads: equal-length period comparisons (last 7 days vs previous 7, last 30 vs previous 30, custom ranges), spend, CPM, CTR, CPC, results, cost per result, ROAS, frequency, and attribution-aware analysis. Use for "how did last week go", "compare the last seven days with the previous seven", "weekly report", "what happened to spend", or any performance question that is not a diagnosis.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read-only. A user asking how last week went has not asked you to change anything.

    line 14
  2. Very specific:

    1. Meta's official Ads MCP - the execution layer: Look for tools named ads_* in this session.

    line 22
  3. Distinctive:

    Prefer one aggregated query with breakdowns over a loop of per-entity queries.

    line 75
  4. Distinctive:

    Always check the activity log for the period.

    line 78
  5. Distinctive:

    Always show spend next to a percentage.

    line 165
  6. Distinctive:

    Read-only. No mutations, no exceptions.

    line 209
  7. Very specific:

    Do not invent benchmarks. ads_insights_industry_benchmark provides real ones.

    line 213
  8. Distinctive:

    Do not bury the answer. Headline first.

    line 215

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Performance reporting

Read-only. A user asking how last week went has not asked you to change anything. Read meta-ads-core first.

<!-- shared:preflight start - generated from packaging/shared/preflight.md by scripts/sync_skill_blocks.py - edit there -->

Preflight: two checks, kept separate

Independent questions; never let one answer stand in for the other.

1. Meta's official Ads MCP - the execution layer. Look for tools named ads_* in this session. With none, nothing here can reach an account: say so and help the user connect it - connect-meta-mcp.md under references/ in the meta-ads-core skill, or https://github.com/bartlomiejborzucki/meta-ads-agent/blob/master/skills/meta-ads-core/references/connect-meta-mcp.md. The local CLI does not replace it.

2. The local meta-ads-agent CLI - optional, usually absent. Assume it is missing until this succeeds:

meta-ads-agent --version

"command not found" is the normal answer, not a fault. Show no meta-ads-agent ... command before that probe has succeeded - a command that fails at the user's prompt costs more than the step it saves. Say "that step needs the optional CLI, which is not installed here" and carry on.

The MCP alone covers audits, reporting, Ad Library research, previews, tracking, creative, optimisation and the changes that follow; .meta-ads/ files can be written directly from the templates in meta-ads-core's assets/. Only these need the CLI: plan validation (so campaign builds), local image and video upload, video / existing-post / multi-variant / carousel creatives, deletion, and the report arithmetic (which has a by-hand route).

<!-- shared:preflight end -->

For why something changed and what to do, use meta-ads-optimize. This skill establishes what happened.

A good report answers six questions

  1. What happened?
  2. What changed?
  3. Why might it have changed?
  4. What evidence supports that?
  5. What should we look at next?
  6. What action, if any, is justified?

Answer them in that order, and stop. A report that answers all six in a page is more useful than one that dumps two hundred rows.

Pull the data

ads_get_ad_entities                → metrics with filters, breakdowns, sorting,
                                     date ranges. The workhorse.
ads_insights_performance_trend     → how metrics moved over time
ads_insights_anomaly_signal        → Meta's own view of what deviated
ads_account_get_activity_logs      → whether a human changed something

Prefer one aggregated query with breakdowns over a loop of per-entity queries. Meta rate-limits, and a loop over a large account will hit it.

Always check the activity log for the period. "Spend doubled" and "someone raised the budget on Tuesday" are the same finding - and without the log you would look for it in the creative.

Compare equal-length periods

Last 7 days against the previous 7. Last 30 against the previous 30. Never 7 days against 9, and never a partial current period against a complete one - today is incomplete and will always look worse.

State both ranges explicitly, in the account's timezone:

Current   2026-09-09 to 2026-09-15  (7 days)
Previous  2026-09-02 to 2026-09-08  (7 days)
Timezone  Europe/Warsaw

Watch for what makes a comparison unfair: a campaign that only ran for part of one period, a budget changed mid-period, a paused ad set, a public holiday, a period that spans a weekend differently. Say so rather than presenting the delta as clean.

The arithmetic

Equal windows, rates recomputed from sums, the noise band and the volume floors are rules, not judgement, and easy to get quietly wrong by hand. When the preflight found the local CLI, it computes all of them from saved insights rows: references/metrics-and-comparisons.md has the command and what its labels mean. Report its labels as they are; the why is still yours, from the activity log and breakdowns. With no CLI, follow the same reference by hand and show the sums you computed rates from - this skill needs nothing but the MCP.

Attribution

Report which attribution window the numbers represent, where Meta exposes it.

Never compare periods measured under different attribution settings. If the window changed, the comparison is not valid and the honest output is to say that rather than to publish a delta.

Two more caveats worth stating when they apply:

  • Conversion lag. Recent conversions are still arriving. The last few days of any window understate results, so a fresh period always looks worse than it will.
  • Modelled conversions. Some reported conversions are statistical estimates, not observed events. Treat small differences in modelled numbers with more caution than the same difference in spend.

Metrics, and what they depend on

MetricRead it forNote
Spendalways show itcontext for every other number
Impressions, reachdelivery volumereach is people, impressions are views
Frequencyimpressions ÷ reachsaturation signal, not a fatigue verdict on its own
CPMauction costrises with competition and with narrow audiences
Clicks, CTRcreative resonancelink clicks and all clicks are different metrics; say which
CPCclick efficiencyCPM ÷ CTR - so it moves when either does
Landing page viewswhether clicks arrivea gap against link clicks points at the page or at tracking
Resultsthe optimised eventname which event
Cost per resultefficiencythe number that usually matters
Conversion value, ROASrevenue efficiencyonly where value is passed

Do not derive a metric whose inputs are missing without saying so. No conversion value means no ROAS - report "not available", not a zero. A zero reads as a result.

Volume before conclusions

brand.yaml.thresholds.min_conversions_for_decision and min_clicks_for_decision are the user's own floors. Below them, a percentage change is noise wearing a decimal point.

Ad set "PL retargeting": 3 results, previous period 5.
  -40% cost per result.
  INSUFFICIENT EVIDENCE - 3 results is below the 30-result floor. This
  difference is consistent with random variation.

Two conditions for calling a change real: it moved more than a noise band (10-15% is a reasonable default for a rate metric), and it rests on enough volume. Both. Either alone produces false alarms.

Always show spend next to a percentage. A 60% CPA increase on 40 PLN of spend is not the same event as a 60% increase on 40,000 PLN, and the percentage looks identical.

Format

# Last 7 days — Acme
2026-09-09 to 2026-09-15 vs 2026-09-02 to 2026-09-08 (Europe/Warsaw)
Attribution: 7-day click, 1-day view

## Headline
Spend 8,420.00 PLN (+12%). Leads 96 (-8%). Cost per lead 87.71 PLN (+22%).

## What changed
| | Current | Previous | Δ |
|---|---|---|---|
| Spend | 8,420.00 PLN | 7,520.00 PLN | +12% |
| Leads | 96 | 104 | -8% |
| Cost per lead | 87.71 PLN | 72.31 PLN | +22% |
| CPM | 41.20 PLN | 33.90 PLN | +22% |
| CTR | 1.42% | 1.44% | -1% |
| Frequency | 2.1 | 1.8 | +17% |

## Where it came from
Campaign "Acme | OUTCOME_LEADS" accounts for the whole increase.
CTR is flat while CPM rose 22% — the creative is holding, the auction cost is
not. (FACT: ads_get_ad_entities, campaign breakdown.)

## Changes made in the period
2026-09-10 — daily budget raised 5,000 → 7,000 PLN by <user>
(ads_account_get_activity_logs)

## Next
Whether the CPM rise is the budget increase pushing into a more expensive
audience, or a market-wide shift. `ads_insights_auction_ranking_benchmarks`
and `ads_insights_industry_benchmark` would separate those.

## Action
None yet. Diagnose before changing anything — use meta-ads-optimize.

Discipline

  • Read-only. No mutations, no exceptions.
  • Label FACT / INTERPRETATION / RECOMMENDATION.
  • Name the tool and the date range behind every number.
  • Say "insufficient evidence" when it is.
  • Do not invent benchmarks. ads_insights_industry_benchmark provides real ones; a number you recall is a number you made up.
  • Do not bury the answer. Headline first.

Metric definitions and comparison mechanics: references/metrics-and-comparisons.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.