FL

flowglad-feature-gating

Implements access control and paywalls to gate premium features based on user subscription status.

Install

mkdir -p .claude/skills/flowglad-feature-gating && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7257" && unzip -o skill.zip -d .claude/skills/flowglad-feature-gating && rm skill.zip

Installs to .claude/skills/flowglad-feature-gating

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Implement feature access checks using Flowglad to gate premium features, create paywalls, and restrict functionality based on subscription status. Use this skill when adding paid-only features or checking user entitlements.
223 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Implement client-side feature access checks
  • →Protect API routes with server-side entitlement verification
  • →Handle asynchronous loading of billing data
  • →Redirect unprivileged users to upgrade paths

How it works

Uses a centralized billing hook to verify entitlements against feature slugs, managing asynchronous state transitions to prevent UI flickers.

Inputs & outputs

You give it
User entitlement state and feature slug
You get back
Access check result or redirect trigger

When to use flowglad-feature-gating

  • →Implementing premium feature paywalls
  • →Restricting access based on subscription
  • →Managing feature entitlements
  • →Redirecting non-paying users to upgrades

About flowglad-feature-gating

Provides methods to check user subscription entitlements. Manages loading states, server-side protection for API routes, and component-level gating for restricted content.

Implement feature access checks using Flowglad to gate premium features, create paywalls, and restrict functionality based on subscription status. Use this skill when adding paid-only features or checking user entitlements.

When not to use it

  • →Implementing granular RBAC user roles
  • →Caching dynamic content locally

Prerequisites

Flowglad SDKConfiguration of @/lib/flowglad

Limitations

  • →Requires server-side verification for security
  • →Billing hooks can be delayed during initial load

How it compares

It combines loading state management and entitlement checks specifically tailored for SaaS monetization flows.

Compared to similar skills

flowglad-feature-gating side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
flowglad-feature-gating (this skill)18moNo flagsIntermediate
supabase-developer959moReviewIntermediate
supabase-mcp-integration1310moReviewAdvanced
shopify-development128moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry