managing-subscriptions — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited managing-subscriptions (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill guides you through managing PostHog subscriptions. Subscriptions deliver scheduled snapshots of insights or dashboards via email, Slack, or webhook.
Use this skill when the user:
Subscriptions and alerts serve different purposes:
If the user says "notify me when this drops below 100", use alerts. If the user says "send me this every morning", use subscriptions.
Before creating a new subscription, check if one already exists.
Use subscriptions-list with optional filters:
insight query parameter with the insight IDdashboard query parameter with the dashboard IDtarget_type as email, slack, or webhook#### 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:
integrations-list and look for an integration where kind is "slack"id — you'll need it as integration_idSlack 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": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"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).
Use subscriptions-partial-update with the subscription ID. Common updates:
{"frequency": "weekly", "byweekday": ["monday"]}target_value with the full comma-separated listtarget_type and target_value together{"summary_enabled": true, "summary_prompt_guide": "..."} — same AI-data-processing and budget gates as step 6Subscriptions are soft-deleted. Use subscriptions-partial-update:
{
"id": 456,
"deleted": true
}When the user doesn't specify details:
"daily"integrations-list returns Slack integrations but creation still fails, the integration may be misconfigureddashboard_export_insights. If the user doesn't specify which insights, fetch the dashboard with dashboard-get and select the first 6 insights from its tiles~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.