meta-automated-rules-builder

meta-automated-rules-builder is a skill for Claude Code from Ad-Superpowers/ad-superpowers-plugin. It costs 87 tokens per session (3,632 once invoked), scanned A, original, MIT.

A guide for creating rules in Meta Ads Manager that check campaign performance and take an action when set conditions are met. Actions can include pausing ads, changing budgets, adjusting bids, or sending notifications.

In plain words
What is it for?
Use it to create budget-protection rules, automatic pauses, and other condition-based campaign actions.
Why use it?
It reduces the need to watch campaigns manually and helps respond consistently when performance crosses a chosen threshold.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the ad-superpowers plugin — 120 skills, 35 commands, 5 agents, 1 MCP server shipped together

Good fit Use it to create budget-protection rules, automatic pauses, and other condition-based campaign actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder
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 Ad-Superpowers/ad-superpowers-plugin --skill meta-automated-rules-builder
Clone the repo
git clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-plugin

Made for: Claude Code.

Or install ad-superpowers, the plugin that ships this one along with the rest of its 120 skills, 35 commands, 5 agents, 1 MCP server.

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-automated-rules-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder/github.svg)](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder)
Your own site
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder/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-automated-rules-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/meta-automated-rules-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,632 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.
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.00087 $0.03632
Opus 5.5 $0.00035 $0.01453
Sonnet 5.5 $0.00017 $0.00726
Haiku 4.5 $0.00009 $0.00363

Measured 1mo ago against content hash 0206b87c9125, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

meta-automated-rules-builder 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 1mo 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.

plugin/skills/meta-automated-rules-builder/SKILL.md · 496 lines

How it starts

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

Automated Rules Builder

Overview

This skill helps set up automated rules in Meta Ads Manager that continuously monitor your campaigns and automatically take actions based on performance metrics, saving time and enabling fast responses to changes.

Automated Rules Fundamentals

What Are Automated Rules?

┌─────────────────────────────────────────────────────────────────┐
│  HOW AUTOMATED RULES WORK                                       │
│                                                                 │
│  1. TRIGGER: When does Meta check the rule?                     │
│     └── Every 30 min, daily, or custom interval                 │
│                                                                 │
│  2. CONDITION: Which criteria must be met?                      │
│     └── E.g.: CPA > $25 AND Impressions > 1000                 │
│                                                                 │
│  3. ACTION: What happens when the condition is true?            │
│     └── Pause, change budget, adjust bid, notification          │
│                                                                 │
│  4. SCOPE: Which items does the rule apply to?                  │
│     └── Campaigns, Ad Sets, or Ads                              │
└─────────────────────────────────────────────────────────────────┘

Rules Location in Meta

NAVIGATION:
Ads Manager → Rules → Create Rule
OR
Ads Manager → Select items → Rules → Create New Rule

RULE TYPES:
├── Reduce Audience Overlap
├── Reduce Auction Overlap
├── Optimize Ad Creative
└── Custom Rule (most flexible)

Rule Categories & Use Cases

Category 1: Budget Protection Rules

GOAL: Prevent budget waste on poor performance

RULE: CPA Limit Pause
├── Apply to: Ad Sets (active)
├── Action: Turn off ad set
├── Conditions:
│   ├── Cost per Result > $[MAX CPA]
│   └── Impressions > 1000 (wait for data)
├── Time Range: Last 3 days
├── Schedule: Continuously
└── Notification: On

RULE: ROAS Minimum Guard
├── Apply to: Campaigns
├── Action: Turn off campaign
├── Conditions:
│   ├── Purchase ROAS < [MIN ROAS]
│   └── Amount Spent > $100
├── Time Range: Last 7 days
├── Schedule: Continuously
└── Notification: On

Read the full file on GitHub · 496 lines

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. 1mo ago First seen · 496 lines · 87 tokens per session scan A 0206b87c9125

Subscribe to this mod's changes

meta-automated-rules-builder is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed 29d ago), licensed MIT. It adds 87 tokens to every session and 3,632 once invoked, about $0.0003 per session on Opus 5.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-09-11.

Related

Other skills, from other repositories

analytics

Growth analytics authority — GA4 event tracking, conversion funnels, attribution models, cohort analysis, A/B testing, Supabase analytics queries, and revenue reporting patterns.

LuuOW/meridian-mcp · 33 tokens

creative-generate

A workflow for creating advertising images and banners from a strategy brief. It separates the main visual artwork from the accurately typeset text and produces variants for display or social formats.

logly/mureo · 131 tokens

cro-optimizer

CRO specialist that pulls live analytics data via the Humblytics MCP, analyzes conversion funnels, identifies drop-off points, and generates prioritized A/B test hypotheses. Use when analyzing conversion rates, diagnosing funnel leaks, optimizing signup flows, or creating test roadmaps. Triggers: CRO, conversion rate…

Humblytics/humblytics-marketing-skills · 76 tokens

learn

Save a marketing diagnosis insight to the pro-diagnosis knowledge base so it is applied in future operations across all platforms. Use when the user runs /learn, explicitly teaches the agent a marketing insight, corrects the agent's analysis, or asks to remember/record an operational learning for next time. Also use…

logly/mureo · 98 tokens

lead-form-create

Create a Meta Instant Form (Lead Ad form) through a one-question-at-a-time interview. Use when the user asks to create a lead form, Instant Form, CV form, or similar. The agent collects required parameters via a guided dialogue, confirms, then calls metaadsleadformscreate. Also use when the user asks in Japanese…

logly/mureo · 93 tokens

ai-hive-simulate-dn-samuel

A research and content-planning workflow that studies DN-Samuel's public material and turns its general methods into original work using your own facts and experience. It can also organise authorised documents into a source-linked reference library.

wubin1836/ai-hive-agent-skills · 334 tokens