subscription-system

Manage subscription tiers, feature access, and usage quotas in a monorepo.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/Spectaculous-Code/raamattu-nyt --skill subscription-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-system
Source: https://github.com/Spectaculous-Code/raamattu-nyt/tree/main/.claude/skills/subscription-system
Command: npx skills add https://github.com/Spectaculous-Code/raamattu-nyt --skill subscription-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust framework for implementing and managing subscription-based features, ensuring users have access to the correct functionalities based on their plan.

Core Features & Use Cases

  • Feature Gating: Control access to features based on user subscription plans (e.g., 'basic', 'pro', 'premium').
  • Quota Management: Implement and track usage limits for various features (e.g., AI tokens, item counts, data size).
  • Upgrade Flows: Facilitate seamless user upgrades through integrated UI components and logic.
  • Use Case: When a user tries to use an AI summarization feature, this Skill checks their current plan and available quota, displaying an upgrade prompt if they exceed limits or lack access.

Quick Start

Implement a new feature called 'advanced-reporting' that is available to 'pro' users and above, with a limit of 5 reports per month.

Frequently Asked Questions about subscription-system

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

FAQPage Schema
How do I implement feature gating based on user subscription plans in a monorepo?

Feature gating restricts access to specific functionalities based on user subscription tiers like 'basic' or 'pro'. This Skill manages access control within a monorepo by defining plan-based permissions using shared packages and Supabase functions.

What is the best way to track usage quotas and rate limits for AI tokens?

Quota management tracks usage limits for resources like AI tokens, item counts, and data sizes. This Skill enforces rate limiting across different time windows, checking user consumption against plan limits before allowing access to features.

How do I build an upgrade flow when users exceed their plan limits?

An upgrade flow transitions users to higher subscription tiers when they hit quota limits or lack feature access. This Skill facilitates seamless upgrades by integrating UI components and logic that prompt users to switch plans during feature usage.

Can I manage subscription tier limits across different time windows using Supabase?

Yes, subscription tiers can enforce various limit types including tokens, counts, and sizes across different time windows. This Skill integrates with Supabase functions to validate usage against these dynamic time-based quotas.

Does this access control approach work for a monorepo application?

Yes, this Skill is specifically designed to manage subscription tiers and feature access within a monorepo application. It leverages shared packages to ensure consistent plan management and quota enforcement across all integrated services.