tier-entitlements

Installation
SKILL.md

Tier-Based Entitlements

Gate features and track usage by subscription tier.

When to Use This Skill

  • Free users get limited features
  • Pro users get unlimited access
  • Need to track daily/monthly usage
  • Want clean API for checking limits

Core Concepts

  1. Tier config - Single source of truth for all limits
  2. Usage tracking - Database tracks consumption
  3. Atomic increments - Prevent race conditions
  4. Rate limit headers - Standard HTTP headers for clients

TypeScript Implementation

Related skills
Installs
22
GitHub Stars
780
First Seen
Jan 25, 2026