Ad creative analysis

From modbender/skill-library-mcp · View interactive version

Ad creative analysis is an AI agent skill from the GitHub repository modbender/skill-library-mcp. Analyze ad creatives (images and videos) extracted from competitor research. Use when given a directory of ad images, video files, or transcripts to evaluate ad quality, score visual and messaging effectiveness, assign a scale score for viral/engagement potential, and generate a cross-creative patte

How to use this skill

Skill file

Ad Creative Analysis

Analyze a directory of competitor or reference ad creatives. Produce a per-creative JSON analysis and a cross-creative pattern summary.

Step 1 — Accept Inputs

Expect one of:

If no path is given, ask the user: "Please provide the directory path containing the ad creatives."

List all files in the directory. Separate into image ads and video ads. Log the count of each before proceeding.

Step 2 — Analyze Image Ads

For each image file, use vision/image analysis to evaluate the following.

Design Evaluation

Assess these five dimensions:

  1. Visual hierarchy — Is the eye drawn to the right element first? Is there a clear focal point?
  2. Color usage — Does the palette create contrast, evoke emotion, and maintain brand coherence?
  3. Text overlay readability — Is copy legible at a glance? Font size, contrast, placement?
  4. CTA prominence — Is the call-to-action visually distinct, clearly placed, and easy to act on?
  5. Brand consistency — Logo placement, color adherence, font alignment with brand identity.

Image Scores (1-10 each)

Image Extraction

Extract:

Step 3 — Analyze Video Ads

For each video file, analyze the video directly using vision. If a transcript file exists alongside the video (same filename, .txt or .srt extension), read and use it.

Video Evaluation

Assess these four dimensions:

  1. Hook quality (first 3 seconds) — Does it immediately create curiosity, shock, or recognition? Would someone stop scrolling?
  2. Script structure — Does it follow a logical persuasion arc (problem, solution, proof, CTA)?
  3. Pacing — Is the editing rhythm appropriate for platform and audience? Not too slow or rushed?
  4. CTA placement — Is the call-to-action clear, timed well, and repeated if needed?

Video Scale Score (1-10)

Assign a single scale_score representing the ad's viral and engagement potential at scale:

See references/analysis-framework.md for detailed scale score rubric.

Video Extraction

Extract:

Step 4 — Universal Metadata (All Ad Types)

For every creative, regardless of type, record:

Step 5 — Output Per-Creative JSON

Output one JSON object per creative. Print all results together in a single JSON array.

Image ad example structure

{
  "filename": "ad_001.jpg",
  "type": "image",
  "ad_format": "single_image",
  "aspect_ratio": "1:1",
  "dimensions": "1080x1080",
  "ad_objective": "conversion",
  "platform_fit": ["Instagram Feed", "Facebook Feed"],
  "scores": {
    "attention_grab": 8,
    "message_clarity": 7,
    "cta_strength": 9
  },
  "primary_message": "Lose 10kg in 30 days without giving up your favourite food",
  "emotion_appeal": "aspiration",
  "target_audience": "Women 28-45 who have tried dieting before",
  "hook_text": "Still counting calories? There's a better way."
}

Video ad example structure

{
  "filename": "ad_002.mp4",
  "type": "video",
  "ad_format": "video",
  "aspect_ratio": "9:16",
  "dimensions": "1080x1920",
  "ad_objective": "consideration",
  "platform_fit": ["TikTok", "Instagram Reels", "Facebook Reels"],
  "scale_score": 8,
  "hook_text": "I was $40,000 in debt until I found this",
  "hook_type": "before_after",
  "main_message": "This budgeting app helped me pay off debt in 18 months",
  "emotion_appeal": "fear",
  "cta_text": "Download free — link in bio",
  "cta_timing": "end"
}

Step 6 — Generate Cross-Creative Summary

After analyzing all creatives, produce a summary object appended to the output. Include:

Summary example structure

{
  "summary": {
    "total_analyzed": { "images": 5, "videos": 3 },
    "top_performers": ["ad_004.jpg", "ad_002.mp4", "ad_007.jpg"],
    "dominant_emotion": "aspiration",
    "common_hooks": [
      "Question-based hook challenging a common belief",
      "Before/after framing in first sentence"
    ],
    "cta_patterns": [
      "Shop now + scarcity signal",
      "Free trial + no credit card"
    ],
    "dominant_objective": "conversion",
    "format_breakdown": { "single_image": 4, "video": 3, "carousel": 1 },
    "recommendations": [
      "Hooks are strong but CTAs lack urgency — test adding 'today only' or limited quantity",
      "All videos open with talking head — test a demonstration hook for variety",
      "Aspiration dominates — test a fear/pain angle to broaden audience response"
    ]
  }
}

Step 7 — Handle Missing or Unreadable Files

If a file cannot be analyzed (corrupted, unsupported format, too dark/blurry for vision):

Reference Material

Consult skills/ad-creative-analysis/references/analysis-framework.md for:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.