posthog-managing-subscriptions
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "posthog-managing-subscriptions":https://skillpi.com/zh/skills/deepskill-8826d379343484b24cb17639f1f71310b6c9dbd08d6ae4d8ef87ba3800ced72b。安装前核对上游来源和版本:https://skills.sh/posthog/ai-plugin/managing-subscriptions。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skills.sh
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
管理 PostHog 订阅的专用技能:定期通过电子邮件、Slack 或 Webhook 发送洞察或仪表板快照,并可选择附加 AI 生成的摘要;用于订阅洞察或仪表板、在发送中附加 AI 摘要、查看或修改订阅、添加或移除接收者,或停止接收更新。
介绍来源: third_party · posthog · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: managing-subscriptions
description: 'Manage PostHog subscriptions — scheduled email, Slack, or webhook deliveries of insight or dashboard snapshots, optionally with an AI-written summary attached to each delivery. Use when the user wants to subscribe to an insight or dashboard, get an AI summary attached to those deliveries, check existing subscriptions, change delivery frequency, add or remove recipients, or stop receiving updates.'Managing subscriptions
This skill guides you through managing PostHog subscriptions. Subscriptions deliver scheduled snapshots of insights or dashboards via email, Slack, or webhook.
When to use this skill
Use this skill when the user:
- Wants to "track", "follow", "subscribe to", or "get updates" about an insight or dashboard
- Asks for "daily updates", "weekly reports", or "send me this every morning"
- Wants an AI-written summary attached to each delivery of an insight or dashboard (see step 6)
- Wants to know what subscriptions they have
- Asks to stop, pause, or unsubscribe from something
- Wants to change who receives an update or how often
Subscriptions vs alerts
Subscriptions and alerts serve different purposes:
- Subscriptions deliver a snapshot on a fixed schedule (daily, weekly, etc.) regardless of the data
- Alerts fire only when a condition is met (threshold crossed, anomaly detected)
If the user says "notify me when this drops below 100", use alerts. If the user says "send me this every morning", use subscriptions.
Workflow
Listing existing subscriptions
Before creating a new subscription, check if one already exists.
Use subscriptions-list with optional filters:
- Filter by insight: pass the
insightquery parameter with the insight ID - Filter by dashboard: pass the
dashboardquery parameter with the dashboard ID - Filter by channel: pass
target_typeasemail,slack, orwebhook
Creating a subscription
Step 1: Ask the user how they want to receive it
Always ask the user whether they want email or Slack delivery before creating a subscription. Do not assume a channel — ask explicitly:
Would you like to receive this via email or Slack?
If the user says Slack, you must verify the integration is available (see step 2). If the user doesn't have a preference, suggest email as the simplest option.
Step 2: Verify channel availability
Email requires no setup — it works out of the box. You just need the user's email address.
Get it from the user context or from org-members-list.
Slack requires a connected Slack integration. Before creating a Slack subscription:
- Call
integrations-listand look for an integration wherekindis"slack" - If a Slack integration exists, note its
id— you'll need it asintegration_id - If no Slack integration exists, tell the user:
Slack isn't connected to this project yet. You can set it up in Project settings > Integrations. In the meantime, would you like to receive this via email instead?
Slack setup requires an OAuth flow in the browser — it cannot be done via MCP.
Webhook requires the user to provide a URL. Verify it looks like a valid URL before submitting.
Step 3: Identify the target
Get the insight ID or dashboard ID. If the user provides a URL like /project/2/insights/pKxzopBG,
fetch the insight first with insight-get to get the numeric ID.
Step 4: Determine delivery settings from the user's request
| User says | Parameters |
|---|---|
| "every day" / "daily" / "every morning" | frequency: "daily" |
| "every week" / "weekly" | frequency: "weekly" |
| "every Monday" | frequency: "weekly", byweekday: ["monday"] |
| "every month" / "monthly" | frequency: "monthly" |
| "twice a week" | frequency: "weekly", interval: 1, byweekday: ["monday", "thursday"] |
Step 5: Create with subscriptions-create
For an insight subscription via email:
{
"insight": 12345,
"target_type": "email",
"target_value": "user@example.com",
"frequency": "daily",
"start_date": "2025-01-01T09:00:00Z"
}
For a dashboard subscription (requires selecting which insights to include, max 6):
{
"dashboard": 67,
"dashboard_export_insights": [101, 102, 103],
"target_type": "email",
"target_value": "user@example.com",
"frequency": "weekly",
"byweekday": ["monday"],
"start_date": "2025-01-01T09:00:00Z"
}
For Slack delivery, include the integration_id from step 2:
{
"insight": 12345,
"target_type": "slack",
"target_value": "#general",
"integration_id": 789,
"frequency": "daily",
"start_date": "2025-01-01T09:00:00Z"
}
Step 6 (optional): Attach an AI summary
For insight and dashboard subscriptions you can attach an AI-written summary to every
delivery — a short narrative that calls out what changed, outliers, and notable insights
alongside the snapshot. Set it at create time (or toggle later via subscriptions-partial-update):
summary_enabled: true— turns on the per-delivery AI summarysummary_prompt_guide: "..."— optional steer, e.g. "focus on sign-up conversion and any new drop-off points"
{
"dashboard": 67,
"dashboard_export_insights": [101, 102, 103],
"target_type": "email",
"target_value": "user@example.com",
"frequency": "weekly",
"byweekday": ["monday"],
"start_date": "2025-01-01T09:00:00Z",
"summary_enabled": true,
"summary_prompt_guide": "Call out outliers and new insights since last week"
}
Enabling a summary requires the organization to have approved AI data processing
(Org settings → Data → AI data processing) and to be within its active-summary cap and AI
credit budget; otherwise the create/update is rejected. summary_enabled does not apply to
prompt subscriptions — those are AI-generated by definition (see creating-ai-subscription).
Updating a subscription
Use subscriptions-partial-update with the subscription ID. Common updates:
- Change frequency:
{"frequency": "weekly", "byweekday": ["monday"]} - Add recipients: Update
target_valuewith the full comma-separated list - Change channel: Update
target_typeandtarget_valuetogether - Toggle the AI summary (insight/dashboard subs):
{"summary_enabled": true, "summary_prompt_guide": "..."}— same AI-data-processing and budget gates as step 6
Deactivating a subscription
Subscriptions are soft-deleted. Use subscriptions-partial-update:
{
"id": 456,
"deleted": true
}
Defaults
When the user doesn't specify details:
- Frequency:
"daily" - Channel: email to the current user
- Start date: now (ISO 8601)
- Title: auto-generated from the insight/dashboard name if not specified
Error handling
- Duplicate check: If a subscription already exists for the same insight/dashboard and channel, inform the user and offer to update it rather than creating a duplicate
- Slack not connected: If a Slack subscription is requested but no Slack integration exists, explain that Slack must be connected in Project settings > Integrations first, then offer email as an alternative. Do not attempt to create the subscription — it will fail with a validation error
- Slack integration wrong team: The Slack integration must belong to the same PostHog team. If
integrations-listreturns Slack integrations but creation still fails, the integration may be misconfigured - Dashboard insights: Dashboard subscriptions require at least 1 and at most 6 insights selected via
dashboard_export_insights. If the user doesn't specify which insights, fetch the dashboard withdashboard-getand select the first 6 insights from its tiles
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决用户定期获取数据分析洞察的核心需求
- 支持多种交付渠道(邮件/Slack/Webhook)
- 提供AI摘要功能增强价值
亮点
- 触发词覆盖全面,包含多种用户表达变体
- 明确区分订阅与告警的使用场景
- 边界清晰,避免误触发
亮点
- 工作流程分步骤清晰,逻辑完整
- 提供详细的参数说明和示例
- 包含错误处理和默认值说明
待提升项
-
缺少 When to Use 章节 原报告严重程度:轻微
文档中虽然有触发场景描述,但缺少明确的 When to Use 章节标题
改进建议:建议添加明确的 When to Use 章节,提升文档规范性
亮点
- 工具调用参数完整准确
- 覆盖主要异常场景处理
- 提供详细的错误处理指导
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 70 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。