agentleFS
foxgeeekfoxgeeek/adskills/.claude/skills/meta-ads/SKILL.md

meta-ads

Skill1 starsChanged 7 months agoMITView on GitHub

Parent skill for Meta (Facebook/Instagram) Ads operations — campaigns, ad sets, ads, creatives, audiences, insights. Delegates to specialized sub-skills for bulk creative uploads, custom audience builds, fatigue detection, and spend tracking.

  • Reads credentials

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tiktok-ads, google-analytics and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hyperfx-aiSkill

    tiktok-ads

    Plan and create TikTok advertising campaigns end-to-end via the Hyper MCP, with strict parameter validation for objective-specific requirements. Use when the user wants to launch TikTok ads, set up TikTok traffic or reach campaigns, configure conversions or app-promotion campaigns, upload TikTok video creatives, or analyze TikTok ad performance. Also triggers on tiktok marketing, tiktok campaign, tiktok ppc, or tiktok ads manager.

    Also in 4 projects that use this

  • refly-aiSkill

    google-analytics

    Integrate with Google Analytics for web metrics. Use when you need to: (1) retrieve website analytics reports, (2) track traffic and user metrics, or (3) analyze web performance data.

    Also in 3 projects that use this

  • huiferSkill

    local-seo

    本地 SEO 分析和优化专家。自动检测项目是否需要本地 SEO,分析 NAP(Name, Address, Phone)一致性、本地关键词优化、Google Business Profile (GBP) 优化和本地结构化数据生成。提供本地商家搜索引擎排名优化建议,包括 NAP 标准化、本地关键词策略、GBP 完整性检查、评论策略、地图嵌入和本地 SEO 审计。

    Also in 3 projects that use this

  • indranilbanerjeeSkill

    keyword-research

    Research keywords via the connected data source: intent, gaps. Grouping → keyword-cluster. \"what keywords should we target\"

    Also in 3 projects that use this

  • AnthropicSkill

    onboarding

    Generate an onboarding checklist and first-week plan for a new hire. Use when someone has a start date coming up, building the pre-start task list (accounts, equipment, buddy), scheduling Day 1 and Week 1, or setting 30/60/90-day goals for a new team member.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run npx adskills init to complete OAuth and register ad account(s) in config/accounts.json

    line 17
  2. Very specific:

    Every Meta operation needs an accountRef (key in config/accounts.json).

    line 23

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Meta Ads — Root Skill

Gate into all Meta Ads operations. Sub-skills:

  • creative-strategy/ — bulk upload creatives (local or Drive), generate copy variations, structure ad sets by angle
  • audience-builder/ — custom audiences from CSV (emails, phones, CRM leads including WhatsApp), lookalikes, behavioral
  • fatigue-monitor/ — detect creative fatigue (CTR decay, frequency cap breach) and suggest pause/rotate
  • spend-tracker/ — budget pacing, monthly projection, burn alerts

Prerequisites

  1. Run npx adskills init to complete OAuth and register ad account(s) in config/accounts.json
  2. .env populated with META_APP_ID, META_APP_SECRET, META_REDIRECT_URI
  3. Token stored encrypted at ~/.adskills/tokens.json (unlocked by session password)

Account selection

Every Meta operation needs an accountRef (key in config/accounts.json). If user's prompt is ambiguous, ask:

"Which account? (accounts available: acme, clienteX, clienteY)"

Destructive action policy

The following require explicit confirmation in the current chat:

  • Pausing or deleting campaigns, ad sets, ads
  • Changing budgets
  • Increasing bids by >10%
  • Publishing creatives with status=ACTIVE (default = PAUSED)

Preview the exact change list and wait for "yes" / "confirma".

Invoking the client

import { MetaClient } from '../../../src/clients/meta.js';
import { getToken } from '../../../src/core/auth.js';

const token = await getToken('meta.acme', sessionPassword);
const client = new MetaClient({
  accessToken: token.accessToken,
  adAccountId: account.meta.adAccountId,
});

Common pitfalls

  • Meta budget values are in cents of account currency (divide by 100 for display)
  • act_ prefix is required on adAccountId (e.g., act_1234567890)
  • Image uploads return a hash, not a URL — persist the hash to create adcreatives
  • Long-lived tokens expire in ~60 days; refresh before major operations

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.