stigg
1
总安装量
1
周安装量
#53505
全站排名
安装命令
npx skills add https://docs.stigg.io
Agent 安装分布
claude-code
1
Skill 文档
Capabilities
Stigg is a comprehensive pricing and packaging orchestration platform that enables agents to:
- Define and manage product pricing models – Create flexible pricing strategies including freemium, free trials, usage-based, hybrid, and custom pricing
- Manage customer subscriptions and entitlements – Provision customers, create subscriptions, manage upgrades/downgrades, and control feature access
- Track and meter usage – Report usage metrics for metered features with real-time tracking and aggregation
- Manage credits and prepaid models – Grant, track, and consume credits with automatic deductions based on usage
- Render monetization UI components – Deploy pricing tables, customer portals, checkout flows, and credit management widgets
- Automate monetization workflows – Create custom workflows triggered by events with conditional logic and integrations
- Integrate with billing and CRM systems – Sync data with Stripe, Zuora, Salesforce, HubSpot, and other platforms
- Analyze pricing and subscription data – Access dashboards, experiments, and analytics for pricing optimization
Skills
Customer Management
- Provision customers – Create customers with
provisionCustomermutation, including name, email, billing information, and optional initial subscription - Update customer details – Modify customer information and metadata using
updateCustomer - Archive customers – Soft-delete customers while preserving billing history with
archiveCustomer - Retrieve customer data – Query customer details, subscriptions, entitlements, and promotional grants with
getCustomerorlistCustomers - Apply coupons – Assign discount coupons to customers using
setCouponOnCustomer
Subscription Management
- Create subscriptions – Provision subscriptions with
createSubscriptionspecifying plan, billing period, add-ons, and start date - Update subscriptions – Modify active subscriptions with
updateSubscriptionto change plans, add-ons, or feature quantities - Cancel subscriptions – End subscriptions with
cancelSubscriptionwith optional cancellation reasons - Estimate subscription costs – Preview pricing with
estimateSubscriptionincluding proration calculations - Migrate subscriptions – Update subscriptions to latest plan versions with
migrateSubscriptionToLatest - List subscriptions – Query subscriptions with filtering by customer, status, or plan using
listSubscriptions - Get subscription details – Retrieve full subscription information including pricing, add-ons, and invoice status
Entitlements and Feature Access
- Check feature entitlements – Query
entitlementto verify if a customer has access to a specific feature with usage limits - Get all entitlements – Retrieve
entitlementsStateto see all features a customer is entitled to with current usage and limits - Grant promotional entitlements – Award temporary feature access using
grantPromotionalEntitlementswith optional expiration - Revoke promotional entitlements – Remove promotional access with
revokePromotionalEntitlement - Recalculate entitlements – Trigger entitlement recalculation with
recalculateEntitlementsafter subscription changes
Usage Tracking and Metering
- Report usage – Submit usage measurements with
reportUsagefor metered features (calculated usage) - Report raw events – Ingest raw events with
reportEventfor Stigg to aggregate (e.g., MAU tracking) - Bulk report usage – Submit multiple usage records with
reportUsageBulkfor efficiency - Query usage history – Retrieve historical usage data with
usageHistoryfor auditing and analytics - View usage events – Access raw event logs with
usageEventsfor debugging and verification
Credit Management
- Create credit grants – Award credits to customers with
createCreditGrantspecifying amount, currency, and expiration - Void credit grants – Revoke unused credits with
voidCreditGrant - Query credit balance – Check current credit balance with
creditBalancefor a specific currency - View credit ledger – Access complete credit transaction history with
creditLedgerfor reconciliation - List credit grants – Retrieve all active and expired grants with
creditGrants
Pricing and Plans
- Create plans – Define plans with
createPlanincluding pricing, billing period, features, and trial configuration - Create add-ons – Build supplementary offerings with
createAddonfor additional revenue - Publish plans – Release plan versions with
publishPlanto make them available to customers - List plans – Query available plans with
listPlanswith filtering options - Get plan details – Retrieve full plan information including pricing, features, and metadata
- List add-ons – Query available add-ons with
listAddons - Set package pricing – Configure pricing for custom plans with
setPackagePricing
Features and Feature Groups
- Create features – Define feature types (boolean, metered, configuration, enum) with
createFeature - Update features – Modify feature details and metadata with
updateFeature - Archive features – Retire features with
archiveFeaturewhile preserving history - List features – Query all features with
listFeatures - Create feature groups – Organize features with
createFeatureGroupfor better UX - Update feature groups – Modify group membership and metadata
Coupons and Discounts
- Create coupons – Define discount codes with
createCoupon(percentage or fixed amount) - Apply coupons – Assign coupons to customers or subscriptions
- List coupons – Query available coupons with
listCoupons - Archive coupons – Retire coupons with
archiveCoupon
Pricing Tables and Widgets
- Render pricing table – Display plans with
Paywallcomponent showing features and pricing - Render customer portal – Show subscription management UI with
CustomerPortalwidget - Render checkout – Embed payment flow with
Checkoutcomponent - Display credit balance – Show customer credits with
CreditBalancewidget - Display credit usage – Visualize credit consumption with
CreditUsagechart - Display credit grants – List active grants with
CreditGrantstable - Configure auto-recharge – Enable automatic credit top-ups with
CreditAutoRechargeConfiguration
Workflow Automation
- Create workflows – Build automation with visual workflow builder using triggers, conditions, and actions
- Trigger workflows – Workflows respond to events like subscription changes, usage thresholds, trial expiration
- Conditional logic – Implement branching with conditions based on customer data, usage, or subscription state
- Execute actions – Perform operations like granting entitlements, sending notifications, or calling webhooks
- Manage credentials – Store and use API keys for integrated services within workflows
- Monitor execution – Track workflow runs with execution history and activity logs
Webhooks and Events
- Subscribe to events – Receive webhooks for subscription changes, usage updates, entitlement changes, credit balance updates
- Handle events – Process events like
subscriptionCreated,subscriptionCanceled,entitlementUsageExceeded,creditBalanceLow - Integrate with services – Forward events to Segment, Zapier, or custom endpoints
- Retry logic – Automatic retry handling for failed webhook deliveries
Data Integration
- Import customers – Bulk import existing customers from CSV
- Import subscriptions – Migrate subscription data from legacy systems
- Import usage – Load historical usage data for metered features
- Export to data warehouses – Sync data to Snowflake or BigQuery for analytics
- Integrate with Stripe – Sync subscriptions and billing with Stripe
- Integrate with Zuora – Connect to Zuora for enterprise billing
- Integrate with Salesforce – Sync customer and subscription data with Salesforce
- Integrate with HubSpot – Sync contacts and create automation flows
- AWS Marketplace – List products on AWS Marketplace with automatic provisioning
SDKs and API Access
- GraphQL API – Access comprehensive API at
https://api.stigg.io/graphqlwith queries, mutations, and subscriptions - Backend SDKs – Use SDKs for Node.js, Python, Go, Ruby, Java, .NET, or Sidecar
- Frontend SDKs – Integrate with JavaScript, React, Vue.js, or Next.js
- REST API – Access REST endpoints (private beta) for alternative integration
- Real-time subscriptions – Subscribe to real-time updates for entitlements, usage, credits, and package changes
- Rate limiting – Standard tier: 1,000 requests/minute; Enterprise: custom limits
Analytics and Insights
- Dashboard – View subscription metrics, MRR, churn, and customer insights
- Active subscriptions dashboard – Monitor subscription status and lifecycle
- Feature inspector – Analyze feature adoption and entitlement distribution
- Experiments – A/B test pricing changes with statistical significance
- Price localization – Configure region-specific pricing with automatic currency conversion
Workflows
Provision a New Customer with Subscription
- Call
provisionCustomerwith customer details and optionalsubscriptionParams - Specify plan ID and billing period in subscription parameters
- Optionally apply coupon at customer creation
- Receive customer ID and initial subscription details
- Sync customer to billing provider if integrated
Implement Usage-Based Pricing
- Create metered features with
createFeature(type: METERED) - Assign features to plans with usage limits
- Report usage with
reportUsageorreportEventas customers consume - Query
entitlementto check current usage against limits - Trigger workflows on usage thresholds to notify or auto-upgrade customers
Manage Subscription Upgrades and Downgrades
- Query current subscription with
getSubscription - Estimate new cost with
estimateSubscriptionfor target plan - Call
updateSubscriptionwith new plan ID - Receive proration details (credit or debit)
- Handle payment if required via billing provider
Grant and Track Credits
- Create credit grant with
createCreditGrantspecifying amount and expiration - Report usage that consumes credits with
reportUsage - Query
creditBalanceto show customer remaining credits - Monitor
creditBalanceLowwebhook events for auto-recharge triggers - Access
creditLedgerfor audit trail and reconciliation
Automate Trial Extension Based on Usage
- Create workflow triggered by
entitlementUsageExceededevent - Add condition checking if customer is in trial period
- Add action to grant promotional entitlement extending trial
- Optionally notify customer of extension
- Monitor workflow execution history for success/failure
Render Pricing and Enable Self-Service
- Integrate
Paywallcomponent with product ID - Configure styling with no-code widget designer
- Handle
onPlanSelectedcallback to create subscription - Embed
CustomerPortalfor subscription management - Use
Checkoutcomponent for payment collection - Widgets auto-sync with pricing changes in Stigg
Integration
Stigg integrates with:
- Billing: Stripe, Zuora, multiple providers simultaneously
- CRM: Salesforce, HubSpot with bidirectional sync
- Data Warehouses: Snowflake, BigQuery for analytics
- Marketplaces: AWS Marketplace for SaaS listings
- Authentication: Auth0 for identity management
- Automation: Zapier, Segment for event forwarding
- Custom: Webhooks to any HTTP endpoint
All integrations are environment-specific, allowing testing before production deployment.
Context
Key Concepts:
- Products – Top-level offering that groups plans and defines subscription rules
- Plans – Pricing templates (free, paid, custom) with features and billing terms
- Add-ons – Supplementary offerings that extend plans with additional features
- Features – Discrete capabilities assigned to plans/add-ons (boolean, metered, configuration, enum)
- Entitlements – Actual permissions granted to customers based on their subscription
- Subscriptions – Customer’s active plan with billing status and feature access
- Credits – Custom currency units for prepaid and usage-based pricing models
- Environments – Isolated workspaces (dev, staging, production) with separate data and API keys
Pricing Models Supported:
- Freemium with limited features
- Free trials with optional paid conversion
- Fixed recurring billing (monthly, annual)
- Usage-based with per-unit charges
- Hybrid combining fixed + usage charges
- Prepaid credits with consumption
- Custom negotiated pricing per customer
- Overages for exceeding limits
Feature Types:
- Boolean: Simple on/off access
- Metered: Tracked usage with limits (incremental or fluctuating)
- Configuration: Numeric values (seats, storage, etc.)
- Enum: Predefined option sets
Entitlement Behavior:
- Additive: Multiple sources (plan + add-ons) sum together
- Multiplicative: Add-on quantities multiply entitlements
- Usage reset periods: Daily, weekly, monthly, annual
- Fallback strategies: Graceful degradation when service unavailable
- Caching: Local caching with fallback for high availability
For additional documentation and navigation, see: https://docs.stigg.io/llms.txt