From Social Intelligence
Monitors competitor ads across Facebook, Google, LinkedIn, and Reddit via a 3rd-party scraping API. Useful for ad intelligence and creative analysis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/social-intel:ad-spyThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Cross-platform ad monitoring via a 3rd-party scraping API.
Cross-platform ad monitoring via a 3rd-party scraping API. Key:
SCRAPER_API_KEYfrom~/.claude/.credentials.master.env
BASE = https://api.your-scraper.example
AUTH: x-api-key: $SCRAPER_API_KEY
| Endpoint | Path | Input | Returns |
|---|---|---|---|
| Search Ads | /v1/facebook/adLibrary/search/ads | ?query=keyword | Креативы, тексты, статус, даты |
| Company Ads | /v1/facebook/adLibrary/company/ads | ?company_id=ID | Все объявления компании |
| Ad Details | /v1/facebook/adLibrary/ad | ?ad_id=ID | Полная информация об объявлении |
| Search Companies | /v1/facebook/adLibrary/search/companies | ?query=company_name | Найти company_id для дальнейшего поиска |
| Endpoint | Path | Input | Returns |
|---|---|---|---|
| Company Ads | /v1/google/company/ads | ?company=name | Контекстная реклама компании |
| Ad Details | /v1/google/ad | ?ad_id=ID | Детали объявления |
| Search Advertisers | /v1/google/adLibrary/advertisers/search | ?query=keyword | Поиск рекламодателей |
| Endpoint | Path | Input | Returns |
|---|---|---|---|
| Search Ads | /v1/linkedin/ads/search | ?query=keyword | B2B реклама по ключевому слову |
| Ad Details | /v1/linkedin/ad | ?id=AD_ID | Детали конкретного объявления |
| Endpoint | Path | Input | Returns |
|---|---|---|---|
| Search Ads | /v1/reddit/ads/search | ?query=keyword | Нативная реклама Reddit |
| Ad Details | /v1/reddit/ad | ?ad_id=ID | Детали объявления |
source ~/.claude/.credentials.master.env
API="https://api.your-scraper.example"
H="x-api-key: $SCRAPER_API_KEY"
# Find company in Facebook Ad Library
curl -s "$API/v1/facebook/adLibrary/search/companies?query=COMPETITOR_NAME" -H "$H" | python3 -m json.tool
source ~/.claude/.credentials.master.env
API="https://api.your-scraper.example"
H="x-api-key: $SCRAPER_API_KEY"
# Facebook ads
curl -s "$API/v1/facebook/adLibrary/company/ads?company_id=COMPANY_ID" -H "$H" > /tmp/ads_fb.json &
# Google ads
curl -s "$API/v1/google/company/ads?company=COMPETITOR_NAME" -H "$H" > /tmp/ads_google.json &
# LinkedIn ads
curl -s "$API/v1/linkedin/ads/search?query=COMPETITOR_NAME" -H "$H" > /tmp/ads_linkedin.json &
# Reddit ads
curl -s "$API/v1/reddit/ads/search?query=COMPETITOR_NAME" -H "$H" > /tmp/ads_reddit.json &
wait
echo "All ad data fetched"
Read all JSON results and create structured report:
# Ad Intelligence Report: [Competitor]
Generated: [date] | Sources: Facebook, Google, LinkedIn, Reddit
## Summary
- **Total active ads:** [count by platform]
- **Primary platforms:** [where they spend most]
- **Ad types:** [video, image, carousel, text]
- **Key messages:** [top 3 themes/value props]
## Facebook Ads
| Creative | Copy (first line) | CTA | Status | Running Since |
|----------|-------------------|-----|--------|---------------|
| [image/video desc] | [text] | [button] | Active | [date] |
## Google Ads
| Headline | Description | Landing Page | Keywords (estimated) |
|----------|-------------|-------------|---------------------|
| [text] | [text] | [url] | [inferred] |
## LinkedIn Ads
| Format | Copy | Target (estimated) | Engagement |
|--------|------|-------------------|------------|
| [type] | [text] | [audience hints] | [reactions] |
## Reddit Ads
| Subreddit | Title | Copy | Engagement |
|-----------|-------|------|------------|
| r/xxx | [title] | [text] | [upvotes, comments] |
## Insights & Recommendations
1. **Messaging gaps:** What competitors say that we don't
2. **Channel gaps:** Where they advertise that we don't
3. **Creative patterns:** What formats perform best for them
4. **Timing:** When they launch new campaigns
5. **Recommended actions:** [specific suggestions]
mkdir -p ~/Documents/Ad-Intel
# Write report to markdown file with date in filename
Competitors to monitor:
# Example: monitor all Your-Brand competitors
for company in "Comp1" "Comp2" "Comp3" "Comp4"; do
curl -s "$API/v1/facebook/adLibrary/search/ads?query=$company your-industry" \
-H "$H" > "/tmp/ads_${company// /_}.json"
sleep 1
done
AI competitors to monitor:
| Operation | Credits |
|---|---|
| Find company in FB Ad Library | 1 |
| Pull company's FB ads | 1 |
| Pull Google ads | 1 |
| Pull LinkedIn ads | 1 |
| Pull Reddit ads | 1 |
| Full competitor audit (4 platforms) | 5 |
| N competitors (Your-Brand scope) | ~35 |
Combine with /loop or /schedule for recurring checks:
/loop 24h ad-spy YourCompetitor your-industry
Or integrate into your own cron collectors.
| Next Step | Tool |
|---|---|
| Deep competitor analysis | competitive-analysis skill |
| Campaign planning | campaign-planning skill |
| Meta Ads optimization | meta-ads-analyzer skill |
| Content inspiration | content-creation skill |
| Report to stakeholders | stakeholder-comms skill |
| Save to your DB | your collector (your server) |
npx claudepluginhub jhamidun/claude-code-config-pack --plugin social-intelBuilds accessible UIs with shadcn/ui components on Radix UI + Tailwind CSS, plus canvas visuals. For React apps (Next.js, Vite, Remix, Astro), design systems, responsive layouts, themes, dark mode, prototypes.