Skip to content
Marketing
Skill

/email-report

Auto-generate the weekly or monthly email performance report in three formats — Slack update, CEO email, board-deck section — from real ESP data

From plugin
claude-code-marketing-skills
10251 skills
Install
$ npx -y skills add cognyai/claude-code-marketing-skills --skill email-report --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/email-report

Context preview

The summary Claude sees to decide when to auto-load this skill.

Auto-generate the weekly or monthly email performance report in three formats — Slack update, CEO email, board-deck section — from real ESP data

SKILL.md

email-report.SKILL.md
name: email-report
description: Auto-generate the weekly or monthly email performance report in three formats — Slack update, CEO email, board-deck section — from real ESP data
version: "1.0.0"
author: Cogny AI
requires: cogny-mcp
platforms: [klaviyo, mailchimp, rule, get-a-newsletter]
user-invocable: true
argument-hint: "[weekly|monthly] [slack|ceo|deck|all]"
allowed-tools:
  # Cogny Cloud (aggregated) namespace
  - mcp__cogny__klaviyo__*
  - mcp__cogny__mailchimp__*
  - mcp__cogny__rule__*
  - mcp__cogny__get_a_newsletter__*
  - mcp__cogny__create_finding
  - mcp__cogny__write_context_node
  - mcp__cogny__read_context_node
  # Cogny Solo / Lite (per-ESP direct) namespace
  - mcp__klaviyo__*
  - mcp__mailchimp__*
  - mcp__rule__*
  - mcp__get_a_newsletter__*
  - Bash
  - Read
  - Write

Email Report

The 3-hour tax every email marketer pays: pulling last period's numbers, charting the trend, explaining the variance, and writing commentary in the right voice for the audience. This skill does it in one command and outputs three versions — Slack ping, CEO email, board deck section — so you can ship the one your stakeholder needs.

**Requires:** Cogny MCP + a connected ESP. [Sign up](https://cogny.com)

Usage

`/email-report` — monthly report, all three formats (default) `/email-report weekly` — last 7 days `/email-report monthly ceo` — monthly, only the CEO email `/email-report weekly slack` — weekly, only the Slack update

Prerequisites Check

Detect connected ESP. If none, stop and prompt.

Steps

1. Define the period

| Mode | Current window | Comparison | |------|----------------|------------| | weekly | last 7 days | prior 7 days + 4-week rolling avg | | monthly | last 30 days | prior 30 days + 12-week rolling avg |

State the exact date ranges up front.

2. Pull the data

**Per-ESP tool adapter.** The right tool depends on which ESP is connected:

| Data | Klaviyo | Mailchimp | Rule | Get a Newsletter | |------|---------|-----------|------|------------------| | Campaign list | `list_campaigns` | `tool_list_campaigns` | `tool_list_campaigns` | `tool_list_sent` | | Campaign metrics | `get_campaign` + `list_events` (metric-filtered) | `tool_get_report` | `tool_get_campaign_statistics` | `tool_get_report` | | Automation / flow list | `list_flows` | `tool_list_automations` | `tool_list_journeys` | **not available** | | Flow metrics | `get_flow` | `tool_get_automation` | `tool_list_journeys` (limited) | **not available** | | Subscriber list size | `list_profiles` (count) | `tool_get_audience` | `tool_list_subscribers` (count) | `tool_list_contacts` (count) | | Revenue per send | ✓ via `list_events` with `metric="Placed Order"` | **not available** | **not available** | **not available** |

For the current window AND the comparison window, pull:

**Campaign broadcasts:**

  • Each campaign's subject, send date, recipient count, opens, unique opens, clicks, unique clicks, unsubs, bounces.
  • **Revenue attributed — Klaviyo only.** For Klaviyo, fetch "Placed Order" events scoped to the send window and attribute by campaign. For Mailchimp/Rule/Get a Newsletter, omit the revenue line entirely from the report and call it out.

**Flows / automations — varies by ESP:**

  • Klaviyo: flow name, triggered volume, revenue per flow (via events).
  • Mailchimp: automation name, sends, opens, clicks (no revenue).
  • Rule: journey name + limited metrics.
  • Get a Newsletter: **no flow object exists.** Skip this section; use a "recurring sends" proxy if the user has a newsletter cadence.

**List-level metrics:**

  • List size at period start vs end
  • New subscribers in period
  • Unsubscribes in period
  • Net change + growth rate

3. Compute the report metrics

For each window, compute:

| Metric | Calc | Why it matters | |--------|------|----------------| | Sends | total emails delivered | Volume sanity check | | Open rate | unique opens / delivered | Subject/preheader effectiveness (MPP-distorted) | | CTR | unique clicks / delivered | True engagement | | CTOR | unique clicks / unique opens | Content effectiveness (MPP-resilient) | | Unsub rate | unsubs / delivered | List health signal | | Bounce rate | bounces / sent | Deliverability signal | | Revenue per send | ecom revenue / delivered (if available) | The only metric execs actually care about | | List growth rate | (ending - starting) / starting | Acquisition health |

Show **absolute value + % change vs prior period + % change vs rolling baseline**.

4. Identify movers

Rank campaigns in the current window by open rate, CTR, and revenue. Identify:

  • **Top performer** — best campaign by revenue (or by CTOR if no revenue data)
  • **Worst performer** — bottom by revenue/CTOR
  • **Anomaly** — campaign whose metrics are >2σ from the user's typical baseline (surprise hit or surprise flop)

For each, write a one-sentence "why" hypothesis based on visible attributes (subject style, send time, segment, content type).

5. Explain variance

Don't just say "CTR dropped 8%." Explain it. Cross-reference:

  • Did send volume change? More sends to less-engaged segments drag rate metrics even if absolute revenue is fine.
  • Did the segment mix change? (All-list sends vs engaged-only)
  • Did cadence change? (More sends per week → fatigue)
  • Did a specific campaign drag the average? (One dud to a huge segment)
  • Did list hygiene change? (Big unsub event or re-engagement deadline)
  • Was there an external event? (holiday, launch, outage)

Phrase findings as **claim → evidence**:

> "Open rate dropped from 28% to 22%. Two of four sends this month went to the dormant 180-day segment (120k recipients at 14% open), which pulled the average down. If you look at engaged-segment sends only, open rate actually rose from 34% to 36%."

6. Generate the three outputs

6.1 Slack update (≤500 chars, 3 bullets)

📧 Email – <period label>
• Sends: <N> ( <±>% vs prior)  |  Open: <X>% ( <±>pp)  |  CTR: <Y>% ( <±>pp)
• 🏆 Top: "<subject>" — <metric>  |  ⚠️ Wat
Read more
Ships withclaude-code-marketing-skills

AI marketing skills for Claude Code, Cursor, Windsurf, and other AI coding tools. Audit SEO, analyze ads, research competitors, qualify leads — all from your terminal. Free skills need no account. Premium skills connect your real data for $9/mo.

Get the whole plugin
Stats
102
Stars
12
Forks
Maintained
Maintenance
HTML
Language
3mo ago
Last commit
5mo ago
Created

Repo: cognyai/claude-code-marketing-skills