ad-kill-rules

ad-kill-rules is a skill for Claude Code from cognyai/claude-code-marketing-skills. It costs 75 tokens per session (4,266 once invoked), scanned A, original, MIT.

A skill for applying pre-set evidence rules to online ads. It can produce a dry-run report or pause ads when results miss limits such as click-through rate or cost per lead across Meta, TikTok, LinkedIn, Google, and Bing.

In plain words
What is it for?
It is for monitoring ad results and producing or scheduling pause-only actions when campaigns fall below their rules.
Why use it?
It reduces the need to check ad performance manually and helps apply the same declared limits consistently. A dry run lets you review the result before pausing ads.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument; mentions Claude Code.

Good fit It is for monitoring ad results and producing or scheduling pause-only actions when campaigns fall below their rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cognyai/claude-code-marketing-skills/ad-kill-rules
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 cognyai/claude-code-marketing-skills --skill ad-kill-rules
Clone the repo
git clone --depth 1 https://github.com/cognyai/claude-code-marketing-skills

Made for: Claude Code.

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 ad-kill-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/cognyai/claude-code-marketing-skills/ad-kill-rules/github.svg)](https://agentmods.dev/skills/cognyai/claude-code-marketing-skills/ad-kill-rules)
Your own site
<a href="https://agentmods.dev/skills/cognyai/claude-code-marketing-skills/ad-kill-rules"><img src="https://agentmods.dev/badge/skills/cognyai/claude-code-marketing-skills/ad-kill-rules/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 ad-kill-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/cognyai/claude-code-marketing-skills/ad-kill-rules"><img src="https://agentmods.dev/badge/skills/cognyai/claude-code-marketing-skills/ad-kill-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,266 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.00075 $0.04266
Opus 5.5 $0.00030 $0.01706
Sonnet 5.5 $0.00015 $0.00853
Haiku 4.5 $0.00007 $0.00427

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

Security

Grade A, and why

ad-kill-rules 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.

skills/ad-kill-rules/SKILL.md · 250 lines

How it starts

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

Ad Kill Rules

A small script checks results every morning and pauses anything that missed the bar after a set amount of spend. Decide the bar before you launch: how much spend, how many days, and what counts as a win. Skip that and 200 ads give you 200 inconclusive experiments.

This is an exact rule, so it belongs in code rather than a model's judgment. The skill reports in chat, and schedule turns it into a deterministic Cogny script that can only pause.

Requires: Cogny ($9/mo) with at least one ad platform connected.

Usage

  • /ad-kill-rules or check — dry run: what would be paused, and why
  • /ad-kill-rules apply BK014 — pause the flagged ads for one campaign (asks per batch)
  • /ad-kill-rules schedule — create a daily pause-only script

The rule file

Rules live in the YAML block under ## Evidence bar in brain/campaigns/<ID> (written by /campaign-ledger new, keyed by the campaign ID), with a default at brain/contracts/ad-kill-rules. Log every pause under that folder's ## Kill log section. If no default exists, write one with the user:

default:
  currency: SEK          # MUST match the ad account currency (customer.currency_code / account currency)
  min_spend: 500         # in `currency`, per ad, before any judgment (~$50); rescale for your currency
  min_days: 3            # days since first impression
  min_impressions: 2000
  kill_if:
    ctr_below: 1.0       # percent, link CTR where available
    cpl_above: 1200      # cost per lead / key event in `currency`; null to skip
                         # 0 leads: broken once spend >= cpl_above (CPL is undefined, treat as infinite)
    frequency_above: 4.0 # fatigue
  protect:
    - name_contains: "_founder_"   # never auto-kill these; flag only
  max_pauses_per_run: 10
  scope: name_prefix_in_ledger     # only ads whose name starts with a ledger ID

Per-campaign blocks override the default. Scope is limited to ID-named assets by design, so the rule never touches legacy or brand campaigns that someone else owns.

Read the full file on GitHub · 250 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 · 250 lines · 75 tokens per session scan A d020a0346513

Subscribe to this mod's changes

ad-kill-rules is a skill published in the GitHub repository cognyai/claude-code-marketing-skills (120 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 4,266 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-10-13.

Related

ad-kill-rules compared with skills from other repositories

ad-kill-rules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ad-kill-rulescognyai/claude-code-marketing-skillsSkill120yesterdayMITA75Claude Code
create-video-seedance-2-falgooseworks-ai/goose-skillsSkill1.4k6d agoMITA121Claude Code, Codex
meta-ad-managergooseworks-ai/goose-skillsSkill1.4k6d agoMITA108Codex
create-chatgpt-mockupgooseworks-ai/goose-skillsSkill1.4k6d agoMITA90Claude Code, Codex
run-memorygooseworks-ai/goose-skillsSkill1.4k6d agoMITA72Claude Code, Codex
company-contact-findergooseworks-ai/goose-skillsSkill1.4k6d agoMITA55Claude Code, Codex
make-content-content-briefgooseworks-ai/goose-skillsSkill1.4k6d agoMITA84Claude Code, Codex