Skip to main content
skill CX Codex

ad-library-teardown — Claude Code skill: competitor ad teardown

This skill pulls active ads from the Meta, Google and LinkedIn ad libraries and breaks them into hooks, offers and CTAs. Useful when you want to see what the market is testing.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a claude-code
Open on GitHub

What ad-library-teardown does

The skill runs on the ScrapeCreators API. For Meta it searches ads by company or query, fetches ad details and pulls video transcripts. Google covers advertiser search and company ads, LinkedIn covers search and ad detail. Transcripts exist for Meta only.

The agent then clusters what it finds by pain point, persona, offer, proof, objection and comparison angle. Output is a markdown teardown: a summary, an angle table with example ads, a swipe file of hooks and headlines, offers and CTAs, transcript notes and a list of tests. Test ideas come from repeated patterns and gaps, not from thin air.

You need SCRAPECREATORS_API_KEY in your environment before anything runs — without it the API calls fail. The skill also warns against reading an active ad as a winner. Spend, conversion rate and targeting are not public, so it will not hand you performance numbers.

What it helps with

  • tear down a competitor's active Meta ads
  • build a swipe file of hooks and headlines for your own creative
  • compare offers and CTAs across several advertisers
  • summarize a video ad transcript
  • generate test ideas from repeated angles and gaps

Example prompts for the agent

  • tear down this competitor's active Meta ads and pull the hooks and offers
  • compare the messaging in ads from three competitors and show what they're testing
  • summarize the video ad transcripts for this advertiser

How to install ad-library-teardown

1Skills CLI (Vercel)

npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a claude-code

2Manually: put the files in place

~/.claude/skills/ad-library-teardown/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ad-library-teardown/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ad-library-teardown

How do I install ad-library-teardown in Claude?

Run npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a claude-code. The skill lands in ~/.claude/skills/ad-library-teardown/SKILL.md.

What does ad-library-teardown do?

It searches public ads in the Meta, Google and LinkedIn libraries, fetches details and transcripts, clusters the messaging by angle and writes a teardown with test recommendations.

What do I need for the skill to work?

A SCRAPECREATORS_API_KEY environment variable. Transcripts are available for Meta ads only — Google and LinkedIn have no transcript endpoint.

Source text

SKILL.md · MIT
---
name: ad-library-teardown
description: Use when the user wants to analyze active ads from Meta/Facebook, Google, or LinkedIn ad libraries; tear down a competitor's messaging; extract hooks, offers, CTAs, video transcripts, landing page claims, and test ideas from public ads.
allowed-tools: Bash, Read, Write, WebFetch

version: 1.0.0
author: ScrapeCreators
license: MIT
homepage: https://scrapecreators.com
repository: https://github.com/ScrapeCreators/social-media-research-skills
metadata:
  openclaw:
    requires:
      env:
        - SCRAPECREATORS_API_KEY
    primaryEnv: SCRAPECREATORS_API_KEY
    homepage: https://scrapecreators.com
    tags:
      - social-media
      - research
      - scrapecreators
---

# Ad Library Teardown

## Overview

Analyze public ads to understand a competitor's messaging, offers, creative strategy, and testing angles. The output should be a practical teardown marketers can use to write better ads or decide what to test.

## When to Use

Use this skill when the user asks to:

- analyze a competitor's active ads
- search Meta/Facebook, Google, or LinkedIn ad libraries
- extract ad hooks, CTAs, claims, offers, and landing page angles
- compare ad messaging across competitors
- summarize video ad transcripts
- generate ad test ideas from competitor ads

## Data Sources

| Ad library | Search/list endpoint | Detail endpoint | Transcript endpoint |
|---|---|---|---|
| Meta/Facebook | `/v1/facebook/adLibrary/search/ads`, `/v1/facebook/adLibrary/company/ads`, `/v1/facebook/adLibrary/search/companies` | `/v1/facebook/adLibrary/ad` | `/v1/facebook/adLibrary/ad/transcript` |
| Google | `/v1/google/adLibrary/advertisers/search`, `/v1/google/company/ads` | `/v1/google/ad` | n/a |
| LinkedIn | `/v1/linkedin/ads/search` | `/v1/linkedin/ad` | n/a |

## Workflow

1. **Find the advertiser**
   - Use company search endpoints when the user provides only a brand name.
   - Use domain/advertiser/page IDs when available.

2. **Fetch active ads**
   - Prefer active ads unless the user asks for historical analysis.
   - Capture platform, advertiser/page, ad ID, start date, creative type, text, headline, CTA, destination URL, and source URL.

3. **Fetch details for representative ads**
   - Enrich the ads with detail endpoints.
   - For video Meta ads, fetch transcripts when available.

4. **Cluster messaging**
   Group ads by:
   - pain point
   - persona
   - offer
   - proof/social proof
   - feature/benefit
   - objection handled
   - comparison/alternative angle
   - urgency/discount

5. **Extract swipeable elements**
   - hooks
   - headlines
   - primary text patterns
   - CTAs
   - claims
   - offers
   - visual/creative concepts

6. **Recommend tests**
   Suggest tests based on repeated patterns and gaps, not random ideas.

## Output Format

```markdown
# Ad Library Teardown: {brand}

## Summary
- Ads analyzed: {count}
- Platforms: Meta / Google / LinkedIn
- Main positioning:
- Strongest repeated offer:

## Messaging Angles
| Angle | Evidence | Example ads | Notes |
|---|---|---|---|

## Hooks and Headlines Swipe File
- "..."
- "..."

## Offers and CTAs
| Offer | CTA | Platform | Example |
|---|---|---|---|

## Video Transcript Notes
- [Ad](url): summary, hook, best quote

## What They Appear to Be Testing
1. ...
2. ...

## Recommended Tests for Us
1. ...
2. ...
3. ...

## Sources
- [Ad](url)
```

## Common Pitfalls

- Do not claim an ad is winning just because it is active. Say it is active or repeated; performance is not public unless the endpoint returns it.
- Do not ignore repeated ads. Repetition is often a useful signal.
- Do not invent spend, conversion rate, or targeting unless public data includes it.
- Do not skip video transcripts when the user asks for hooks or messaging from video ads.

© ScrapeCreators · MIT · ScrapeCreators/social-media-research-skills

Similar skills

Everything for Marketing and content →

From the same set12

competitor-social-research Researches competitor social media strategies across multiple platforms and generates a practical content brief from public metrics. CX Codex +1 1,300installs outlier-post-finder Finds posts and videos that beat an account's usual numbers, then explains why they worked. Handy when you want a swipe file built from someone else's hits. CX Codex +1 1,300installs trend-discovery Finds trending topics, hashtags, and sounds across TikTok, Instagram, YouTube, Reddit, and Pinterest. Turns public signals into practical content angles. CX Codex +1 1,300installs influencer-prospecting Finds niche creators across TikTok, Instagram, and YouTube using public data, scores prospects from 1 to 5, and exports ready-to-contact lists to CSV. CX Codex +1 1,200installs content-repurposing Turns public social videos, transcripts and posts into drafts for other formats. Use it when one source needs adapting for several publishing channels. CX Codex +1 1,200installs product-demand-research This skill mines Reddit, social posts and video comments for complaints, requests and buyer objections. Useful before you commit to building a product. CX Codex +1 1,200installs audience-research Evaluates creator and brand audiences using public metrics, TikTok demographics, and comment signals. It helps teams check market fit before booking sponsorships. CX Codex +1 1,200installs creator-profile-teardown Analyzes a public creator or brand account for positioning, content pillars, outlier posts and repeatable patterns. Use it when you need research before adapting content ideas. CX Codex +1 1,200installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor