campaign-report

A command that creates a report for recently sent email campaigns using the campaign data returned by the connected service.

In plain words
What is it for?
It lists recent sent campaigns and reports each campaign's sends, opens, clicks, bounces, and unsubscribes, plus rates when the service provides them.
Why use it?
It gathers each campaign's results in one place without inventing combined account-wide averages or totals.

Command

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.

agentmods
npx agentmods add commands/activecampaign/activecampaign-plugin/campaign-report
Clone the repo
git clone --depth 1 https://github.com/ActiveCampaign/activecampaign-plugin
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.00664
Opus 5 $0.00008 $0.00332
Sonnet 5 $0.00003 $0.00133
Haiku 4.5 $0.00002 $0.00066

Measured 2d ago against content hash 0aba2ddca5b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

campaign-report 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 2d 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.

commands/campaign-report.md · 58 lines

How it starts

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

/campaign-report

Generate a performance report for recent email campaigns.

Instructions

When the user runs /campaign-report, produce a comprehensive campaign performance summary.

Server rule: The MCP server does not compute aggregates. Report the per-campaign counts that get_campaign returns. Do not synthesize a blended "average open rate" or "total sends" across campaigns — present each campaign's own numbers and let the reader compare. If the user explicitly wants account-wide averages, tell them that lives in AC's native reporting.

Steps

  1. Fetch recent campaigns: Use list_campaigns with status "sent" to get the most recently sent campaigns. Default to the last 10 campaigns unless the user specifies a different range. (One call per turn; follow next_page only if you need more records to show.)

  2. Get per-campaign numbers: For each campaign, use get_campaign to read the send count, open count, click count, bounce count, and unsubscribe count as the API returns them. If get_campaign returns a rate directly, show it; if it returns only raw counts, show the counts — do not derive new rates from a population the server told you not to aggregate.

  3. Get link performance: For the few campaigns with the most clicks, use get_campaign_links to identify which links drove clicks.

  4. Present the report in this format:

## Campaign Performance Report

### Campaigns (Last [N], status: sent)
| Campaign | Sent Date | Sends | Opens | Clicks | Bounces | Unsubs |
|----------|-----------|-------|-------|--------|---------|--------|
| ...      | ...       | ...   | ...   | ...    | ...     | ...    |

(Show each campaign's own counts exactly as returned. Include a rate column only if the API itself returned that rate.)

### Standouts
1. **[Campaign Name]** — highest opens/clicks in this set
   - Top link: [URL] ([X] clicks)

### Patterns
- [Qualitative observation grounded in specific campaigns — e.g. "your three most recent sends each had fewer opens than the one before"]

### Recommendations
- [Specific, actionable suggestion tied to the records above]

### Not measured here
- Account-wide averages/rates aren't available via MCP — see AC's native campaign reporting for those.

Read the full file on GitHub · 58 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. 2d ago First seen · 58 lines · 16 tokens per session scan A 0aba2ddca5b3

Subscribe to this mod's changes

campaign-report is a command published in the GitHub repository ActiveCampaign/activecampaign-plugin (0 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 664 once invoked, about $0.0001 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-30.