Перейти к содержанию
Skillpedia
Почта и сообщения41k · #6957

managing-subscriptions

Что он делает

Этот скилл управляет плановой доставкой дашбордов, инсайтов и ИИ-отчётов PostHog по почте, в Slack или Microsoft Teams. Он предназначен для тех, кто хочет, чтобы регулярные обновления отправлялись команде без запроса каждый раз.

Когда использовать

  • ✓Когда вы хотите, чтобы дашборд или инсайт регулярно отправлялся команде по расписанию.
  • ✓Когда вы хотите изменить расписание, получателей или адресат существующей доставки.
  • ✓Когда плановая доставка не выполнилась или не пришла, и нужно выяснить почему.

Ссылка на скилл

https://github.com/PostHog/posthog/blob/master/products/subscriptions/skills/managing-subscriptions/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/PostHog/posthog/blob/master/products/subscriptions/skills/managing-subscriptions/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Отправляй наш главный дашборд в канал Slack руководства каждый понедельник утром и скажи мне, если это не удастся.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл выбирает подходящий тип доставки, задаёт адресат и расписание и может отправить тестовую доставку. Он также читает историю доставок, чтобы вы видели, что было отправлено и почему доставка не удалась.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Managing subscriptions

Subscriptions deliver product data on a fixed schedule. They support insight snapshots, dashboard snapshots, and AI prompt reports.

Read the relevant references

  • Read subscription-types.md before you select or change a resource type.
  • Read destinations.md before you create or change a destination.
  • Read operations.md for schedules, limits, billing, delivery checks, and failures.
  • Use creating-ai-subscription for the detailed prompt report creation workflow.

Choose the correct product

  • Use a subscription for fixed delivery, such as "send this dashboard every Monday."
  • Use a product alert for a condition, such as "notify me when conversion falls below 10%."
  • Use a reminder when the user wants a private prompt to inspect a resource later.
  • Use a Signals scout when an agent must decide what is important to report.

Subscriptions do not evaluate thresholds, recovery, consecutive breaches, or quiet hours. Snapshot subscriptions attempt each scheduled occurrence even when the saved results do not change.

Tools

Tool Purpose
posthog:subscriptions-list Find subscriptions
posthog:subscriptions-retrieve Read one subscription
posthog:subscriptions-create Create a subscription
posthog:subscriptions-partial-update Change, pause, or resume a subscription
posthog:subscriptions-test-delivery-create Send a test delivery
posthog:subscriptions-deliveries-list List delivery attempts
posthog:subscriptions-deliveries-retrieve Read one delivery
posthog:subscriptions-delete Stop all future deliveries
posthog:integrations-list Find a Slack integration
posthog:integrations-channels-retrieve Find Slack channels
posthog:dashboard-get Read dashboard tiles
posthog:insight-get Resolve an insight ID

Create a subscription

  1. Call posthog:subscriptions-list and check for a duplicate.
  2. Select one resource type from subscription-types.md.
  3. Resolve the destination with destinations.md.
  4. Resolve the schedule with operations.md.
  5. Ask whether the user wants an immediate delivery.
  6. Set send_test_now to the user's choice.
  7. Call posthog:subscriptions-create.
  8. Read the saved subscription and check each requested field.
  9. If the user approved an immediate delivery, check its delivery record.

If creation times out or returns an uncertain result, list matching subscriptions before you retry. Creation is not idempotent. A blind retry can create a duplicate subscription and send a duplicate immediate delivery.

Do not infer missing recipients, channels, times, or time zones. Ask for these values before creation.

Find existing subscriptions

Use these list filters when they reduce ambiguity:

  • resource_type: insight, dashboard, or ai_prompt.
  • target_type: email, slack, or teams.
  • insight or insights: One insight ID or a comma-separated ID list.
  • dashboard: One dashboard ID.
  • dashboard_tiles: Insight subscriptions for live tiles on one dashboard.
  • created_by: One creator UUID.

Check for duplicates

Use search when the user supplied a title, insight name, dashboard name, or prompt text. Prompt subscriptions match their title and prompt text. Compare the resource, destination type, target, schedule, and enabled state.

A Teams result contains only the webhook host. One host can serve many channels. Do not use the host to identify a duplicate.

Show the title, schedule, creator, and creation date for possible Teams matches. Ask the user to select a subscription when these fields identify it. Create a new subscription when no field identifies the target channel.

Confirm the saved result

Check these fields after creation:

  • resource_type matches insight, dashboard, or `a
Частые вопросы

Когда использовать оповещение?

Используйте оповещение, когда вам нужно уведомление только при пересечении числом условия, а подписка отправляет по фиксированному расписанию.

Можно ли сначала протестировать доставку?

Да. Скилл может отправить тестовую доставку до начала расписания.

Что если доставка не удалась?

Скилл проверяет историю доставок и объясняет вероятную причину, например права доступа или лимиты.

Подробности

Оригинальное описание автора

Create and manage scheduled PostHog subscriptions for insight snapshots, dashboard snapshots, and AI prompt reports. Use when a user wants recurring email, Slack, or Microsoft Teams delivery; an AI summary; delivery history; schedule or recipient changes; a test delivery; pause, resume, or deletion; or help with subscription permissions, limits, billing, and failures. Use product alerts when delivery must depend on a threshold or anomaly.

repo: PostHog/posthog

Популярность

Звёзды на GitHub
41k
Место в рейтинге
#6957
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы