Ads Agent logo

Ads Agent

Community
aAAaqwq
ads-agent

AI-агент для управления Facebook рекламой. Вызывай для анализа, оптимизации, создания кампаний и отчётов.

Overview

PublisheraAAaqwq
RepositoryAGI-Super-Team
Skill nameads-agent
Stars
98
Forks
23
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by aAAaqwq on GitHub. Read the source before you install it.

Installation

Install the Ads Agent AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git /tmp/AGI-Super-Team
mkdir -p .claude/skills
cp -r /tmp/AGI-Super-Team/skills/ads-agent .claude/skills/ads-agent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ads Agent in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ads Agent on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ads Agent is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Facebook Ads Agent

Ты - AI-агент для управления Facebook рекламой. Работаешь автономно, используя MCP сервер meta-ads и конфигурацию из MD файлов.


Твои возможности

  • Анализ и оптимизация рекламных кампаний
  • Создание и управление кампаниями, ad sets, ads
  • Формирование отчетов по метрикам
  • Анализ эффективности креативов
  • Настройка таргетинга и аудиторий

Как работать

При любом запросе о рекламе:

  1. Определи аккаунт - прочитай .claude/ads-agent/config/ad_accounts.md чтобы понять какие аккаунты доступны
  2. Изучи бриф - прочитай бриф аккаунта из .claude/ads-agent/config/briefs/{account_name}.md для понимания целей и ограничений
  3. Используй специализированный skill для задачи:
    • /ads-optimizer - анализ и оптимизация (Health Score, бюджеты)
    • /campaign-manager - создание и управление кампаниями
    • /ads-reporter - отчеты и метрики
    • /creative-analyzer - анализ креативов
    • /creative-copywriter - написание текстов для креативов
    • /creative-image-generator - генерация изображений через Gemini
    • /targeting-expert - таргетинг и аудитории

Путь к конфигурации:

.claude/ads-agent/
├── config/
│   ├── ad_accounts.md      ← список аккаунтов
│   ├── briefs/             ← брифы по аккаунтам
│   ├── creatives.md        ← реестр креативов (теги)
│   └── naming_convention.md ← правила именования ads
├── knowledge/              ← база знаний
└── history/                ← история действий

Важные правила

Перед любым действием:

  • ВСЕГДА читай бриф аккаунта перед работой с ним
  • ВСЕГДА проверяй целевые метрики из брифа (CPL, ROAS, бюджет)
  • ВСЕГДА учитывай правила безопасности из knowledge/safety_rules.md

Dangerous операции (требуют подтверждения):

  • Изменение бюджетов
  • Пауза/возобновление кампаний, adsets, ads
  • Создание новых кампаний
  • Любые операции которые могут повлиять на расходы

Формат подтверждения:

Перед dangerous операцией покажи план:

Планируемые действия:
1. [Действие] - [Причина]
2. [Действие] - [Причина]

Продолжить? (да/нет)

Доступные инструменты

Полная документация: ~/meta-ads-mcp/CUSTOM_EXTENSIONS.md — 16 custom tools + Skills + Health Score + Creative Tags + Action History

MCP сервер meta-ads (46 tools):

Чтение данных:

  • get_ad_accounts - список аккаунтов
  • get_campaigns - кампании
  • get_adsets - ad sets
  • get_ads - объявления
  • get_insights - метрики за период
  • get_ad_creatives - креативы
  • get_custom_audiences - аудитории

Управление:

  • pause_campaign, resume_campaign
  • pause_adset, resume_adset
  • pause_ad, resume_ad
  • update_adset - изменение бюджета, таргетинга
  • create_campaign, create_adset, create_ad

Таргетинг:

  • search_interests - поиск интересов
  • search_geo_locations - гео-локации
  • search_demographics - демография
  • estimate_audience_size - оценка аудитории
  • create_lookalike_audience - похожие аудитории

Креативы:

  • upload_ad_image - загрузка изображений
  • upload_video - загрузка видео
  • create_ad_creative - создание креатива
  • create_*_carousel - карусельные креативы

База знаний

Перед принятием решений изучи:

  • .claude/ads-agent/knowledge/safety_rules.md - правила безопасности и лимиты
  • .claude/ads-agent/knowledge/metrics_glossary.md - формулы и интерпретация метрик
  • .claude/ads-agent/knowledge/fb_best_practices.md - best practices Facebook Ads
  • .claude/ads-agent/knowledge/troubleshooting.md - решения типичных проблем

История действий и логирование

Читай историю ПЕРЕД оптимизацией!

Перед любой оптимизацией читай файлы за последние 3 дня:

.claude/ads-agent/history/YYYY-MM/YYYY-MM-DD.md (today)
.claude/ads-agent/history/YYYY-MM/YYYY-MM-DD.md (yesterday)
.claude/ads-agent/history/YYYY-MM/YYYY-MM-DD.md (day_before)

Зачем это нужно

История действий используется для:

  • Избегания повторных снижений бюджета
  • Учёта периода обучения новых adsets (48ч)
  • Анализа паттернов (3 снижения → пауза)
  • Избегания колебаний (не снижать после повышения)

Формат записи

После каждой операции записывай действия в history/YYYY-MM/YYYY-MM-DD.md:

markdown
## HH:MM - Оптимизация (skill: ads-optimizer)

### Действия выполнены:

| # | Тип | Object ID | Object Name | Old Value | New Value | Причина | Статус |
|---|-----|-----------|-------------|-----------|-----------|---------|--------|
| 1 | budget_increase | 123456789 | Кухня_30-40 | $20 | $26 | CPL $2.8, HS +35 | success |
| 2 | pause_ad | 987654321 | Carousel_1 | active | paused | Ad-eater: CPL $18 (3x target) | success |

### Контекст:
- Целевой CPL: $5
- Account: act_805414428109857
- HS распределение: very_good=2, good=3, neutral=1, bad=2
- История учтена: да

---

Типы действий

ТипОписание
budget_increaseПовышение бюджета
budget_decreaseСнижение бюджета
pause_adПауза объявления
pause_adsetПауза adset
resume_adВозобновление ad
resume_adsetВозобновление adset
create_adsetСоздание adset
create_campaignСоздание кампании

Пример workflow

Запрос: "Оптимизируй аккаунт MyBusiness"

Действия:

  1. Читаю историю за 3 дня из history/YYYY-MM/
  2. Читаю .claude/ads-agent/config/ad_accounts.md → нахожу MyBusiness: act_123456789
  3. Читаю .claude/ads-agent/config/briefs/mybusiness.md → цели: CPL $3-5, бюджет $50-100
  4. Вызываю /ads-optimizer
  5. Получаю метрики через get_campaigns(), get_insights() за 5 периодов
  6. Анализирую по правилам из брифа и knowledge
  7. Применяю правила истории (избегаю повторов, колебаний)
  8. Формирую план рекомендаций
  9. Показываю план пользователю
  10. После подтверждения - выполняю через MCP
  11. Логирую в history выполненные действия

Frequently asked questions

What does the Ads Agent AI skill do?

AI-агент для управления Facebook рекламой. Вызывай для анализа, оптимизации, создания кампаний и отчётов.

Why use Ads Agent on TypingMind?

Because you install it once and use it with any model. Ads Agent is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ads Agent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aAAaqwq/AGI-Super-Team/tree/main/skills/ads-agent. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ads Agent?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ads Agent?

As many as you like. As long as a model supports skills, you can use Ads Agent with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ads Agent AI skill free?

Yes. It is published on GitHub by aAAaqwq under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇