Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

cmux-billing — Claude Code skill: what it does, how to install

Runbook for cmux billing architecture covering Stripe Checkout, subscription tiers, webhooks, and entitlement overrides during backend development.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manaflow-ai/cmux --skill cmux-billing -a claude-code
Open on GitHub

What cmux-billing does

This skill provides context for editing billing workflows inside cmux. It maps out Stripe Checkout session generation via /api/billing/checkout, customer portal sessions, and idempotent recording in web/services/billing/purchase.ts. Inbound events at /api/stripe/webhook verify signatures, discard payloads where metadata.app is not set to cmux, and return a 500 status on failure to ensure Stripe retries.

Entitlement checks inspect Stack metadata where cmuxVmPlan overrides the mirrored cmuxPlan. Admin endpoints at /api/admin/* require verified company domains or explicit admin records. Running email grant operations before executing the admin_plan_grants database migration causes endpoints to return 503 errors.

What it helps with

  • trace Stripe Checkout session creation and customer portal flows
  • test checkout locally with dev-stack.sh and the CMUXDEV100 coupon
  • debug idempotent Stripe webhook processing and event filtering
  • grant or reset dev entitlements using dev-grant.sh and dev-reset.sh

Example prompts for the agent

  • Explain how resolveProPlanStatus evaluates cmuxVmPlan against cmuxPlan
  • How do I simulate a free checkout in development using the CMUXDEV100 coupon?
  • Trace the webhook handling flow in web/services/billing/purchase.ts

How to install cmux-billing

1Skills CLI (Vercel)

npx skills add manaflow-ai/cmux --skill cmux-billing -a claude-code

2Manually: put the files in place

~/.claude/skills/cmux-billing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cmux-billing/

From the same set13

The whole set →
cmux manaflow-ai Skill for navigating multi-pane cmux layouts: create windows, workspaces, splits, focus surfaces, and move terminals and browser panels without breaking automation. Use it when an agent needs deterministic placement and routing. Claude Code CX Codex Cursor +1 9,600installs cmux-browser manaflow-ai Automates browser surfaces via the cmux CLI without stealing user focus. Useful for background page inspections, waiting on selectors, and form fills. Claude Code CX Codex Cursor +1 8,800installs cmux-customization manaflow-ai Configures the cmux workspace manager: edits cmux.json, wires Command Palette actions, sets dock terminals, and routes terminal-level styling directly to Ghostty. Claude Code CX Codex Cursor +1 6,600installs cmux-diagnostics manaflow-ai Skill runs read-only cmux diagnostics: sockets, hooks, session restore, settings. Use when notifications fail, agents don't resume, or you need a support-safe debug report. Claude Code CX Codex Cursor +1 6,400installs cmux-keyboard-shortcuts manaflow-ai Configures cmux shortcuts in ~/.config/cmux/cmux.json. Useful for adopting tmux-style chords, auditing overrides, and validating syntax. Claude Code CX Codex Cursor +1 6,200installs cmux-testing manaflow-ai Skill for choosing verification scopes, adding tests, and validating Swift test targets in the cmux project. Decides what local and CI evidence a change needs. Claude Code CX Codex Cursor +1 4,900installs cmux-custom-sidebar manaflow-ai Skill for writing a custom cmux sidebar in a SwiftUI-like language. The sidebar binds to workspaces, tabs, PRs, and clock; hot-reloads on save; runs cmux commands on tap. Claude Code CX Codex Cursor +1 4,800installs cmux-architecture manaflow-ai Guides modular Swift package architecture, strict 5-layer dependency inversion, and Swift 6 concurrency rules in the cmux codebase. Claude Code CX Codex Cursor +1 4,800installs

Similar

rivet-sdk official anthropics Reference skill for the Zoom Rivet SDK, covering OAuth tokens and webhook ingestion in Node.js or AWS Lambda. Claude Code CX Codex Cursor +1 2,100installs plan-zoom-product official anthropics This skill helps you pick the right Zoom building surface for your use case: REST API, Webhooks, Meeting SDK, Video SDK, or another option. It gives a recommendation with clear tradeoffs. Claude Code CX Codex Cursor +1 2,100installs scribe official anthropics Reference skill for Zoom AI Services Scribe. It guides transcription workflows for stored media, HS256 JWT credentials, fast mode, and batch processing. Claude Code CX Codex Cursor +1 2,100installs zoom-general official anthropics Reference skill for choosing the right path when working with Zoom APIs, SDKs, and MCP. Routes queries to Meeting SDK, REST API, webhooks, OAuth, or agent tools based on intent. Claude Code CX Codex Cursor +1 2,000installs zoom-rtms official anthropics Reference skill for Zoom RTMS pipelines. Guides the agent on capturing real-time audio, video, transcripts, and chat via WebSockets without meeting bots. Claude Code CX Codex Cursor +1 2,000installs zoom-apps-sdk official anthropics Reference skill for the Zoom Apps SDK. Gives your agent the API surface for web apps running inside Zoom meetings, webinars, the main client, and Zoom Phone. Claude Code CX Codex Cursor +1 2,000installs mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. Claude Code Claude.ai 130,949installs lark-im larksuite This skill lets an agent work with Lark IM messages, chats, files, and interactive cards. Use it when coding tasks need access to team conversations. Claude Code CX Codex Cursor +1 472,300installs

Questions about cmux-billing

How to install cmux-billing in Claude Code?

Install it by running npx skills add manaflow-ai/cmux --skill cmux-billing -a claude-code. The file will be placed in ~/.claude/skills/cmux-billing/SKILL.md.

What is cmux-billing used for?

It acts as a technical runbook for coding against cmux billing endpoints, Stripe subscriptions, plan catalogs, and admin grant tools.

How do you test payments locally without real charges?

You can apply cmuxVmPlan: "pro" directly using web/scripts/stripe/dev-grant.sh <email> or apply the CMUXDEV100 100%-off coupon during test-mode checkout.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor