tools-posthog

Gate freemium/pro features with PostHog flags and Stripe-ready upgrade hooks.

9|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/aussiegingersnap/cursor-skills --skill tools-posthog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tools-posthog
Source: https://github.com/aussiegingersnap/cursor-skills/tree/main/skills/tools-posthog
Command: npx skills add https://github.com/aussiegingersnap/cursor-skills --skill tools-posthog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Freemium/pro features can be gated behind per-user flags and tracked for upgrades, enabling controlled access to paid capabilities.

Core Features & Use Cases

  • PostHog-based per-user feature flags for gating access to Pro features
  • Upgrading prompts and inline locks to upsell while maintaining a smooth UX
  • Stripe-ready hooks and user-property synchronization to unlock paid tiers automatically

Quick Start

Run the pattern to gate features behind PostHog flags, add upgrade prompts, and wire Stripe-ready hooks for paid tiers.

Frequently Asked Questions about tools-posthog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I gate freemium features using PostHog feature flags?

You gate freemium features by implementing per-user PostHog feature flags to control access to pro capabilities. This approach uses targeted flag hooks and usage tracking events to manage feature rollouts and A/B testing.

What is the best way to add upgrade prompts for locked pro features?

The best way to add upgrade prompts is by implementing modal and inline upgrade patterns directly within the feature flag logic. This displays targeted upsell prompts to users who lack access to gated pro features.

How do I sync PostHog feature flags with Stripe subscription tiers?

Sync PostHog flags with Stripe by using Stripe-ready hooks and user-property synchronization workflows. This automatically unlocks paid tiers and pro features when a user successfully upgrades their subscription.

Can I use PostHog flags for A/B testing and gradual feature rollouts?

Yes, you can use PostHog flags for A/B testing and gradual access control. The pattern applies per-user targeting to slowly roll out features to specific segments while tracking usage events for analytics.

Do I need Stripe to implement this PostHog freemium gating pattern?

You do not need Stripe to start gating features with PostHog flags, but Stripe is required to utilize the integrated Stripe-ready hooks for automatically unlocking paid tiers during subscription upgrades.