meta-ads-expert

meta-ads-expert is a skill for Claude Code from Varnan-Tech/opendirectory. It costs 32 tokens per session (577 once invoked), scanned A, original, MIT.

A guide for using the Meta Ads command-line tool to manage advertising accounts, campaigns, ads, and performance data.

In plain words
What is it for?
Use it to list ad accounts, campaigns, ad sets, and ads, retrieve performance insights, or create campaigns through the Meta Ads CLI.
Why use it?
It helps you choose the right command and follow the required setup and safety rules when working with Meta advertising data.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the opendirectory plugin — 58 skills shipped together

Good fit Use it to list ad accounts, campaigns, ad sets, and ads, retrieve performance insights, or create campaigns through the Meta Ads CLI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/varnan-tech/opendirectory/meta-ads-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Varnan-Tech/opendirectory --skill meta-ads-skill
Clone the repo
git clone --depth 1 https://github.com/Varnan-Tech/opendirectory

Made for: Claude Code.

Or install opendirectory, the plugin that ships this one along with the rest of its 58 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for meta-ads-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/varnan-tech/opendirectory/meta-ads-skill/github.svg)](https://agentmods.dev/skills/varnan-tech/opendirectory/meta-ads-skill)
Your own site
<a href="https://agentmods.dev/skills/varnan-tech/opendirectory/meta-ads-skill"><img src="https://agentmods.dev/badge/skills/varnan-tech/opendirectory/meta-ads-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for meta-ads-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/varnan-tech/opendirectory/meta-ads-skill"><img src="https://agentmods.dev/badge/skills/varnan-tech/opendirectory/meta-ads-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 12
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 16
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00577
Opus 5 $0.00016 $0.00289
Sonnet 5 $0.00006 $0.00115
Haiku 4.5 $0.00003 $0.00058

Measured 9d ago against content hash 5dd1556fcc05, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

meta-ads-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/meta-ads-skill/meta-ads-skill/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Meta Ads Expert Skill

Persona: You are an Expert Media Buyer. This skill acts as a router, providing high-level instructions and linking to detailed references for interacting with the Meta Ads API via the meta-ads CLI.

Authentication & Setup

The Meta Ads CLI uses a System User Access Token for authentication.

Environment Variables

Ensure the following environment variables are set in the environment where the CLI is executed:

  • ACCESS_TOKEN: Your Meta System User Access Token.
  • AD_ACCOUNT_ID: Your target Ad Account ID (e.g., act_123456789).

CRITICAL: NEVER use inline tokens in commands (e.g., meta ads --token <TOKEN>). Always rely on environment variables or pre-configured config files.

CLI Routing

Map your intent to the following meta-ads CLI commands:

Intent CLI Command
List Ad Accounts meta ads account list
List Campaigns meta ads campaign list
List Ad Sets meta ads adset list
List Ads meta ads ad list
Get Insights meta ads insights get
Create Campaign meta ads campaign create

Strict Guardrails

Command Execution

  • JSON Output: ALWAYS use --output json for all read operations to ensure structured data for analysis.
  • No Input: ALWAYS use --no-input (or equivalent) to prevent the Bash tool from hanging on interactive prompts.
  • Creation Safety: ALWAYS use --status PAUSED for all creation commands unless the user explicitly requests an active status.

Date Ranges & Pagination

To prevent context window overflow and API rate limits:

  • Pagination Limits: When listing items, cap the limit parameter (e.g., --limit 10) initially. Only expand if explicitly required.
  • Date Ranges: For insights, ALWAYS default to --time-range last_7d. Do NOT request larger ranges unless instructed by the user.

Safety Guardrails (State-Changing Actions)

You MUST require explicit user confirmation before executing any state-changing commands (e.g., campaign create, campaign update).

Read the full file on GitHub · 59 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 59 lines · 32 tokens per session scan A 5dd1556fcc05

Subscribe to this mod's changes

meta-ads-expert is a skill published in the GitHub repository Varnan-Tech/opendirectory (635 stars, last pushed 23d ago), licensed MIT. It adds 32 tokens to every session and 577 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

content-style

Writing Reddit-native content that sounds human, avoids AI tells, and delivers value through structure and specificity. Applies to workshop posts, definitive model guides, research megathreads, and community FYI/update posts.

AtlasOmnia/donna-starter · 37 tokens

coding-worktree-recovery

Use this skill when coding-agent work is interrupted, an agent exits without a clean commit, multiple controllers target the same checkout, or the checkout produces inconsistent file/Git behavior.

AtlasOmnia/donna-starter · 56 tokens

macos-storage-management

Safely reclaim local Mac storage without mistaking cloud placeholders for resident data, losing File Provider content, or flattening metadata onto an incompatible external filesystem.

AtlasOmnia/donna-starter · 22 tokens

hermes-mnemosyne

Mnemosyne is Hermes' primary local-first memory engine — SQLite with vector + FTS5 hybrid search, 19+ tools, auto-consolidation, and a standalone CLI. It's a pip-installed plugin (not a built-in toolset) discovered via $HERMESHOME/plugins/mnemosyne/.

AtlasOmnia/donna-starter · 30 tokens

skill-auditor

Audit any Hermes skill file and assign a quality grade based on clarity, completeness, tool guidance, and shareability. Returns specific fix suggestions ranked by impact.

AtlasOmnia/donna-starter · 64 tokens

marketplace-purchase-vetting

Use this when the user asks whether a local listing is a scam, "too good to be true," worth looking at, or a good deal. Also use this when he asks you to find options — search/discover candidates, then vet the best ones. The goal is not a generic buying guide; it is a practical risk read with clear next steps.

AtlasOmnia/donna-starter · 72 tokens