К основному содержанию
скилл CX Codex

apify-influencer-brand-collabs — скилл для Claude Code

Скилл apify-influencer-brand-collabs помогает найти партнёрства между брендами и инфлюэнсерами через Meta Ad Library. Используй, когда нужно узнать, с какими брендами работает создатель, или какие инфлюэнсеры продвигают бренд.

Apache-2.0 194 установок ★ 300 обновлён 2026-09-22

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add apify/awesome-skills --skill apify-influencer-brand-collabs -a claude-code
Открыть на GitHub

Что делает apify-influencer-brand-collabs

Скилл связывает несколько Apify-акторов, чтобы обнаружить спонсорские посты в Instagram. Берёшь инстаграм-аккаунт (бренд или инфлюэнсер), скилл определяет направление автоматически и возвращает либо список брендов, либо список создателей, которые с ними работали. Основано на Meta Ad Library, поэтому видны только посты, классифицированные как branded content.

Процесс идёт в несколько этапов: сначала скилл получает Facebook ID профиля через apify/instagram-profile-scraper, затем собирает данные из Ad Library через apify/brand-collaboration-scraper, и опционально добавляет метрики поста (лайки, комменты, просмотры) и информацию о партнёрах. Полный прогон занимает 3–5 минут и стоит несколько центов Apify.

Потребуется Apify MCP tools, чтобы вызывать акторы. Если аккаунт приватный, скилл остановится рано — Facebook ID не будет получен, и Ad Library запрос невозможен.

Какие задачи решает

  • найти все бренды, которые платили инфлюэнсеру за посты
  • узнать, каких создателей нанял бренд для рекламы
  • аудировать историю спонсорских партнёрств аккаунта
  • собрать список конкурентов инфлюэнсера по брендам
  • сравнить, какой контент получал больше всего лайков в коллабах

Примеры запросов агенту

  • Проверь, с какими брендами работает @bellahadid на спонсорских постах
  • Покажи мне всех инфлюэнсеров, которые платно продвигали Nike в последние полгода
  • Аудирь коллабы @adidas: сколько их, с кем, какой контент был лучше всего

Как установить apify-influencer-brand-collabs

1Через Skills CLI (Vercel)

npx skills add apify/awesome-skills --skill apify-influencer-brand-collabs -a claude-code

2Вручную: положить файлы

~/.claude/skills/apify-influencer-brand-collabs/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/apify-influencer-brand-collabs/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об apify-influencer-brand-collabs

Как установить apify-influencer-brand-collabs в Claude Code?

Выполни npx skills add apify/awesome-skills --skill apify-influencer-brand-collabs -a claude-code, затем найди скилл в ~/.claude/skills/apify-influencer-brand-collabs/SKILL.md.

Что делает apify-influencer-brand-collabs?

Находит спонсорские партнёрства между инфлюэнсерами и брендами через Meta Ad Library. Укажи аккаунт (инфлюэнсер или бренд), и скилл вернёт список партнёров с опциональными метриками просмотров и лайков.

Какие требования для работы скилла?

Нужны Apify MCP tools. Аккаунт должен быть публичным (приватные аккаунты скилл не обработает). Opифра работает только с постами, которые Meta классифицировала как branded content.

Исходный текст

SKILL.md · Apache-2.0
---
name: apify-influencer-brand-collabs
description: |
  Discover Instagram brand–creator partnerships by chaining Apify Actors. Use when the user asks
  who collabs with a brand, which brands a creator has done paid posts for, wants to audit an
  influencer's branded-content history, or wants to scope a brand's sponsorship roster.

  **Triggers:**
  - "who collabs with [brand] on Instagram?"
  - "what brands has [creator] done sponsored posts for?"
  - "find paid partnerships / branded content for [handle]"
  - "audit [influencer]'s brand deals"
  - "show me [brand]'s influencer roster"

  Works in either direction — brand → creators or creator → brands — and detects direction from the
  data, so don't ask the user to declare it. Requires Apify MCP tools.
author: Natasha Lekh
author_url: https://github.com/natashalekh
metadata:
  keywords: "influencer, brand, collaboration, sponsored, branded-content, partnership, instagram, meta-ad-library, creator-economy"
---

# Influencer–Brand Collaborations

Surface Instagram branded-content partnerships by chaining four Apify Actors against Meta's Ad
Library. Distilled from the production `influencer-brand-collabs` mini-tool.

## When to use

- "Who has Nike paid to promote them this quarter?"
- "What brands does @bellahadid do sponsored posts for?"
- Auditing an account's branded-content history
- Building a competitor's influencer roster

**Don't use for:** organic mentions or tags (use a hashtag/mentions scraper), TikTok or YouTube
collabs (different platforms), generic competitor ads (query Meta Ad Library directly).

## Inputs to gather

1. **Instagram handle or URL** — `@adidas` or `https://www.instagram.com/adidas/`
2. **Lookback window** — days; default 90
3. **Enrichment toggles** (each adds cost + time):
   - **Content insights** — likes, comments, views per collab
   - **Profile enrichment** — followers, bio, verified status of the *other* side

Direction (brand vs creator) is detected empirically. Do not ask.

## The pipeline

| # | Actor | Purpose | Required |
|---|---|---|---|
| 1 | `apify/instagram-profile-scraper` | Resolve the target's Facebook `fbid` | ✓ |
| 2 | `apify/brand-collaboration-scraper` | Pull branded-content posts from Meta's Ad Library | ✓ |
| 3 | `apify/instagram-post-scraper` + `apify/instagram-reel-scraper` | Engagement metrics | optional |
| 4 | `apify/instagram-profile-scraper` (again) | Enrich the result-side partners | optional |

Call each via `mcp__claude_ai_Apify__call-actor`. Use `mcp__claude_ai_Apify__fetch-actor-details`
first if you've never run one of these and want the exact input schema.

### Step 1 — Resolve the target

```jsonc
// actor: apify/instagram-profile-scraper
{ "usernames": ["adidas"] }
```

Grab `fbid` from the first item. **No `fbid` → can't query Ad Library → stop and tell the user.**
Most common cause: private account.

### Step 2 — Build the Meta Ad Library URL

```
https://www.facebook.com/ads/library/branded_content/?id={fbid}&query={username}&target=instagram&start_date={YYYY-MM-DD}&end_date={YYYY-MM-DD}
```

Date range = the lookback window (default 90 days, ending today).

### Step 3 — Fetch collaborations

```jsonc
// actor: apify/brand-collaboration-scraper
{ "startUrls": ["<ad library url>"], "resultsLimit": 10 }
```

Schema is **fixed**: every item has `creator` (always the influencer side) and `brandPartners[0]`
(always the brand side). Do not try to infer direction from these fields.

### Step 4 — Detect direction empirically

Count how often the target username appears on each side of the results:

- target appears more on `creator` side → **target is the influencer**; results are the **brands**
- target appears more on `brandPartners` side → **target is the brand**; results are the **creators**

> ⚠️ Do **not** use `isBusinessAccount` to infer this. It's unreliable — e.g. `@fifaworldcup` is a
> business account but appears as the creator of its own branded content.

### Step 5 — (optional) Content metrics

Split collab URLs by type:
- `/reel/...` → reel scraper
- `/p/...` or `/tv/...` → post scraper

```jsonc
// actor: apify/instagram-post-scraper
{ "username": ["<post urls>"], "resultsLimit": 1, "dataDetailLevel": "basicData" }

// actor: apify/instagram-reel-scraper
{ "username": ["<reel urls>"], "resultsLimit": 1 }
```

Match back to collabs via shortcode in the URL: `/(p|reel|tv)/([A-Za-z0-9_-]+)`.

**Engagement formula:** `likesCount + commentsCount + (videoViewCount ?? videoPlayCount ?? 0)`.

Run the two scrapers in parallel — they're independent.

### Step 6 — (optional) Enrich the *result* side

Collect unique usernames from the side that is **not** the target. Then:

```jsonc
// actor: apify/instagram-profile-scraper
{ "usernames": [<unique result-side usernames>] }
```

Only enrich the side the user actually cares about. The input handle is already known.

## What to present

After aggregation, surface:

- **Headline counts:** total collabs, unique partners, total engagement (if metrics enriched)
- **Top 5 collabs by engagement** — only meaningful when content insights were toggled on
- **Content-type mix:** Post vs Reel; Reels usually dominate engagement
- **Weekly timeline** across the date range — spikes reveal campaign launches
- **Per-partner card** (when profiles enriched): handle, full name, followers, verified, category,
  collabs in this run, avg engagement

For *who*-questions, the partner list alone is enough. Metrics only matter for
*which-was-best*-questions.

## URL parsing

Strip Instagram's `_u/` and `_n/` deep-link prefixes before extracting the handle:

```
/instagram\.com\/(?:_u\/|_n\/)?([A-Za-z0-9_.]+)/i
```

These slugs are **not** usernames — skip them:
`explore`, `reels`, `stories`, `direct`, `accounts`, `about`, `p`, `reel`, `tv`, `tags`,
`locations`, `_u`, `_n`.

## Pitfalls

- **Target is private** → profile scraper returns no `fbid`. Bail early with a clear message.
- **No results** → try in order: widen the date range, double-check the handle (strip `_u/`),
  confirm the account actually runs branded content. Meta only indexes ads they've classified as
  branded content.
- **Engagement is all zeros** → user skipped content enrichment. Offer to re-run with it on.
- **Direction looks wrong in the output** → re-check the empirical count. Don't trust
  `isBusinessAccount`.
- **Brand collabs with no metrics** are still answer-shaped for *who* questions — don't gate the
  whole flow on enrichment.

## Cost & time

Full 4-actor run: **~3–5 minutes**, a few cents of Apify compute. Order of magnitude:

| Enrichment | Actors run | Approx time |
|---|---|---|
| None | 2 | 1–2 min |
| + Content | 3–4 | 2–4 min |
| + Profiles | +1 | +30–60 s |

If the user just needs a partner list, skip both toggles.

## Reference implementation

Production route this skill was distilled from:
`mini-tools-main/src/app/api/tools/influencer-brand-collabs/route.ts` — full transformation logic,
error handling, and slimmed display shapes for each scraper's output.

© Natasha Lekh · Apache-2.0 · apify/awesome-skills

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
benchmarking-instagram-influencer-engagement apidojo Скилл benchmarking-instagram-influencer-engagement для Claude Code, который тянет посты Instagram через парсер apidojo на Apify и считает вовлечённость. Сравнивает аккаунты между собой или проверяет одного инфлюенсера перед оплатой. CX Codex +1 907установок finding-brand-ambassador-candidates apidojo Скилл finding-brand-ambassador-candidates находит потенциальных амбассадоров бренда в Instagram и TikTok через скраперы Apify, отбирая авторов с искренним интересом к продукту. CX Codex +1 878установок influencer-negotiation-playbook Maya-Beth Finotti Скилл influencer-negotiation-playbook готовит плейбук для переговоров с инфлюенсером: позиции по каждому пункту, лестница уступок, красные флаги и порог выхода из сделки. CX Codex +1 16 700установок Apify apify MCP-сервер, который подключает к агенту каталог скрейперов Apify Store и документацию платформы. Агент ищет готовые акторы, запускает их и забирает результат. CX Codex +1 218установок instagram-research bradautomates Скилл instagram-research собирает посты и рилсы отслеживаемых аккаунтов, находит выбросы по вовлечённости и разбирает топ-5 видео на хуки и структуру. CX Codex +1 1 600установок apify-scraper MSApps-Mobile Плагин apify-scraper интегрирует платформу Apify с Claude Code для запуска акторов, управления датасетами, хранилищами ключей и расписаниями задач. ★ 11звёзд репо

Из того же набора8

apify-ecommerce Скилл apify-ecommerce для Claude Code превращает вопрос про цены, отзывы или конкурентов в запуск нужного Apify Actor и готовый ответ. Собирает данные магазинов без ручного парсинга. CX Codex +1 536установок apify-easy-competitive-intelligence Скилл apify-easy-competitive-intelligence для Claude Code собирает живые данные о конкурентах через Apify-акторы: отзывы, цены, вакансии, SERP. Закрывает разбор рынка свежими данными из веба, не из памяти модели. CX Codex +1 343установок apify-verified-email-finder Скилл apify-verified-email-finder собирает список проверенных бизнес-имейлов из Google Maps, поисковой выдачи или списка URL. Проверка выполняется в одном запуске Apify без внешних сервисов. CX Codex +1 299установок apify-ads-intelligence Скилл apify-ads-intelligence исследует рекламу конкурентов через Apify Actors и сводит данные из публичных библиотек Meta, Google, TikTok, LinkedIn и X. CX Codex +1 270установок apify-link-prospecting-outreach Скилл apify-link-prospecting-outreach собирает сайты для линкбилдинга, оценивает их через Ahrefs и готовит персональные письма с предложением ссылки. CX Codex +1 227установок apify-ai-search-visibility-tracker Скилл apify-ai-search-visibility-tracker для Claude Code отслеживает упоминания бренда и конкурентов в ответах ИИ-поиска. Он также ищет запросы для мониторинга, возможности для цитирования и пробелы на сайте. CX Codex +1 204установок apify-booking-host-leads Скилл apify-booking-host-leads для Claude Code собирает контакты хозяев и управляющих жильём с Booking.com. Запускается по запросу найти почты или собрать список объектов размещения. CX Codex +1 103установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой