Token导航 LogoToken导航

Agent Skill · 研究检索

meta-ads-open-cli(meta ADS open CLI 搜索)

meta-ads-open-cli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

meta-ads-open-cli 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 32,113。

总安装 2,571周安装 104GitHub Stars 公开资料未说明下载 807核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:meta-ads-open-cli(meta ADS open CLI 搜索)
来源仓库:https://github.com/bin-huang/meta-ads-open-cli
安装命令:
openclaw skills install meta-ads-open-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install meta-ads-open-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过命令行工具进行元广告数据分析与报告生成。meta-ads-open-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合需要批量提取营销活动/广告集/广告层数据时使用。支持 JSON/CSV 格式输出便于后续处理。依赖本地环境配置 CLI 客户端与认证令牌。

务必阅读原始文档完成初始化设置避免认证失败。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install meta-ads-open-cli;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

meta-ads-open-cli 怎么安装?

在终端执行 openclaw skills install meta-ads-open-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

meta-ads-open-cli 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

meta-ads-open-cli 需要什么权限?

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

meta-ads-open-cli 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

meta-ads-open-cli 用的人多吗?

公开数据是累计安装 2,571 次,近一周安装 104 次,下载 807 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

meta-ads-open-cli 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
meta-ads-open-cli

meta ADS open CLI 搜索 · 本页

2,571—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
meta-ads-open-cli
description
>
Triggers
Meta Ads", "Facebook Ads", "Instagram Ads", "meta ad performance", "meta campaign stats",

Meta Ads CLI Skill

You have access to meta-ads-open-cli, a read-only CLI for the Meta Marketing API (Graph API v24.0). Use it to query ad accounts, pull performance insights, inspect creatives, analyze audiences, and retrieve lead form submissions across Facebook, Instagram, Messenger, and Audience Network.

Quick start

# Check if the CLI is available
meta-ads-open-cli --help

# Get authenticated user info
meta-ads-open-cli me

# List accessible ad accounts
meta-ads-open-cli ad-accounts

If the CLI is not installed, install it:

npm install -g meta-ads-open-cli

Authentication

The CLI requires a Meta OAuth access token. Credentials are resolved in this order:

  1. --credentials <path> flag (per-command)
  2. Environment variable: META_ADS_ACCESS_TOKEN
  3. Auto-detected file: ~/.config/meta-ads-open-cli/credentials.json

Required permissions depend on the commands used:

  • ads_read -- read ad accounts and campaigns
  • ads_management -- required for some read endpoints (e.g., ad-specific fields on leads)
  • pages_read_engagement -- read Pages data
  • leads_retrieval -- read lead gen form submissions
  • business_management -- read business accounts

Before running any command, verify credentials are configured by running meta-ads-open-cli me. If it fails with a credentials error, ask the user to set up authentication.

Entity hierarchy

Business Manager
 +-- Ad Account (act_XXXXX)
      +-- Campaign
      |    +-- Ad Set
      |         +-- Ad -> Creative
      +-- Custom Audience
      +-- Meta Pixel
      +-- Custom Conversion

Ad account IDs use the act_ prefix (e.g., act_123456789). The CLI accepts both act_XXXXX and plain numeric IDs.

Monetary values

Insights API (spend field): returned as a decimal string in the major currency unit (e.g., "12.34" means $12.34). No conversion needed.

Management API (daily_budget, lifetime_budget, bid_amount): returned as integers in the smallest currency unit (cents). Divide by 100 for the actual amount.

Output format

All commands output pretty-printed JSON by default. Use --format compact for single-line JSON (useful for piping).

Pagination uses cursor-based --after values from paging.cursors.after in the response.

Commands reference

Account discovery

# Authenticated user info
meta-ads-open-cli me

# List ad accounts
meta-ads-open-cli ad-accounts
meta-ads-open-cli ad-accounts --limit 50

# Get a specific ad account
meta-ads-open-cli ad-account act_123456789
meta-ads-open-cli ad-account 123456789

# List users with access to an ad account (--business is required)
meta-ads-open-cli account-users 123456789 --business 9876543210

# List businesses
meta-ads-open-cli businesses

Campaign hierarchy

# Campaigns (filter by status: ACTIVE, PAUSED, ARCHIVED, DELETED)
meta-ads-open-cli campaigns 123456789
meta-ads-open-cli campaigns 123456789 --status ACTIVE

# Get a specific campaign
meta-ads-open-cli campaign 23851234567890

# Ad sets (filter by campaign, status)
meta-ads-open-cli adsets 123456789
meta-ads-open-cli adsets 123456789 --campaign 23851234567890 --status ACTIVE

# Get a specific ad set
meta-ads-open-cli adset 23851234567891

# Ads (filter by ad set, status)
meta-ads-open-cli ads 123456789
meta-ads-open-cli ads 123456789 --adset 23851234567891

# Get a specific ad
meta-ads-open-cli ad 23851234567892

All listing commands support --limit <n> (default 100). Most also support --after <cursor> for cursor-based pagination, except: account-users, businesses, pixels, custom-conversions, pages, and lead-forms.

Creatives

# List ad creatives for an account
meta-ads-open-cli creatives 123456789

# Get a specific creative (includes asset_feed_spec)
meta-ads-open-cli creative 23851234567893

Performance insights

The insights command is the primary tool for performance analysis. It works on any entity: account, campaign, ad set, or ad.

# Account-level insights (last 30 days)
meta-ads-open-cli insights act_123456789 --date-preset last_30d

# Campaign-level breakdown
meta-ads-open-cli insights act_123456789 --date-preset last_30d --level campaign

# Daily trend for a campaign
meta-ads-open-cli insights 23851234567890 --date-preset last_7d --time-increment 1

# Breakdowns by age and gender
meta-ads-open-cli insights act_123456789 --date-preset last_30d --level campaign --breakdowns age,gender

# Custom date range
meta-ads-open-cli insights-date act_123456789 --start 2026-01-01 --end 2026-01-31

# Custom fields
meta-ads-open-cli insights act_123456789 --date-preset last_30d --fields impressions,clicks,spend,ctr,cpc
date-preset values

today, yesterday, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_week_mon_today, this_week_sun_today, last_week_mon_sun, last_week_sun_sat, this_month, last_month, this_quarter, last_quarter, this_year, last_year, maximum, data_maximum

Breakdown dimensions

age, gender, country, region, platform_position, publisher_platform, device_platform, impression_device

Note: platform_position should typically be combined with publisher_platform for meaningful results.

time-increment values

Any integer from 1 to 90 (number of days per row), or monthly, or all_days (default). Common values: 1 (daily), 7 (weekly), 14 (bi-weekly).

Default metrics

When --fields is not specified, these metrics are returned: impressions, reach, clicks, cpc, cpm, ctr, spend, actions, cost_per_action_type, conversions, conversion_values, frequency

Common --fields combinations by analysis type

ROAS / revenue analysis:

meta-ads-open-cli insights act_123456789 --date-preset last_30d --level campaign --fields spend,purchase_roas,actions,action_values,conversion_values,cost_per_action_type

Cost efficiency:

meta-ads-open-cli insights act_123456789 --date-preset last_30d --level campaign --fields spend,impressions,clicks,cost_per_action_type,cost_per_inline_link_click,cost_per_unique_click,cost_per_outbound_click

Video performance:

meta-ads-open-cli insights act_123456789 --date-preset last_30d --level ad --fields impressions,spend,video_avg_time_watched_actions,video_30_sec_watched_actions,video_p25_watched_actions,video_p50_watched_actions,video_p75_watched_actions,video_p100_watched_actions,cost_per_thruplay

Reach & frequency:

meta-ads-open-cli insights act_123456789 --date-preset last_30d --level campaign --fields reach,frequency,impressions,spend,cpp

Engagement:

meta-ads-open-cli insights act_123456789 --date-preset last_30d --level ad --fields impressions,clicks,actions,inline_link_clicks,inline_link_click_ctr,social_spend
Valid breakdown combinations

Not all breakdowns can be combined. Common valid combinations:

  • age,gender -- demographic segmentation (the most popular breakdown)
  • publisher_platform,platform_position -- placement optimization (where ads perform best)
  • publisher_platform -- platform comparison (Facebook vs Instagram vs Audience Network)
  • publisher_platform,impression_device -- platform by device type
  • country -- geographic performance for international campaigns

Note: device_platform exists as a dimension name but is not listed in any valid combination in official docs. Use publisher_platform,impression_device for device analysis instead. impression_device cannot be used alone.

Invalid combinations will return an API error. When in doubt, use breakdowns one at a time. The official API only supports a specific whitelist of breakdown permutations.

Understanding the actions array

The actions field returns an array of {action_type, value} objects. Common action types:

On-Meta actions:

  • link_click -- link clicks
  • landing_page_view -- landing page views (subset of link clicks that loaded)
  • post_engagement -- all post interactions
  • video_view -- 3-second video views
  • lead -- all leads (offsite + on-Facebook)
  • like -- page likes
  • comment -- post comments

Pixel conversion actions (off-Meta):

  • offsite_conversion.fb_pixel_purchase -- website purchases
  • offsite_conversion.fb_pixel_add_to_cart -- adds to cart
  • offsite_conversion.fb_pixel_initiate_checkout -- initiates checkout
  • offsite_conversion.fb_pixel_lead -- leads (pixel-based)
  • offsite_conversion.fb_pixel_view_content -- content views
  • offsite_conversion.fb_pixel_complete_registration -- registrations

Cross-platform aggregates:

  • omni_purchase -- all purchases (web + app + offline)
  • omni_add_to_cart -- all add-to-cart events

The cost_per_action_type and action_values arrays use the same action_type keys.

Audiences

# Custom audiences
meta-ads-open-cli custom-audiences 123456789
meta-ads-open-cli custom-audience 23851234567894

# Saved audiences
meta-ads-open-cli saved-audiences 123456789

# Reach estimate for targeting specs
meta-ads-open-cli reach-estimate 123456789 --targeting '{"geo_locations":{"countries":["US"]},"age_min":25,"age_max":45}'

Pixels & conversions

# List Meta Pixels
meta-ads-open-cli pixels 123456789

# Pixel events
meta-ads-open-cli pixel-events 123456789012

# Custom conversions
meta-ads-open-cli custom-conversions 123456789

Pages & Instagram

# List Facebook Pages the user manages
meta-ads-open-cli pages

# Get a specific page
meta-ads-open-cli page 123456789

# Instagram business account linked to a page
meta-ads-open-cli instagram-accounts 123456789

Lead gen

# List lead forms for a page
meta-ads-open-cli lead-forms 123456789

# List leads (submissions) for a form
meta-ads-open-cli leads 987654321
meta-ads-open-cli leads 987654321 --limit 500

Note: lead fields ad_id and campaign_id require ads_management permission and are only populated for real leads from live ads (not test leads).

Workflow guidance

When the user asks for a quick overview

  1. Run meta-ads-open-cli ad-accounts to find accessible accounts
  2. Use insights with --date-preset last_30d for a performance snapshot
  3. Present the data (insights spend is already in major currency units, no conversion needed)

When the user asks for deep analysis

  1. Start with account-level insights to see overall performance
  2. Add --level campaign to identify top/bottom campaigns
  3. Drill down with --level adset or --level ad for underperforming campaigns
  4. Use --breakdowns age,gender or --breakdowns country for audience analysis
  5. Use --time-increment 1 for daily trends to spot anomalies
  6. Cross-reference with creatives to review ad copy and visuals

When the user asks about creative performance

  1. Run insights with --level ad to get ad-level metrics
  2. Use ads to find the creative IDs linked to each ad
  3. Use creative to inspect the actual creative content (images, copy, CTAs)

When the user asks about audience reach

  1. Use custom-audiences to see existing audiences and their sizes
  2. Use reach-estimate with targeting specs to estimate potential reach
  3. Use insights with --breakdowns age,gender or --breakdowns country to see who is being reached

When the user asks about conversion tracking

  1. Run pixels to list active Meta Pixels
  2. Use pixel-events to check what events are being tracked
  3. Use custom-conversions to see custom conversion rules
  4. Check insights with conversions and cost_per_action_type fields

When the user asks about lead gen

  1. Use pages to find the Page ID
  2. Use lead-forms with the Page ID to list forms
  3. Use leads with a form ID to retrieve submissions

Error handling

  • Authentication errors -- ask the user to verify their access token and permissions
  • "param business is required" -- the account-users command requires --business <id>
  • Empty insights -- check date range, entity status, and whether the account had active ads in the period
  • Missing lead fields -- ad_id/campaign_id require ads_management permission and only appear on real (non-test) leads
  • Permission errors -- different commands require different permissions; check the required permissions list above

API documentation references

平台分布

OpenClaw

81.49%
按下载量换算658

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills