preflight-rules

preflight-rules is a skill for Claude Code from katekruger/campaign-preflight. It costs 117 tokens per session (1,038 once invoked), scanned A, original, MIT.

A rule guide and tuning interface for campaign-preflight, a checker that reviews outbound email campaigns before they are sent.

In plain words
What is it for?
It lists and explains checks for contacts, email copy, schedules, senders, personalization, and other campaign details.
Why use it?
It helps explain flagged problems and adjust checks when a rule or threshold does not fit your campaign.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the campaign-preflight plugin — 3 skills, 1 MCP server shipped together

Good fit It lists and explains checks for contacts, email copy, schedules, senders, personalization, and other campaign details.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add katekruger/campaign-preflight
Claude Code
/plugin install campaign-preflight

Made for: Claude Code.

Or install campaign-preflight, the plugin that ships this one along with the rest of its 3 skills, 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 preflight-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/katekruger/campaign-preflight/preflight-rules/github.svg)](https://agentmods.dev/skills/katekruger/campaign-preflight/preflight-rules)
Your own site
<a href="https://agentmods.dev/skills/katekruger/campaign-preflight/preflight-rules"><img src="https://agentmods.dev/badge/skills/katekruger/campaign-preflight/preflight-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 preflight-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/katekruger/campaign-preflight/preflight-rules"><img src="https://agentmods.dev/badge/skills/katekruger/campaign-preflight/preflight-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,038 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.00117 $0.01038
Opus 5 $0.00059 $0.00519
Sonnet 5 $0.00023 $0.00208
Haiku 4.5 $0.00012 $0.00104

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

Security

Grade A, and why

preflight-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 7d 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/preflight-rules/SKILL.md · 113 lines

How it starts

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

Explain and tune the checks

What it checks

76 rules across seven categories. To list them:

"${CLAUDE_PLUGIN_ROOT}/bin/preflight" rules list
"${CLAUDE_PLUGIN_ROOT}/bin/preflight" rules list --category senders

Categories: campaign, contacts, suppression, personalization, copy, schedule, senders.

Summarize rather than dumping all 76 unless the user asks for the full list:

Category Catches
Campaign Stop-on-reply off, volume too high, no sending window, incoherent dates
Contacts Malformed addresses, duplicates, role inboxes, placeholder values, spreadsheet formula injection
Suppression Unsubscribed contacts and domains, existing customers, internal addresses, competitors
Personalization Unrendered merge fields, wrong name or company, unsupported claims, prompt injection
Copy Empty subject, broken links, TODO markers, missing opt-out language, duplicate steps
Schedule Invalid timezone, weekend sending, zero active days, DST transitions
Senders Unhealthy mailboxes, error states, volume exceeding capacity

Why did it flag this?

"${CLAUDE_PLUGIN_ROOT}/bin/preflight" rules explain campaign.daily_volume

That prints what the rule checks, what data it needs, its default severity, and every option with its default. Use it before answering — do not describe a rule from memory.

Re-running the original check with --verbose shows the reasoning behind each specific finding and the score arithmetic.

"That threshold is wrong for us"

This is a legitimate and common response. Build them a config file rather than telling them to ignore the finding.

version: 1

settings:
  target_timezone: America/New_York
  required_variables: [first_name, company_name]
  allow_weekend_sending: true          # if they genuinely send weekends
  internal_domains: [ourcompany.example.com]
  customer_domains: [bigcustomer.example.com]

rules:
  campaign.daily_volume:
    warning_above: 300                 # their real limits
    blocker_above: 800
  senders.health_below_threshold:
    minimum_score: 70
  contacts.missing_job_title:
    enabled: false                     # turn a rule off entirely
  contacts.free_email_domain:
    severity: INFO                     # report it, but stop deducting points

Read the full file on GitHub · 113 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. 7d ago First seen · 113 lines · 117 tokens per session scan A dd5da975ebda

Subscribe to this mod's changes

preflight-rules is a skill published in the GitHub repository katekruger/campaign-preflight (0 stars, last pushed yesterday), licensed MIT. It adds 117 tokens to every session and 1,038 once invoked, about $0.0006 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-31.