Install
$ agentstack add skill-mattsezgin-unofficial-smartlead-cli-weekly-report ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
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
smartlead campaigns list --status ACTIVE --output json > active.json
If the user specified a client:
smartlead campaigns list --status ACTIVE --client-id --output json > active.json
Step 2 — Pull per-campaign analytics
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
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 patternsdocs/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
- Source: 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.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.