From commet
Use when working with the Commet CLI -- logging in, linking projects, pulling types for autocomplete, scaffolding new projects from templates (fixed, seats, metered, credits, balance-ai, balance-fixed), or managing organizations.
npx claudepluginhub commet-labs/commet-skills --plugin commetThis skill uses the workspace's default tool permissions.
Generate TypeScript types from your Commet dashboard for autocomplete, scaffold new projects from billing templates, and manage organizations. Requires Node.js 18+.
Integrates Commet billing and payments into Node.js and Next.js apps via @commet/node, @commet/next, @commet/better-auth. Handles subscriptions, usage tracking, seats, checkouts, portals, webhooks, feature gating.
Clerk Billing and Stripe subscription management setup. Use when implementing subscriptions, configuring pricing plans, setting up billing, adding payment flows, managing entitlements, or when user mentions Clerk Billing, Stripe integration, subscription management, pricing tables, payment processing, or monetization.
Guides creation of legacy slash commands for Claude Code (.claude/commands/ format), including YAML frontmatter, dynamic args, bash execution, git integration, and user interaction patterns.
Share bugs, ideas, or general feedback.
Generate TypeScript types from your Commet dashboard for autocomplete, scaffold new projects from billing templates, and manage organizations. Requires Node.js 18+.
npm install -g commet
commet login # Authenticate in browser
commet link # Link project to organization
commet pull # Generate .commet/types.d.ts
After commet pull, SDK calls get autocomplete for planCode, feature, and seatType parameters:
await commet.usage.track({
customerId: "user_123",
feature: "api_calls", // autocomplete from pulled types
});
await commet.subscriptions.create({
customerId: "user_123",
planCode: "pro", // autocomplete from pulled types
});
| Command | Description |
|---|---|
commet login | Authenticate with Commet (opens browser) |
commet logout | Remove credentials |
commet whoami | Show auth status and current organization |
commet link | Link project to an organization |
commet unlink | Unlink project |
commet switch | Switch to a different organization |
commet info | Show project and auth status |
commet pull | Generate .commet/types.d.ts |
commet list features | List features for the linked organization |
commet list seats | List seat types |
commet list plans | List plans |
commet create [name] | Scaffold new project from a billing template |
See references/commands.md for full details.
Scaffold a complete Next.js project with billing pre-configured:
commet create my-app
| Template | Billing Model |
|---|---|
fixed | Fixed subscriptions with boolean features |
seats | Per-seat billing for team collaboration |
metered | Usage-based with included amounts and overage |
credits | Credit-based consumption with packs and top-ups |
balance-ai | AI product with automatic token cost tracking |
balance-fixed | Prepaid balance with fixed unit prices |
See references/templates.md for details on each template.
commet create is sandbox-only. Templates create plans and features in your sandbox organization. If you're logged into production, you need to commet logout and log back in to sandbox.
Commit .commet/types.d.ts. The generated types file should be committed to your repo so the entire team gets autocomplete without each person running commet pull.
Two environments, two logins. Sandbox (sandbox.commet.co) and Production (commet.co) are isolated. Switch by logging out and back in.
Run commet pull after dashboard changes. When you add plans, features, or seat types in the dashboard, re-run commet pull to update the local types file.