Skip to content
manaflow-ai avatar

Cmux Backend

Backend TypeScript and Cloud VM rules for cmux, with Effect-based boundaries and Postgres-backed lifecycle control.

CCM score
62 of 100
skills.sh installs
5.1K
GitHub stars
29K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers backend TypeScript under web/app/api, web/services, and backend scripts, plus Cloud VM lifecycle and provider integrations
  • Includes PlanetScale PostgreSQL production and staging setup, cloud-vm:migrate runs, and provider secrets sourced from ~/.secrets/cmux.env
  • Enforces thin Next route handlers that map typed Effect errors to HTTP responses, and keeps Postgres as the source of truth for VM state
  • Designed for changes to Cloud VM provisioning, Stack Auth pricing gates, migrations, and provider image build scripts

Install

$ npx -y skills add manaflow-ai/cmux --skill cmux-backend -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

cmux Backend

Core rules

Details

Repository
github.com/manaflow-ai/cmux
Categories
Backend & APIs, Databases
First seen
Jul 14, 2026

Questions

What does the cmux-backend skill help with?

The cmux-backend skill gives rules for editing cmux's backend TypeScript and Cloud VM code, including web/app/api routes, web/services, provider integrations, Postgres, migrations and provider image build scripts. It tells the agent to default backend logic to Effect and to keep Next route handlers thin. Postgres is treated as the source of truth for VM lifecycle, active VM limits, idempotency and usage events.

How do I install the cmux-backend skill?

Run npx -y skills add manaflow-ai/cmux --skill cmux-backend -y inside a project to install it. Once installed, the agent follows the cmux backend rules when it edits Cloud VM and API code in that project. The skill is sourced from the cmux GitHub repository.

Does cmux-backend need any secrets or keys?

Cloud VM build, test and local dev scripts read provider secrets from ~/.secrets/cmux.env, and FREESTYLE_API_KEY is needed by the devbox image build script. Production and staging use the PlanetScale PostgreSQL database cmux-prod via DATABASE_URL, with migrations run through the cloud-vm:migrate script. The skill notes that AWS credentials are not database credentials.

Which other skills lead the Backend and APIs category?

Other top skills in the Backend and APIs category include entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. cmux-backend differs from these by focusing on cmux's own Cloud VM control plane, Stack Auth pricing gates and Effect-based backend conventions.

More from manaflow-ai/cmux

All 21

Similar to Cmux Backend

More Backend & APIs