creating-ai-subscription
Skill by PostHog
Creates recurring AI-generated PostHog reports from a free-text prompt. Each scheduled run writes a markdown report and delivers it by email, Slack or Microsoft Teams. It suits teams that want a regular written analysis of their product data.
Install creating-ai-subscription
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/subscriptions/skills/creating-ai-subscription ~/.claude/skills/creating-ai-subscriptionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install creating-ai-subscription in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/subscriptions/skills/creating-ai-subscription ~/.gemini/antigravity-cli/skills/creating-ai-subscriptionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install creating-ai-subscription in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant create a PostHog prompt subscription. A prompt subscription runs on a recurring schedule (daily, weekly, monthly or yearly). On each run, an LLM plans and runs HogQL queries over the project's data, then writes a fresh markdown report. The report is delivered to email, Slack or Microsoft Teams.
The skill also explains when a prompt subscription fits. It recommends a dashboard or insight subscription first, because a prompt subscription's numbers can differ from saved insights. The skill covers the required org settings, the Slack and Teams target setup, and how to list, edit, test, disable or delete the subscription afterward. It is aimed at PostHog users who want a recurring AI summary of their data.
Written from the project's SKILL.md and checked against it.
What it can do
- subscriptions-createCreates the recurring prompt subscription with a schedule and delivery target.
- subscriptions-listConfirms the new subscription and checks existing ones for duplicates.
- subscriptions-partial-updateEdits, disables or re-enables an existing subscription.
- subscriptions-test-delivery-createSends an immediate test delivery to the subscription's targets.
- subscriptions-deleteSoft-deletes a subscription and stops all future deliveries.
- integrations-listFinds the Slack integration ID to use for Slack delivery.
- integrations-channels-retrieveLists channels for a Slack integration so one can be chosen.
What you need
- PostHog Cloud, or a self-hosted instance with DEBUG=true
- Org setting 'AI data processing approved' turned on
- Prompt subscriptions enabled for the organization by PostHog
- Access token with subscription:write and query:read scopes
- A connected Slack integration for Slack delivery
- A Microsoft Teams webhook URL for Teams delivery
Try asking
- Create a weekly AI summary of product usage to my email every Monday
- Set up a daily Slack report on yesterday's sign-ups and onboarding errors
- List my PostHog subscriptions and check whether a weekly pulse already exists
Good to know
- Self-hosted production deployments are not eligible for prompt subscriptions.
- Prompt subscriptions are only enabled by PostHog rollout, with no self-serve toggle.
- Subscription creation is not idempotent, so check for duplicates before retrying.
- The subscription kind cannot be changed after creation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/subscriptions/skills/creating-ai-subscription/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to creating-ai-subscription
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
creating-ai-subscription: common questions
What is a PostHog prompt subscription?
It is a recurring report generated by an LLM from a free-text prompt. The LLM runs HogQL over the project's data and writes a markdown report on each scheduled tick.
When should I use a dashboard subscription instead?
The source recommends a dashboard or insight subscription when the user wants key numbers from an existing dashboard or insight. Those numbers come from saved queries, so they are less likely to differ from what the dashboard shows.
Where can prompt subscription reports be delivered?
The source says reports can be delivered by email, Slack or Microsoft Teams. Slack needs a connected integration and Teams needs a webhook URL.
How do I install creating-ai-subscription?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is creating-ai-subscription free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is creating-ai-subscription safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to creating-ai-subscription?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
