beehiiv-newsletter-report

在基于 Beehiiv 出版物为赞助商或客户构建绩效报告,或设计需暴露相同指标的 Beehiiv MCP 工具或集成时使用。涵盖受众增长、打开率与点击率分析(包括 Beehiiv API 中的点击-打开陷阱)、受众分层、月度环比摘要、活跃读者导出、每期关键绩效指标(KPI),以及一种自动刷新报告且避免叙述偏离的模式。

仓库最近推送
GitHub Stars
247
Forks
109
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "beehiiv-newsletter-report":https://skillpi.com/zh/skills/deepskill-44d1427e7d64da80b01cfec50bf026bc14931fa973db1030a1013b8de08d0f6c。安装前核对上游来源和版本:https://github.com/swan-gtm/gtm-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在基于 Beehiiv 出版物为赞助商或客户构建绩效报告,或设计需暴露相同指标的 Beehiiv MCP 工具或集成时使用。涵盖受众增长、打开率与点击率分析(包括 Beehiiv API 中的点击-打开陷阱)、受众分层、月度环比摘要、活跃读者导出、每期关键绩效指标(KPI),以及一种自动刷新报告且避免叙述偏离的模式。

0 下载

介绍来源: third_party · swan-gtm · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
软件、账号及付费要求
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: "beehiiv-newsletter-report"
title: Beehiiv newsletter performance report
description: "Use this skill when building a sponsor or client performance report on top of a Beehiiv publication, or when designing a Beehiiv MCP tool or integration that needs to expose the same metrics. It covers audience growth, open and click rate analysis (including the click-to-open trap in Beehiiv's own API), audience segmentation, month-over-month synopsis, an engaged-reader export, per-issue KPIs, and a pattern for keeping the report refreshed automatically without the narrative drifting."
category: Newsletters

Purpose

Turn raw Beehiiv publication data into a report a non-technical stakeholder (a sponsor, a client, a newsletter owner) can read in under a minute and still trust the numbers in. This skill generalizes a report built for a real newsletter sponsorship client, stripped of any client-specific branding or copy, so the same structure can be reused for any Beehiiv publication or wired into an MCP server that answers questions like "how did last month's issues perform."

When to use this skill

Use it when asked to build, extend, or automate a newsletter/sponsor performance report backed by Beehiiv, or when exposing Beehiiv metrics through an MCP tool, API, or chatbot and needing the correct formulas and section structure rather than reinventing them.

Prerequisites

  • A Beehiiv publication ID and an API key (Bearer token) with read access to that publication.
  • Base URL: https://api.beehiiv.com/v2/publications/{pub_id}/...
  • All Beehiiv field mappings, formulas, and pagination details live in references/beehiiv-api-reference.md. Read it before implementing any of the sections below; several of Beehiiv's own fields are misleading (see Pitfalls) and getting them wrong produces a report that contradicts what the client sees on their own Beehiiv dashboard.

Report anatomy

A complete report has nine sections. Build them in roughly this order, since later sections depend on data assembled for earlier ones.

  1. Hero stats: total growth since launch, current audience size, average open rate over a recent window (e.g. trailing several months). Three numbers, no chart, at the very top.
  2. Website / lead magnet links: a short list of outbound links relevant to the newsletter itself (its homepage) and any sponsor/lead-magnet destination being tracked (e.g. a landing page a sponsor cares about). Plain outbound links, not chart data.
  3. Audience growth chart: one time series of subscriber count, spanning the newsletter's full history to date.
  4. Open rate analysis: a per-issue open-rate bar chart plus a short structured narrative (a question, an answer/verdict, supporting points, one forward-looking opportunity).
  5. Click rate analysis: the same narrative structure as open rate analysis, charting clicks or click rate per issue instead.
  6. Audience insights: an engagement segmentation (how loyal is the audience, by lifetime open rate) and a list-health breakdown (active / inactive / invalid).
  7. Month-over-month tabs: one tab per calendar month, each with a synopsis (headline, highlights, opportunities), that month's rollup stats, and every issue published that month.
  8. Engaged-reader export: for reports tracking clicks to a specific sponsor/partner link, a table of who clicked, exportable as CSV, with a searchable full-list view and a breakdown by company/industry category.
  9. Per-issue KPI cards: nested inside each month tab: recipients, delivered, open rate, click rate, unsubscribes, spam reports, per individual issue.

Full data shapes and exact chart/card content for each section are in references/report-sections.md.

Workflow to build one

  1. Confirm credentials and the publication ID; verify a single GET /posts?limit=1 call succeeds before building anything else.
  2. Fetch confirmed posts with stats (expand[]=stats, status=confirmed, ordered by publish date ascending). This one call powers sections 4, 5, 7, and 9.
  3. Compute per-issue fields and per-month rollups using the formulas in references/beehiiv-api-reference.md (do not trust Beehiiv's click_rate field at face value; see Pitfalls).
  4. Build the audience growth series (section 3). Decide the growth mode up front: per-issue (derived from posts) or subscriber-timeline (a hand-curated periodic snapshot). See references/beehiiv-api-reference.md for when each applies.
  5. Fetch the full subscriber list with expand[]=stats, cursor-paginating to completion, and compute the engagement segments and list-health split for section 6.
  6. Write the narrative content for sections 4, 5, and 7 (the only genuinely generated prose in the report). Keep it short, specific to the actual numbers, and free of hedging.
  7. If the report needs section 8, treat it as a periodic manual/semi-automated step, not a live API call. See Pitfalls.
  8. Render nothing for any section whose backing data is empty or absent (no polls, no audience data yet, no engaged-reader export configured) rather than showing an empty or placeholder state. This lets sections be added to a report incrementally as data becomes available.

Automating a refresh

Once a report exists, keep it current on a schedule (e.g. weekly) rather than hand-updating it. The refresh should treat "recompute deterministic numbers" and "regenerate narrative" as two different jobs with two different reliability bars. See references/automation-pipeline.md for the full pattern, including a multi-tenant registry design for running the same pipeline across several publications/clients at once.

Pitfalls

These are the mistakes most likely to produce a report that looks fine but is wrong:

  • Beehiiv's click_rate field is click-to-open (clicks / opens), not clicks-per-delivered. If the report is meant to show "what fraction of the send resulted in a click," compute unique_clicks / delivered yourself. Consider displaying whichever of the two figures is larger, since that is usually the number the client already sees emphasized on their own Beehiiv dashboard, and a report showing a smaller number reads as wrong even when it is arguably more correct.
  • The poll poll_responses expand on a poll's GET endpoint is capped at 10 responses and cannot paginate. Any poll with more than 10 responses will silently under-report through that path. Get accurate per-choice counts by cursor-paginating /polls/{id}/responses and tallying poll_choice_id client-side instead.
  • Beehiiv exposes no subscriber location data. Do not build or fake a geographic view; it does not exist in the API and any resemblance to one will be pure invention.
  • Compute engagement segments only over subscribers who have received enough issues to have a meaningful lifetime open rate (e.g. at least 3). Otherwise a batch of freshly imported subscribers who have only seen one issue distorts the segmentation, since anyone who has not opened yet reads identically to someone who never will.
  • A "who clicked this specific sponsor link" export is generally not a clean, documented, single API call. Beehiiv's own dashboard supports building a subscriber segment from click behavior and exporting it as CSV; the practical path is to pull that CSV periodically and enrich it yourself (e.g. classify each subscriber's email domain into a company/industry category with a lightweight heuristic or an LLM pass), rather than trying to reproduce it as a live query inside an automated refresh.
  • A publication's early history may predate structured per-issue tracking or was migrated from a different platform. For that period, a hand-curated subscriber-count timeline (which can rise or fall) is more honest than deriving growth from per-issue recipient counts, which is roughly monotonic by construction and will paper over real churn.
  • Never regenerate all narrative sections wholesale on every refresh. Update only the month or analysis affected by new data, and preserve the tone, length, and untouched prose from prior periods; wholesale regeneration produces visible tonal drift and makes diffs impossible to review.

For MCP tool / integration builders

If exposing this as MCP tools or an API instead of (or in addition to) a rendered report page, map each section to its own tool so a client can compose them conversationally or a UI can call them independently:

  • get_publication_summary → hero stats (section 1)
  • get_audience_growth → growth series (section 3)
  • get_rate_analysis (parameterized by open or click) → sections 4 and 5
  • get_audience_segments → engagement segmentation and list health (section 6)
  • get_monthly_report (parameterized by month) → that month's synopsis, rollups, and issues (section 7)
  • export_engaged_subscribers → section 8, backed by the periodic CSV/enrichment pipeline, not a live Beehiiv call
  • get_issue_kpis (parameterized by post ID or date range) → section 9

Cache subscriber-list pagination results where possible; a full engagement-segment computation requires walking the entire subscriber list, which can be thousands of paginated records, on every call otherwise.

What good looks like

A report a non-technical stakeholder can read in under a minute and still trust the numbers in — click rates that match what the client sees on their own Beehiiv dashboard, poll tallies from full pagination rather than the capped expand, engagement segments that exclude subscribers too new to have a meaningful lifetime open rate, and narrative that changes only where the numbers did. The failure modes: a click rate that contradicts the client's dashboard, a silently under-reported poll, an invented geographic view, or wholesale-regenerated prose drifting in tone between refreshes.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 解决非技术利益相关者快速理解 Beehiiv 出版物绩效的核心痛点,提供端到端报告生成方案
  • 涵盖受众增长、打开率、点击率分析、受众细分、月度环比、活跃读者导出等完整闭环功能
  • 明确识别并规避 Beehiiv API 常见陷阱(如 click_rate 字段误导、poll_responses 截断等),确保数据准确性
触发精准95/100

亮点

  • 触发词精准完整,明确覆盖赞助商报告、客户绩效报告、MCP 工具集成等多种使用场景
  • 边界清晰,无歧义,有效区分于其他通用数据分析工具
结构规范95/100

亮点

  • 结构清晰,分阶段构建报告(Hero stats → Audience growth → Rate analysis → Audience insights → Monthly tabs → Export → KPI cards)
  • 提供完整工作流(Workflow to build one)和自动化刷新模式,含端到端示例和 MCP 工具映射
  • frontmatter 完整,文档组织良好,引用文件路径明确
执行可靠95/100

亮点

  • 工具来源明确(Beehiiv API v2),参数正确(publication ID、Bearer token),认证流程清晰
  • 覆盖主要异常场景(Pitfalls 章节详细列出 7 个关键陷阱及解决方案),确保报告数据可信
  • 不可逆操作(如 engaged-reader export)设计为周期性手动/半自动步骤,避免实时 API 风险
证据可验 (前四项均值)95/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 25, 63 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • api.beehiiv.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。