Borrowing it
Nothing to install: this file belongs to katekruger/campaign-preflight. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/katekruger/campaign-preflight/main/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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.01968 | $0.01968 |
| Sonnet 5.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 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.
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.
- 1mo ago Changed · +8 lines · +116 tokens per session 1be60c993ec0
- 1mo 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 1mo ago), licensed MIT. It adds 4,921 tokens to every session, about $0.0197 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-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.