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.
npx agentmods add instructions/katekruger/campaign-preflight/agents-mdgit clone --depth 1 https://github.com/katekruger/campaign-preflightWrote 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.
[](https://agentmods.dev/instructions/katekruger/campaign-preflight/agents-md)<a href="https://agentmods.dev/instructions/katekruger/campaign-preflight/agents-md"><img src="https://agentmods.dev/badge/instructions/katekruger/campaign-preflight/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04921 | $0.04921 |
| Opus 5 | $0.02461 | $0.02461 |
| Sonnet 5 | $0.00984 | $0.00984 |
| Haiku 4.5 | $0.00492 | $0.00492 |
Grade A, and why
campaign-preflight AGENTS.md 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Working notes for anyone — human or agent — changing this repository. These are the conventions that are easy to break by accident because they look like mistakes until you know why they are there.
CLAUDE.md at the repo root is a one-line @AGENTS.md include, kept only
because Claude Code auto-loads CLAUDE.md as project context and does not
(yet) do the same for AGENTS.md. It is not shipped as plugin context — see
the plugin-manifest warning under CI workflows below; a plugin install never
sees it. Edit this file, never CLAUDE.md directly.
Self-descriptions go stale. This file has restated a checkable fact
about the codebase in prose twice now — a test count and a test-coverage
claim — and been wrong both times within weeks, caught only by an external
audit rather than anything in the repo. When adding a sentence here that
describes what the test suite or the code currently does, point at the file
that holds the truth (see tests/unit/test_mcp_safety.py) rather than
restating a count, a percentage, or a line number that the next commit can
invalidate without touching this file.
What this is
campaign-preflight, a read-only linter for outbound email campaigns. It ships
three ways: a Python CLI, an MCP server, and a Claude plugin.
Naming. The repository and the plugin share one name: campaign-preflight.
Use it verbatim in prose, headings, install commands, and URLs.
Non-negotiables — this tool cannot write, and must never be able to
This is a pre-send safety tool. Its entire value is that it can be pointed at a real campaign and a real API key without any risk of the campaign changing. No change may weaken that, however small or however good the reason looks. Concretely, no change may:
- Add a code path that writes to a provider. There is no
PATCH/PUT/DELETE/mutating-POSTcall anywhere in this codebase, and there must never be one.ReadOnlyTransportinsrc/campaign_preflight/providers/instantly_transport.pymatches every outbound(method, path)againstREAD_ONLY_ALLOWLIST— an explicit tuple of compiled patterns — and raisesReadOnlyViolationon anything else, before the request leaves the process. Exactly one entry is aPOST(/api/v2/leads/list, a filter-body read modelled as a POST); the test suite asserts no secondPOSTentry ever appears. Adding a provider call means adding an allowlist entry that a reviewer can see is a read — never widening the match to something broader like a whole path prefix. - Let an MCP tool's name, description, or annotations imply a write.
_assert_read_only()insrc/campaign_preflight/mcp/server.pyruns at server startup — not only in tests — and refuses to start if any tool name contains a mutating verb (MUTATING_VERBS), if its description doesn't start with the literalREAD-ONLY.prefix, or if it isn't annotatedreadOnlyHint: True. This is a fail-closed guard specifically so a mistake in a fork can't ship a write tool to somebody's Cowork or Claude Desktop. All three failure branches are covered bytests/unit/test_mcp_safety.py, parametrized over every verb inMUTATING_VERBS, including the over-breadth direction — see Testing conventions below. - Let missing or unreadable data produce a
PASS. Every provider read returns data plus the reason it does or does not exist (ProviderResultinproviders/base.py:ok,failed,forbidden,unsupported,misconfigured). Every rule declares theCapabilityvalues itrequires, andengine.evaluate()short-circuits a rule toUNKNOWNbefore calling it if a required capability isn't available (_missing_capabilities()). Rules cannot opt out of this — there is no parameter that lets a rule run anyway and guess. There are four verdicts, not two, andINCOMPLETEis a first-class outcome, not an error state. - Let a credential reach a log, a report, an exception, or a PR comment.
The Instantly API key is read from the environment only — no CLI flag, no
MCP tool argument accepts one (
test_no_tool_accepts_a_credential_argumentenforces the latter) — set once as anAuthorizationheader, and never formatted into a message.redact_secrets()(errors.py) runs over every provider-facing error string, every log line, and every rendered report, unconditionally;--no-redacton the CLI disables contact-mailbox masking only, never credential masking. - Accept a raw campaign edit, activation call, or send trigger as a feature request. This tool inspects; it does not act. If a request is "and then also send it" or "and then also pause it," the answer is no, not a design discussion — see What this repo deliberately does not do.
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.
- yesterday Changed · +8 lines · +116 tokens per session 1be60c993ec0
- 4d ago First seen · 355 lines · 4,805 tokens per session scan A db23cfbc9128
campaign-preflight AGENTS.md is an instructions file published in the GitHub repository katekruger/campaign-preflight (0 stars, last pushed 3d ago), licensed MIT. It adds 4,921 tokens to every session, about $0.0246 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.
Other instructions, from other repositories
instantly-mcp AGENTS.md
AGENTS.md instructions for katekruger/instantly-mcp, covering agents.md, stop and read this before you write code, commands, layout and credentials.
instantly-mcp CLAUDE.md
Claude Code instructions for katekruger/instantly-mcp, a project described as: MCP server for the Instantly.ai v2 API — analytics, leads, campaigns, Unibox, sender accounts — where every write is gated behind an explicit confirm, with code-enforced autonomy tiers, volume caps, and an audit log. Runs locally over stdio…
headless-gtm AGENTS.md
Instructions for Zevenue/headless-gtm, covering headless gtm - agent notes, where things are and operating rules.
agentmailkit AGENTS.md
AGENTS.md instructions for ariaxhan/agentmailkit, covering agentmailkit: setup guide for coding agents, compression — mandatory, 0. what this tool is, so you explain it correctly, 1. ask these questions first and 2. install.
email-skills CLAUDE.md
Claude Code instructions for sendx/email-skills, covering email marketing skills, repo structure, skill format, how skills work and key context.
inbox-to-action CLAUDE.md
Instructions for tarunlnmiit/inbox-to-action, covering claude.md — project context for claude code, commands, security invariant (do not break), package layout and config & env.