# Send Meta Ad Creatives to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "meta-ad-creatives",
    "name": "Meta Ad Creatives",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/fortytwode/meta-ad-creatives",
    "canonicalUrl": "https://clawhub.ai/fortytwode/meta-ad-creatives",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/meta-ad-creatives",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=meta-ad-creatives",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "accounts_config.example.json",
      "SKILL.md",
      "scripts/meta_ad_creatives.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/meta-ad-creatives"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/meta-ad-creatives",
    "downloadUrl": "https://openagent3.xyz/downloads/meta-ad-creatives",
    "agentUrl": "https://openagent3.xyz/skills/meta-ad-creatives/agent",
    "manifestUrl": "https://openagent3.xyz/skills/meta-ad-creatives/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/meta-ad-creatives/agent.md"
  }
}
```
## Documentation

### Meta Ad Creatives

Track creative performance and hit rates across multiple Meta Ads accounts.

### What This Skill Does

Calculate hit rates (% of creatives meeting performance benchmarks)
Track multiple metrics: CPT (cost per trial), CPI (cost per install), IPM (installs per mille), ROAS
Compare performance across multiple accounts
Store historical data for trend analysis
Identify winning creatives vs underperformers
Support currency conversion for international accounts

### 1. Environment Variables

FACEBOOK_ACCESS_TOKEN=your_token_here
FACEBOOK_APP_ID=your_app_id
FACEBOOK_APP_SECRET=your_app_secret

### 2. Accounts Configuration

Create accounts_config.json:

{
  "accounts": {
    "ClientName": {
      "account_id": "123456789",
      "filter": "CampaignNameFilter",
      "geo_filter": "US",
      "benchmark_value": 100,
      "benchmark_display": "CPT < $100",
      "active": true
    }
  }
}

Configuration fields:

account_id: Meta Ad Account ID (without act_ prefix)
filter: Campaign name filter (optional)
geo_filter: Geographic filter like "US" (optional)
benchmark_value: CPT threshold for "winning" creatives
benchmark_display: Human-readable benchmark description

### Get Hit Rates for Current Month

from scripts.meta_ad_creatives import get_all_hit_rates

data = get_all_hit_rates(month_offset=0)
print(f"Overall hit rate: {data['totals']['hit_rate']}%")
for account in data['accounts']:
    print(f"  {account['account_name']}: {account['hit_rate']}%")

### Get Hit Rates for Previous Months

# Last month
data = get_all_hit_rates(month_offset=-1)

# Two months ago
data = get_all_hit_rates(month_offset=-2)

### Get All-Time Aggregated Data

data = get_all_hit_rates(all_time=True)

### Get Individual Ad Performance

from scripts.meta_ad_creatives import get_individual_ads

# All ads for an account
ads = get_individual_ads(account_name="ClientName", month_key="2026-01")

# Only winning ads
winners = get_individual_ads(account_name="ClientName", hit_only=True)

# Sort by CPT
ads = get_individual_ads(sort_by="cpt")

### Monthly Comparison

from scripts.meta_ad_creatives import get_monthly_comparison

# Compare last 3 months
months = get_monthly_comparison(num_months=3)
for month in months:
    print(f"{month['month_label']}: {month['totals']['hit_rate']}%")

### Key Metrics

MetricDescriptionTotal AdsAds created in the periodAds with SpendAds that received budgetAds Hitting BenchmarkAds meeting CPT thresholdHit Rate% of ads meeting benchmarkCPTCost Per Trial (spend / trials)

### Hit Rate Calculation

A creative "hits" the benchmark when:

It has spend > $0
It has trials > 0
CPT < benchmark_value (e.g., $100)

Hit Rate = (Ads Hitting Benchmark / Ads with Spend) × 100

### Data Storage

The skill stores historical data for trend analysis:

Firestore (default for cloud deployments)
SQLite (local fallback)

Set USE_FIRESTORE=false to use SQLite locally.

### Common Questions This Answers

"What's our creative hit rate this month?"
"Which creatives are winning for [Client]?"
"How does this month compare to last month?"
"Show me all ads that hit the benchmark"
"What's our all-time hit rate?"
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: fortytwode
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/meta-ad-creatives)
- [Send to Agent page](https://openagent3.xyz/skills/meta-ad-creatives/agent)
- [JSON manifest](https://openagent3.xyz/skills/meta-ad-creatives/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/meta-ad-creatives/agent.md)
- [Download page](https://openagent3.xyz/downloads/meta-ad-creatives)