One-click install
npx skills add https://github.com/irchamaji/agents --skill license-keys-irchamaji
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: license-keys
Source: https://github.com/irchamaji/agents/tree/main/skills/license-keys
Command: npx skills add https://github.com/irchamaji/agents --skill license-keys-irchamaji

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you implement reliable license key management so customers can activate and use your software while you can enforce limits, expiry, and access control for premium features.

Core Features & Use Cases

  • Activation, Validation, and Deactivation: Guides how to wire up client and server flows for activating keys, checking validity, and deactivating instances.
  • Access Control & Feature Gating: Shows how to require a valid license before protected commands and how to map license tiers to features.
  • Webhook-Driven Provisioning: Covers handling license key creation events (e.g., store keys and send activation instructions) and reacting to subscription changes.
  • Practical Integrations: Provides patterns for CLI, desktop (Electron) storage and offline grace handling, and server-side validation using an API key.

Quick Start

Provide your product with license key settings in the Dodo Payments dashboard, then use the public activation and validation endpoints to activate a key on a device and gate premium functionality until validation succeeds.

Frequently Asked Questions about license-keys

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

FAQPage Schema
How do I implement software license key activation and validation for a CLI application?

To implement license key activation, you wire client and server flows to activate keys on a device, check validity against status and expiry, and gate protected CLI commands until validation succeeds.

What is webhook-driven provisioning for license key management?

Webhook-driven provisioning for license key management handles license_key.created events to store keys and send activation instructions, reacting dynamically to subscription changes to provision software access.

Can I enforce per-seat or per-device limits using license keys?

Yes, you can enforce per-seat or per-device limits by validating unique license keys and deactivating instances, applying access control logic that restricts premium features to authorized devices.

Does this license key validation approach work with desktop apps like Electron?

Yes, license key validation works with desktop apps like Electron by providing patterns for local storage and offline grace handling, enabling premium feature gating when server-side API verification is unavailable.

How do I map license tiers to premium features for software access control?

Mapping license tiers to features requires persisting license metadata during activation, then applying protection logic before granting access. This validates the tier status and gates premium commands accordingly.

What are the limitations of offline grace handling for software licensing?

Offline grace handling limitations include relying on persisted local license metadata when server-side API validation is unavailable. You must enforce strict expiry checks locally to prevent unauthorized premium feature access.