managing-subscriptions
Skill này làm gì
Skill này quản lý việc gửi định kỳ các dashboard, insight và báo cáo AI của PostHog qua email, Slack hoặc Microsoft Teams. Skill dành cho người muốn cập nhật thường xuyên được gửi cho đội mà không phải yêu cầu mỗi lần.
Khi nào nên dùng
- ✓Khi bạn muốn một dashboard hoặc insight được gửi cho đội theo lịch định kỳ.
- ✓Khi bạn muốn thay đổi lịch, người nhận hoặc nơi nhận của một lần gửi hiện có.
- ✓Khi một lần gửi định kỳ thất bại hoặc không đến nơi, và bạn cần tìm hiểu lý do.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/subscriptions/skills/managing-subscriptions/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Gửi dashboard chính của chúng tôi đến kênh Slack của ban lãnh đạo mỗi sáng thứ Hai, và cho tôi biết nếu nó thất bại.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chọn đúng loại gửi, đặt nơi nhận và lịch, và có thể gửi thử. Nó cũng đọc lịch sử gửi để bạn thấy đã gửi gì và vì sao một lần gửi thất bại.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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-subscriptionfor 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
- Call
posthog:subscriptions-listand check for a duplicate. - Select one resource type from subscription-types.md.
- Resolve the destination with destinations.md.
- Resolve the schedule with operations.md.
- Ask whether the user wants an immediate delivery.
- Set
send_test_nowto the user's choice. - Call
posthog:subscriptions-create. - Read the saved subscription and check each requested field.
- 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, orai_prompt.target_type:email,slack, orteams.insightorinsights: 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_typematchesinsight,dashboard, or `a
Câu hỏi thường gặp
Khi nào nên dùng cảnh báo thay thế?
Dùng cảnh báo khi bạn chỉ muốn được báo khi một con số vượt một điều kiện, vì đăng ký gửi theo lịch cố định.
Tôi có thể thử một lần gửi trước không?
Có. Skill có thể gửi thử trước khi lịch bắt đầu.
Nếu một lần gửi thất bại thì sao?
Skill kiểm tra lịch sử gửi và giải thích nguyên nhân có khả năng, chẳng hạn quyền truy cập hoặc giới hạn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6957
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
configure-channel
394kHướng dẫn agent của bạn kết nối một ứng dụng chat như Telegram với OpenClaw, lưu token bot an toàn và kiểm tra tin nhắn có đi qua được không.
discord
394kGiúp agent của bạn đọc, gửi, sửa và thả biểu cảm cho tin nhắn Discord qua OpenClaw, và kiểm tra đúng tin nhắn trước khi thay đổi.