# Weekly Report

> Generate a weekly performance summary across all active Smartlead campaigns — sends, opens, replies, positive replies, bounce rates, top performers, mailbox health flags. Use when the user asks for a weekly recap, performance summary, status report, end-of-week wrap-up, or "how did we do this week".

- **Type:** Skill
- **Install:** `agentstack add skill-mattsezgin-unofficial-smartlead-cli-weekly-report`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MattSezgin](https://agentstack.voostack.com/s/mattsezgin)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MattSezgin](https://github.com/MattSezgin)
- **Source:** https://github.com/MattSezgin/unofficial-smartlead-cli/tree/main/.claude/skills/weekly-report
- **Website:** https://github.com/MattSezgin/unofficial-smartlead-cli

## Install

```sh
agentstack add skill-mattsezgin-unofficial-smartlead-cli-weekly-report
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

> **Before running:** verify exact flag names with `smartlead  --help`. Flag shapes shown below are illustrative — confirm against the actual CLI.

# /weekly-report

You're producing a weekly performance digest for the user.

## What you need from the user

- **Scope** — all campaigns, or a specific client?
- **Time window** — default: last 7 days ending today

## Step 1 — Pull active campaigns

```bash
smartlead campaigns list --status ACTIVE --output json > active.json
```

If the user specified a client:

```bash
smartlead campaigns list --status ACTIVE --client-id  --output json > active.json
```

## Step 2 — Pull per-campaign analytics

```bash
jq -r '.[] | .id' active.json | while read cid; do
  smartlead campaigns analytics $cid --since "$(date -v-7d +%Y-%m-%d)" --output json
done > analytics.json
```

## Step 3 — Pull mailbox-level health

```bash
smartlead analytics email-wise-health --output json --since "$(date -v-7d +%Y-%m-%d)" > mailbox-health.json
```

## Step 4 — Compute headline metrics

```
TOTALS (last 7 days)
─────────────────────────────────
Sends:           12,847
Delivered:       12,231 (95.2%)
Opens:           3,891 (31.8%, take with grain of salt post Apple MPP)
Replies:         287 (2.34%)
Positive reps:   58 (0.47% of sends, 20.2% of replies)
Bounces:         616 (4.8%)
Out of office:   42 (handled automatically)
```

Flag concerning numbers in red:
- Bounce rate >5% → 🔴
- Reply rate 10%:
   - sender12@example.com (16% bounce)  → likely DKIM issue, /spam-test
   - sender07@example.com (12% bounce)  → check reputation
   - sender19@example.com (11% bounce)  → check IP blacklist

🟡 5 mailboxes with low reply rate ( weekly-2026-W21.md
```

Or as a Notion page (if they have the Notion CLI):

```bash
notion page create "Weekly Report 2026-W21" --content @weekly-2026-W21.md
```

## Reference

- `docs/learnings/esp-matching-analysis.md` — Big Tech bounce patterns
- `docs/learnings/mailbox-warmup-best-practices.md` — what healthy looks like

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MattSezgin](https://github.com/MattSezgin)
- **Source:** [MattSezgin/unofficial-smartlead-cli](https://github.com/MattSezgin/unofficial-smartlead-cli)
- **License:** MIT
- **Homepage:** https://github.com/MattSezgin/unofficial-smartlead-cli

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mattsezgin-unofficial-smartlead-cli-weekly-report
- Seller: https://agentstack.voostack.com/s/mattsezgin
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
