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.
npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/ad-library-teardown/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ad-library-teardown/
1Skills CLI (Vercel)
npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a codex2Manually: put the files in place
.agents/skills/ad-library-teardown/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a cursor2Manually: put the files in place
.cursor/skills/ad-library-teardown/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ScrapeCreators/social-media-research-skills ad-library-teardown2Manually: put the files in place
.github/skills/ad-library-teardown/SKILL.md1Skills CLI (Vercel)
npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a gemini-cli2Platform CLI
gemini skills install https://github.com/ScrapeCreators/social-media-research-skills --path skills/ad-library-teardownManually: put the files in place
.devin/skills/ad-library-teardown/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ScrapeCreators/social-media-research-skills --skill ad-library-teardown -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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