本文へスキップ
Skillpedia
メールとメッセージ41k · #6957

managing-subscriptions

できること

このスキルは、PostHogのダッシュボード、インサイト、AIレポートの定期配信を、メール、Slack、またはMicrosoft Teamsへ管理します。毎回依頼しなくても、チームに定期的な更新を送りたい人向けです。

使う場面

  • ✓ダッシュボードやインサイトを、定期的なスケジュールでチームに送りたいとき。
  • ✓既存の配信のスケジュール、受信者、送信先を変更したいとき。
  • ✓定期配信が失敗した、または届かなかったため、原因を調べる必要があるとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/PostHog/posthog/blob/master/products/subscriptions/skills/managing-subscriptions/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“メインのダッシュボードを毎週月曜の朝に、経営陣の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
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル