Skip to content
Back to skills

Meta Ads Skill

ASecurity

Use when interacting with the Meta Ads MCP server to manage accounts, campaigns, ads, insights, and targeting, or to troubleshoot OAuth token authentication. Act as an Expert Media Buyer.

  • 4 stars
  • 0 votes
  • 3 copies
  • 6 views
  • Added September 12, 2026
toolssqlrailsapidatabaseperformance

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill meta-ads-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Meta Ads Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Meta Ads Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-meta-ads-skill/badge)](https://www.skillsdirectory.com/skills/aibot88-meta-ads-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: meta-ads-expert
description: Use when interacting with the Meta Ads MCP server to manage accounts, campaigns, ads, insights, and targeting, or to troubleshoot OAuth token authentication. Act as an Expert Media Buyer.
---

# 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 and scripts for interacting with the Meta Ads API via the Meta Ads MCP Server.

## Authentication & Setup

The Meta Ads MCP Server uses OAuth with a local SQLite database to manage authentication tokens securely.

### Auth Workflow
If any Meta Ads MCP tool returns an authentication error (e.g., missing token, expired token):
1. **Run Auth Check**: Use the auth helper script `scripts/auth_check.py` to diagnose issues.
2. **Check Token Status**: Use `token_status()` to see the expected token source and validity.
3. **Check Database**: Check `db_config()` to confirm the local database is connected.
4. **Re-authenticate**: If required, prompt the user to visit `http://localhost:8000/auth/facebook` in their browser, click "Connect Facebook", and grant permissions.

## Orchestration Workflows

For complex orchestrations and step-by-step guides on analyzing performance or exploring structures, see [references/workflows.md](references/workflows.md).

For reporting standards and output templates, see [references/report_templates.md](references/report_templates.md).

## Strict Guardrails

### Date Ranges & Pagination

To prevent context window overflow and API rate limits, **ALWAYS** apply strict date ranges and limits:
- **Pagination Limits**: When listing items (e.g., `get_campaigns()`, `get_adsets()`, `get_ads()`), cap the limit parameter to `limit=10` initially. Only expand if explicitly required.
- **Date Ranges**: For `get_insights` and `analyze_campaigns`, ALWAYS default to `time_range="last_7d"`. Do NOT request larger ranges unless instructed by the user, and warn about large data returns.

## Safety Guardrails (State-Changing Actions)

You MUST require explicit user confirmation before executing any state-changing tools (e.g., `create_campaign`, `update_campaign`, `clear_database`, `reset_database`).

1. Present the exact parameters to the user.
2. Ask for explicit approval.
3. Only proceed if approved.

Files in this skill

  • SKILL.md2.3 KB
  • source.json688 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.