Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计异常

metaads广告洞察

Agent Skill

metaads 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,583

周安装

68

GitHub Stars

17

下载量

555
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:metaads(广告洞察)
来源仓库:https://github.com/mfwarren/entrepreneur-claude-skills
仓库路径:skills/metaads
安装命令:
npx skills add https://github.com/mfwarren/entrepreneur-claude-skills --skill metaads
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mfwarren/entrepreneur-claude-skills --skill metaads

简介

metaads 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限范围和维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写操作。
  • metaads 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Workflow Routing (SYSTEM PROMPT)

CRITICAL: Route to the correct workflow based on user intent.

When user needs to set up or configure Meta Ads API access: Examples: "set up meta ads", "connect meta ads", "configure facebook ads", "my token expired", "meta ads setup", credential errors from --check -> READ: ~/.claude/skills/MetaAds/workflows/Setup.md -> EXECUTE: Walk user through complete setup (Business Manager, App, token,.env)

When user wants to publish, create, or launch a campaign: Examples: "publish ads", "create campaign", "launch campaign", "upload ad images", "publish meta ads", "push this campaign to Meta", "create ad set" -> READ: ~/.claude/skills/MetaAds/workflows/PublishCampaign.md -> EXECUTE: Campaign publishing workflow -> If credentials fail, route to Setup.md first

When user wants to check performance, metrics, or analyze results: Examples: "check meta ad performance", "ROAS", "which ad is winning", "ad spend", "campaign metrics", "how are my ads doing", "audience breakdown", "creative performance" -> READ: ~/.claude/skills/MetaAds/workflows/AnalyzePerformance.md -> EXECUTE: Performance analysis workflow -> If credentials fail, route to Setup.md first

When user wants to manage campaigns (pause/resume/status): Examples: "pause campaign", "resume campaign", "campaign status", "list campaigns" -> Use uv run ~/.claude/skills/MetaAds/tools/Publish.py directly with --pause, --resume, --status, or --list


When to Activate This Skill

Setup & Configuration (Category 0)

  • "set up meta ads", "connect meta ads API", "configure facebook ads"
  • "meta ads setup", "how do I connect my ad account"
  • "my token expired", "token error", "can't access meta ads"
  • "refresh my meta token", "renew access token"
  • Any credential error from --check

Campaign Publishing (Category 1)

  • "publish ads", "create campaign", "launch campaign"
  • "push this to Meta", "set up the campaign", "upload ad images"
  • "publish meta ads", "create ad set", "build the campaign"
  • "publish this campaign config", "go live with the ads"

Performance Analysis (Category 2)

  • "check meta ad performance", "how are my ads doing"
  • "ROAS", "return on ad spend", "ad spend", "ad metrics"
  • "which ad is winning", "best performing ad"
  • "campaign metrics", "ad set performance", "creative performance"
  • "audience breakdown", "age/gender breakdown"
  • "CTR", "CPC", "CPM", "CPA", "cost per acquisition"

Campaign Management (Category 3)

  • "pause campaign", "resume campaign", "activate campaign"
  • "campaign status", "list campaigns", "show my campaigns"

Core Capabilities

Guided Setup:

  • Complete walkthrough: Business Manager -> Developer App -> Token ->.env
  • Two token paths: System User (never expires) or User Token (60-day, with automated refresh)
  • Token exchange automation (agent runs the curl command)
  • Pixel setup guidance for conversion tracking
  • Error diagnosis with specific fixes for every common failure

Campaign Publishing:

  • Upload images from local directories to Meta
  • Create full campaign hierarchy (campaign -> ad set -> creative -> ad)
  • Advantage+ flexible creative with multiple images/texts/headlines
  • All objects created PAUSED for manual review
  • JSON config-driven for reproducible campaigns

Performance Analytics:

  • Account-level summary with DTC benchmarks (CTR, CPM, CPA, ROAS)
  • Campaign, ad set, and ad-level metrics
  • Daily trend analysis for campaign deep dives
  • Audience breakdowns (age, gender, platform, device)
  • Data sync to Analytics/meta-ads/ for cross-channel analysis
  • CSV export for spreadsheet analysis

Campaign Management:

  • List all campaigns with status
  • View campaign hierarchy (campaign -> ad sets -> ads)
  • Pause/resume campaigns

Scripts

ScriptPurpose
tools/Publish.pyCampaign creation, image upload, pause/resume
tools/Analytics.pyPerformance metrics, breakdowns, sync, export

Both scripts use PEP 723 inline dependencies — just run with uv run directly from the skill directory. No install or copy step needed.

Usage

Run scripts directly from the skill directory. They load .env from the current working directory (Path.cwd()), so run them from your project root:

# From your project root (where .env lives):
uv run ~/.claude/skills/MetaAds/tools/Publish.py --check
uv run ~/.claude/skills/MetaAds/tools/Analytics.py --summary

Prerequisites: uv must be installed. If not: curl -LsSf https://astral.sh/uv/install.sh | sh

Environment Variables (.env):

VariableRequiredDescription
META_ADS_ACCESS_TOKENYesSystem User or long-lived User token
META_ADS_ACCOUNT_IDYesAd account ID with act_ prefix
FACEBOOK_APP_IDFor refreshApp ID for token exchange
FACEBOOK_APP_SECRETFor refreshApp Secret for token exchange

Campaign Objective Reference

Use these objectives in campaign configs:

ObjectiveWhen to UseOptimization Goal
OUTCOME_SALESDTC purchases, Shopify conversionsOFFSITE_CONVERSIONS
OUTCOME_LEADSLead gen, email signups, quiz funnelsLEAD_GENERATION
OUTCOME_TRAFFICLanding page visits, blog trafficLINK_CLICKS
OUTCOME_AWARENESSBrand awareness, video viewsREACH or IMPRESSIONS
OUTCOME_ENGAGEMENTPost engagement, page likesPOST_ENGAGEMENT

Campaign Config Template

Generic template for any DTC brand:

{
  "campaign": {
    "name": "campaign-name-month-year",
    "objective": "OUTCOME_SALES"
  },
  "adsets": [
    {
      "name": "Broad-25-54-US",
      "daily_budget": 5000,
      "targeting": {
        "age_min": 25,
        "age_max": 54,
        "genders": [0],
        "geo_locations": {"countries": ["US"]},
        "publisher_platforms": ["facebook", "instagram"],
        "facebook_positions": ["feed", "video_feeds", "story", "reels"],
        "instagram_positions": ["stream", "story", "reels", "explore"]
      },
      "optimization_goal": "OFFSITE_CONVERSIONS",
      "bid_strategy": "LOWEST_COST_WITHOUT_CAP"
    }
  ],
  "creative": {
    "images_directory": "./path/to/ad-images/",
    "primary_texts": [
      "Primary text variant 1 — lead with the hook or pain point",
      "Primary text variant 2 — lead with the benefit or social proof",
      "Primary text variant 3 — lead with a comparison or price anchor"
    ],
    "headlines": [
      "Short Punchy Headline",
      "Benefit-Driven Headline",
      "Price/Value Headline"
    ],
    "descriptions": [
      "Supporting description with key differentiator"
    ],
    "link_url": "https://yoursite.com/landing-page",
    "url_parameters": "utm_source=meta&utm_medium=paid-social&utm_campaign=campaign-name&utm_content={{ad.name}}",
    "call_to_action_type": "SHOP_NOW"
  }
}

Config notes:

  • daily_budget is in cents (5000 = $50.00/day)
  • genders: 0 = all, 1 = male, 2 = female
  • {{ad.name}} is a Meta dynamic parameter — auto-fills with the ad name
  • call_to_action_type options: SHOP_NOW, LEARN_MORE, SIGN_UP, GET_OFFER, ORDER_NOW, SUBSCRIBE, BOOK_NOW

DTC Benchmark Reference

MetricGoodOKNeeds WorkWhat It Means
CTR>1.5%1-1.5%<1%% of impressions that click. Low = creative isn't resonating
CPM<$15$15-25>$25Cost per 1000 impressions. High = competitive auction or narrow audience
CPC<$1$1-2>$2Cost per click. High = low CTR driving up costs
CPA<$30$30-50>$50Cost per purchase. The ultimate efficiency metric
ROAS>3x2-3x<2xRevenue per $1 spent. Below 2x usually means losing money after COGS
Frequency1-33-5>5Avg times each person saw the ad. High = ad fatigue
Hook Rate>25%15-25%<15%% who watch first 3 sec of video. Low = weak opening
Hold Rate>10%5-10%<5%% who watch 15+ sec. Low = content doesn't sustain interest

Optimization Playbook

Scaling winners:

  • Increase budget by 20-30% every 2-3 days (not all at once — resets learning)
  • Duplicate winning ad sets with new audiences
  • Create lookalike audiences from purchasers

Fixing underperformers:

  • CTR < 1%: Test new hooks/images — the creative isn't stopping thumbs
  • CTR > 2% but no purchases: Landing page problem, not ad problem
  • CPA too high: Narrow targeting or test lower-funnel audiences
  • Frequency > 4: Rotate in fresh creative
  • No spend after 48 hours: Switch optimization to Link Clicks temporarily, then back to Conversions

Meta learning phase:

  • Each ad set needs ~50 conversions in 7 days to exit learning
  • Don't edit during learning (resets the clock)
  • If budget is too low for 50 conversions/week, optimize for a higher-funnel event (ATC instead of Purchase)

Examples

Example 1: First-time Setup

User: "I want to set up Meta ads for my store"

Skill Response:

  1. Routes to Setup.md workflow
  2. Checks if.env exists, if Business Manager is set up
  3. Walks through Developer App creation
  4. Helps generate and exchange token
  5. Configures.env
  6. Verifies with --check

Example 2: Publish a Campaign

User: "Create a campaign for our new product launch"

Skill Response:

  1. Routes to PublishCampaign.md workflow
  2. Checks credentials (routes to Setup if missing)
  3. Asks about images, copy, targeting, budget
  4. Builds config JSON
  5. Publishes (all PAUSED)
  6. Reports campaign ID and review checklist

Example 3: Check Performance

User: "How are my Meta ads doing?"

Skill Response:

  1. Routes to AnalyzePerformance.md workflow
  2. Runs --summary for account overview
  3. Compares against DTC benchmarks
  4. Identifies winners and losers
  5. Provides specific optimization recommendations

Example 4: Token Expired

User: "My meta ads token isn't working" / agent sees error code 190

Skill Response:

  1. Routes to Setup.md Part 6 (Token Refresh)
  2. Checks for FACEBOOK_APP_ID and FACEBOOK_APP_SECRET in.env
  3. Tells user to generate new short-lived token in Graph API Explorer
  4. Runs the exchange curl command
  5. Updates.env with new long-lived token
  6. Verifies with --check

Example 5: Manage Campaign

User: "Pause campaign 12345678"

Skill Response:

  1. Runs uv run ~/.claude/skills/MetaAds/tools/Publish.py --pause 12345678
  2. Confirms campaign is paused

Last Updated: 2026-02-07

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.43%
按下载量换算197

Claude

29.43%
按下载量换算163

Cursor

18.99%
按下载量换算105

Gemini CLI

9.7%
按下载量换算54

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills