cmux-billing
Skill by manaflow-ai
Provides a runbook for cmux billing work, covering Stripe Checkout, Pro and Max plans, subscriptions, webhooks and entitlements. It is for developers editing or debugging cmux billing code.
Install cmux-billing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/manaflow-ai/cmux /tmp/cmux && mkdir -p ~/.claude/skills && cp -r /tmp/cmux/skills/cmux-billing ~/.claude/skills/cmux-billingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/manaflow-ai/cmux /tmp/cmux && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cmux/skills/cmux-billing ~/.gemini/antigravity-cli/skills/cmux-billingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a runbook for billing work in the cmux codebase. It maps the Stripe Checkout route, the customer portal, the subscription cancel and resume route, and the shared purchase recorder. It also covers the Pro, Max and Team catalog, grandfathered prices, and the Cloud VM allowance tied to each plan.
The file is written for developers editing or debugging Stripe checkout, webhooks, subscription records, Pro plan status, or entitlement metadata. It also describes the local dev workflow with fake payments, the dev-grant.sh and dev-reset.sh scripts, and the production price provisioning steps.
Written from the project's SKILL.md and checked against it.
What it can do
- Checkout flowExplains how /api/billing/checkout creates Stripe Checkout Sessions for Pro and falls back to the legacy purchase path.
- Plan catalogLists current checkout keys, prices, and how grandfathered Stripe prices stay active for existing subscriptions.
- Webhook handlingDescribes the signature-verified, idempotent /api/stripe/webhook route and its gating on metadata.app.
- Entitlement metadataExplains how cmuxVmPlan overrides and the cmuxPlan Stripe mirror set the Pro entitlement for VMs.
- Cloud VM allowanceDescribes saved VM counts, pooled vCPU and RAM limits, and per-VM disk limits for each paid plan.
- Admin grantsDocuments staff-only routes for granting or removing plan overrides and downgrading subscriptions.
- Local dev workflowCovers dev-stack.sh, dev-grant.sh and dev-reset.sh, plus the CMUXDEV100 test promotion code.
- Production runbookOutlines provisioning live prices with provision-live.sh, deploying, and validating with a 100 percent promotion code.
What you need
- A Stripe account with test and live keys
- Stripe CLI, logged in with stripe login
- Vercel project environment variables for Stripe price IDs
- Docker for per-branch Postgres during local development
Try asking
- Explain how the Stripe checkout route sets client_reference_id for cmux
- Walk me through the webhook idempotency steps for cmux billing
- Use dev-grant.sh to give my local dev account Pro for testing
Good to know
- Admin UI is not part of the repository and there is no admin page on cmux.com
- Pending email grants return 503 until the admin_plan_grants migration runs
- Production provisioning needs an operator key and is an operator step
- Go and Team are monthly only and their annual prices stay active only for existing subscriptions
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cmux-billing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB
Alternatives to cmux-billing
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
cmux-billing: common questions
Does this skill cover Stripe webhooks in cmux?
Yes. It describes the /api/stripe/webhook route, which is signature-verified and insert-first idempotent, and returns 500 so Stripe retries when writes fail.
How can I test checkout without paying?
Use dev-grant.sh to write a Pro override directly, or enter promotion code CMUXDEV100 in test-mode checkout for a 100 percent off coupon.
Which plans does the billing runbook describe?
It describes Plus, Pro, Max, Team and Founder's Edition, with their monthly and yearly prices and the Cloud VM limits for each.
How do I install cmux-billing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cmux-billing free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is cmux-billing safe to use?
It scores 83 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cmux-billing?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
