Meta Ads Analyzer logo

Meta Ads Analyzer

Community
mathiaschu
meta-ads-analyzer

Provides expert-level analysis and diagnosis for Meta Ads campaigns. Use this skill to interpret performance data, identify root causes of issues, and generate actionable recommendations, with a special focus on correctly handling the 'Breakdown Effect'. Use when the user mentions Meta Ads analysis, campaign diagnosis, ad performance, CPA analysis, ROAS analysis, or asks to analyze exported data from Meta Ads Manager.

Overview

Publishermathiaschu
Repositorymeta-ads-analyzer
Skill namemeta-ads-analyzer
Stars
452
Forks
62
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mathiaschu on GitHub. Read the source before you install it.

Installation

Install the Meta Ads Analyzer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mathiaschu/meta-ads-analyzer/tree/main/skill
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mathiaschu/meta-ads-analyzer.git /tmp/meta-ads-analyzer
mkdir -p .claude/skills
cp -r /tmp/meta-ads-analyzer/skill .claude/skills/meta-ads-analyzer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Meta Ads Analyzer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Meta Ads Analyzer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Meta Ads Analyzer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Meta Ads Analysis & Diagnosis Skill

When to Use This Skill

Use this skill when you need to analyze and diagnose Meta Ads campaign performance, including:

  • Interpreting campaign, ad set, or ad-level performance data
  • Identifying root causes of performance issues
  • Generating actionable optimization recommendations
  • Understanding why Meta's system makes certain budget allocation decisions
  • Analyzing CSV exports, screenshots, or raw data from Meta Ads Manager

Result Recommendations (MANDATORY for Final Reports)

IMPORTANT: The following rules are MANDATORY and MUST be strictly followed when writing the final analysis report. These are not optional guidelines — they define the required standards for all deliverables.

  • NEVER recommend pausing or reducing budget for any segment based solely on higher average CPA/CPM in breakdown reports. Higher average cost does NOT mean poor performance — it often reflects the system capturing low marginal cost opportunities earlier. Removing segments may increase overall costs. Always frame changes as testable hypotheses, not directives.
  • ALWAYS justify recommendations with data evidence, Meta's system mechanics, and expected impact on overall campaign performance.
  • EVERY insight must include data evidence and explanation. Every recommendation must be actionable and verifiable.
  • ALIGN WITH OFFICIAL RECOMMENDATIONS. Check get_recommendations API first. If diverging, explicitly acknowledge and explain why.
  • Disambiguate clicks. Never use the term "clicks" alone. Use "Clicks (all)" for total interactions (likes, shares, page clicks, link clicks) or "Link Clicks" for clicks that lead offsite; these are distinct metrics with different meanings.
  • Audience size: When reporting reach or audience size, use "Accounts Center accounts" or the number without unit — never "people" — per legal requirements.

Metric Naming Guidelines

IMPORTANT: Always rename metric names to standardized, non-sensitive names exactly as specified below in all responses:

Raw Metric NameStandardized Display Name
impressionsImpressions
video_thruplay_watched_actionsThruPlays
clicksClicks (all)
purchase_roasPurchase ROAS (return on ad spend)
cpmCPM
cpcCPC (all)
ctrCTR (all)
cost_per_action_type:link_clickCPC (Link Click)
outbound_clicks_ctrOutbound CTR
cost_per_action_type:purchaseCost per Purchase
actions:purchasePurchases
action_values:purchasePurchase Value
frequencyFrequency
reachReach (Accounts Center accounts)
spendAmount Spent

Core Principles

  • Holistic First: Evaluate at aggregate level before drilling down. The system optimizes for the whole, not the parts.
  • Dynamic over Static: Analyze performance over time, not single snapshots.
  • Marginal over Average: The system prioritizes marginal CPA (cost of the next result), not average CPA. A higher average CPA segment might be preventing even higher marginal costs elsewhere.

Meta Ads Domain Knowledge

Legal Requirements & Terminology

  • Audience Size Metrics: Due to legal requirements, when referring to audience size metrics (the total number of accounts that view the ad), you must use "Accounts Center accounts" (case insensitive) or report the metric without any unit instead of "people".
  • "People" Usage: When "people" is used in contexts referring to audience size, replace with "Accounts Center accounts". When a specific number is used with "people" (e.g., "17,000 people"), use "person" after the number (e.g., "17,000 person").

Campaign & Performance Definitions

  • Conversion Ads: Ad entities with objectives like Lead, Sales, or App Promotions are categorized as conversion ads.
  • Conversion Rate: Conversion rate = conversions / impressions.
  • Performance Indicators: Lower Cost Per Result or CPM = higher performance. Higher ROAS = higher performance.

Account & Asset Issues

  • Disabled or Restricted Account: Occurs when assets (FB account, IG account, ad account, page, payout account) have been disabled or restricted by Meta, usually due to policy violations.

Budget & Billing

  • Daily Spending Limit (DSL): The current daily spending limit that advertisers can check, increase, or decrease.
  • Billing Threshold (Payment Threshold): The amount of ad spend that triggers a payment method charge when reached.

Analysis Workflow

Reference Documents (loaded automatically from references/):

  • breakdown_effect.md - The Breakdown Effect with examples (READ THIS FIRST)
  • core_concepts.md - Ad Auction, Pacing, Learning Phase overview
  • learning_phase.md - Learning phase mechanics
  • ad_relevance_diagnostics.md - Quality, Engagement, Conversion rankings
  • auction_overlap.md - Diagnosing auction overlap
  • pacing.md - Budget and bid pacing
  • bid_strategies.md - Spend-based, goal-based, manual bidding
  • ad_auctions.md - How auction winners are determined
  • performance_fluctuations.md - Normal vs. concerning fluctuations

Step 1: Identify the Correct Evaluation Level

This is the most critical step to avoid the Breakdown Effect.

Campaign SetupCorrect Evaluation Level
Advantage+ Campaign Budget (CBO)Campaign Level
Automatic Placements (without CBO)Ad Set Level
Multiple Ads within a single Ad SetAd Set Level

Step 2: Check Learning Phase Status

Before any analysis:

  • Is the ad set still in learning phase? (~50 optimization events needed)
  • Were there recent significant edits that reset learning?
  • If in learning: caveat all findings as preliminary

Step 3: Analyze with Meta-Specific Lens

Focus on these analytical angles:

  1. Marginal Efficiency Analysis: Infer marginal CPA trends from time-series data. A segment with low average CPA but rising marginal CPA explains why the system shifts budget away.
  2. Ad Relevance Diagnostics: Check Quality, Engagement, and Conversion Rate Rankings to diagnose creative, targeting, or post-click issues.
  3. Auction Overlap Check: Are ad sets competing against each other? Look for learning limited status and underdelivery.
  4. Pacing Analysis: Is the system holding back budget for better opportunities? Evaluate over full campaign, not daily snapshots.
  5. Performance Fluctuation Assessment: Is this normal variation (20-30% day-to-day) or a concerning trend (>50% sustained)?

Step 4: Synthesize Findings Through Breakdown Effect Lens

Interpret ALL findings through the Breakdown Effect framework. Explain why the system makes certain decisions.

Example: "While Placement A shows $10 average CPA vs Placement B's $15, time-series analysis reveals Placement A's CPA rising sharply — its marginal CPA likely exceeds Placement B's. The system correctly shifts budget to secure more conversions at lower marginal cost."

Step 5: Generate Report

Structure every analysis report as:

  1. Executive Summary - 2-3 key findings
  2. Evaluation Level - Which level and why
  3. Learning Phase Status - Current state per ad set
  4. Performance Analysis - Metrics with proper naming
  5. Diagnosis - Root causes with evidence
  6. Recommendations - Actionable, with expected impact, framed as testable hypotheses
  7. Breakdown Effect Notes - Explicit callouts where this applies

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Meta Ads Analyzer AI skill do?

Provides expert-level analysis and diagnosis for Meta Ads campaigns. Use this skill to interpret performance data, identify root causes of issues, and generate actionable recommendations, with a special focus on correctly handling the 'Breakdown Effect'. Use when the user mentions Meta Ads analysis, campaign diagnosis, ad performance, CPA analysis, ROAS analysis, or asks to analyze exported data from Meta Ads Manager.

Why use Meta Ads Analyzer on TypingMind?

Because you install it once and use it with any model. Meta Ads Analyzer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Meta Ads Analyzer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mathiaschu/meta-ads-analyzer/tree/main/skill. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Meta Ads Analyzer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Meta Ads Analyzer?

As many as you like. As long as a model supports skills, you can use Meta Ads Analyzer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Meta Ads Analyzer AI skill free?

Yes. It is published on GitHub by mathiaschu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇