Migrate Node.js, Python, Go, Ruby, and other applications from Railway to CreateOS. Parses railway.json and railway.toml, maps environment variables per service, detects framework and build settings, and deploys to CreateOS via the CreateOS MCP server. Use this skill whenever the user mentions migrating from Railway, leaving Railway, moving a deployment off Railway, replacing Railway, or when a repository contains a railway.json or railway.toml file and the user wants to deploy elsewhere. Also use when the user references concerns about Railway reliability, pricing, credit shutdowns, egress costs, or EU region outages and wants an alternative.
Ships in nodeops-app-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill migrates a project currently deployed on Railway to CreateOS. It reads the existing Railway configuration, translates it into a CreateOS project, provisions environments and environment variables, and triggers the first deployment — all through the CreateOS MCP server.
Activate this skill when any of the following is true:
railway.json, railway.toml, or a Dockerfile with Railway-specific environment references (RAILWAY_*).Do NOT use this skill when:
createos skill instead.Before running any migration steps, confirm the user has:
https://createos.nodeops.network to sign in via Email, GitHub, Google, or Wallet.CREATEOS_API_KEY environment variable set.If the user does not have their Railway environment variables accessible, pause the migration and provide these instructions:
Export your Railway environment variables by running
railway variablesin your project directory (requires Railway CLI), or download them per-service from the Railway dashboard under Variables. Keep this file local and do not commit it.
Before migrating, understand how Railway's model maps to CreateOS:
| Railway concept | CreateOS equivalent |
|---|---|
| Project | Project |
| Service | Project (one CreateOS project per Railway service is the recommended approach) |
| Environment (Production / Staging) | Project Environment |
| Variables (per service, per environment) | Environment Variables on Project Environment |
| Custom domain (per service) | Domain on Project |
| Volume (persistent storage) | CreateOS does not provide managed volumes — use external storage (S3-compatible or managed DB) |
| Cron service | CreateOS Cronjob (CreateCronjob MCP tool) |
| Private networking between services | Not directly supported — services communicate via public URLs or you migrate to a monorepo |
Important: Railway's project canvas can run multiple services (web + worker + database) in one project. CreateOS maps each service to its own project. Plan the service split with the user before proceeding.
Follow these steps in order. Do not skip steps. Report progress to the user after each completed step.
Read the following files from the repository if they exist:
railway.json or railway.toml — build, start, healthcheck, and restart configurationpackage.json — detect framework, build scripts, and Node.js version (if Node project)Dockerfile — if present, Railway may be using Docker-based builds (Railpack or custom).nvmrc / .python-version / go.mod / Gemfile — runtime version pins.env* files for reference (do NOT read secrets; only note which keys exist)Procfile — if present, note web and worker process definitionsProduce a short summary for the user:
Detected project:
- Language/Framework: [Node.js 20 / Python 3.11 / Go 1.22 / etc.]
- Build system: [Nixpacks (auto) / Dockerfile / Railpack]
- Build command: [npm run build / pip install -r requirements.txt / etc.]
- Start command: [npm start / gunicorn app:app / ./main / etc.]
- Services detected: [web, worker, postgres, redis — list all]
- Environment variables needed: [count, with names — NOT values]
- Railway-specific features in use: [volumes, cron, private networking, etc.]
Railway projects often contain multiple services (e.g., a web service, a background worker, and a managed Postgres). Confirm with the user which services to migrate and how:
| Railway service type | Migration plan |
|---|---|
| Web service | Migrate to CreateOS VCS project |
| Background worker / queue consumer | Migrate to separate CreateOS VCS project |
| Railway managed Postgres | Migrate to CreateOS managed PostgreSQL or external provider |
| Railway managed Redis | Migrate to CreateOS Valkey (Redis-compatible) |
| Railway managed MySQL | Migrate to CreateOS managed MySQL or external provider |
| Railway managed MongoDB | Use external MongoDB Atlas or self-hosted |
| Cron service | Use CreateOS Cronjob (CreateCronjob MCP tool) |
| Volume (persistent disk) | Flag — CreateOS does not provide managed volumes. Use S3-compatible storage or a managed database instead. |
For each managed database service on Railway, advise the user to export data before proceeding:
Postgres:
pg_dump -h $PGHOST -U $PGUSER -d $PGDATABASE > backup.sqlMySQL:mysqldump -h $MYSQLHOST -u $MYSQLUSER -p$MYSQLPASSWORD $MYSQLDATABASE > backup.sqlRedis:redis-cli -h $REDISHOST SAVEthen copy the dump file.
Do not proceed with migration until the user confirms data is backed up.
Check for Railway-specific features and patterns. If any are present, STOP and confirm with the user how they want to handle each before continuing.
| Railway feature | CreateOS handling |
|---|---|
RAILWAY_* environment variables | These are Railway-injected runtime vars. Replace with CreateOS equivalents or remove. See variable mapping table below. |
Private networking (*.railway.internal) | Services communicate via private hostnames on Railway. On CreateOS, services use public URLs — update any internal service URLs in config. |
| Railway volumes (persistent disk) | CreateOS does not offer managed volumes. Migrate data to S3-compatible storage or a managed database. |
| Multi-service canvas (3+ services) | Each service becomes a separate CreateOS project. Confirm wiring between them via public URLs. |
| Railway managed databases | Migrate data to CreateOS managed databases or external providers. |
| Cron services | Use CreateOS CreateCronjob MCP tool. |
| Healthcheck paths | Map to CreateOS health check configuration on the project environment. |
| Custom build args in Dockerfile | Supported — pass as environment variables on the CreateOS project. |
| Nixpacks auto-detection | CreateOS uses useBuildAI: true as the equivalent — it auto-detects language, runtime, and build commands. |
Railway → CreateOS environment variable mapping:
| Railway variable | CreateOS replacement |
|---|---|
RAILWAY_PUBLIC_DOMAIN | Use the CreateOS deployment URL from GetDeployment |
RAILWAY_PRIVATE_DOMAIN | Not applicable — use public URL of the target CreateOS service |
RAILWAY_PROJECT_ID | Not needed — remove |
RAILWAY_SERVICE_ID | Not needed — remove |
RAILWAY_ENVIRONMENT | Replace with NODE_ENV or equivalent |
PORT | Set explicitly on the CreateOS project (port field); Railway injects this automatically, CreateOS requires it declared |
Use the CreateOS MCP to create a new VCS-type project for each Railway web/worker service.
Call ListConnectedGithubAccounts to verify GitHub is connected. The response includes the installationId needed for the next call. If no accounts are connected, call InstallGithubApp and pause for user action.
Call ListGithubRepositories(installationId) and confirm the target repo. Capture the repo's id — that is the vcsRepoId.
Call CheckProjectUniqueName({uniqueName}) to validate the proposed project name. uniqueName must match ^[a-zA-Z0-9-]+$, 4–32 chars.
Call CreateProject with the nested source/settings shape. Two valid patterns — pick one:
Pattern A — Build AI (recommended default). Use this when the Railway project uses Nixpacks auto-detection or when you cannot confidently derive exact commands from config files. CreateOS auto-detects from the repo:
CreateProject({
"uniqueName": "<derived from Railway service name>",
"displayName": "<human-friendly name>",
"type": "vcs",
"source": {
"vcsName": "github",
"vcsInstallationId": "<from step 1>",
"vcsRepoId": "<from step 2>"
},
"settings": {
"useBuildAI": true,
"runtime": "<see runtime mapping below — required>",
"port": 3000
}
})
Pattern B — Explicit commands. Use this when railway.json / railway.toml gives you concrete buildCommand and startCommand. All command fields, when included, must be non-empty strings — omit fields entirely rather than passing "" (empty strings cause a 400):
CreateProject({
"uniqueName": "<derived from Railway service name>",
"displayName": "<human-friendly name>",
"type": "vcs",
"source": {
"vcsName": "github",
"vcsInstallationId": "<from step 1>",
"vcsRepoId": "<from step 2>"
},
"settings": {
"framework": "<see mapping table below — omit if no slug fits>",
"runtime": "<see runtime mapping below>",
"port": 3000,
"directoryPath": ".",
"installCommand": "<from railway.json installCommand or package.json>",
"buildCommand": "<from railway.json buildCommand>",
"runCommand": "<from railway.json startCommand>",
"buildDir": "<output directory if applicable>"
}
})
Required-in-practice fields:
port — always include. Railway injects PORT automatically; CreateOS requires it declared. Default to 3000 for Node, 8000 for Python, 8080 for Go. Use whatever the app actually listens on.runtime — always include.useBuildAI: true OR a complete command set (installCommand + buildCommand + runCommand). Mixing partial commands with useBuildAI: false causes a 400.4b. Call CreateProjectEnvironment(project_id, body) to create the production environment. All five body fields are required:
CreateProjectEnvironment(project_id, {
"displayName": "Production",
"uniqueName": "production",
"description": "Production environment migrated from Railway",
"branch": "main",
"isAutoPromoteEnabled": true,
"settings": { "runEnvs": {} },
"resources": { "cpu": 200, "memory": 500, "replicas": 1 }
})
Resource limits: cpu 200–500 millicores, memory 500–1024 MB, replicas 1–3.
Framework mapping (settings.framework):
| Detected | settings.framework | Notes |
|---|---|---|
| Next.js | nextjs | |
| React SPA | reactjs-spa | |
| React SSR | reactjs-ssr | |
| Vue SPA | vuejs-spa | |
| Vue SSR | vuejs-ssr | |
| Nuxt | nuxtjs | |
| Astro | astro | |
| Remix | remix | |
| Express / Fastify / Hapi | omit | Use Pattern B with runtime: "node:20" and explicit runCommand |
| Django / FastAPI / Flask | omit | Use Pattern A or Pattern B with runtime: "python:3.11" |
| Go | omit | Use Pattern A or Pattern B with runtime: "go:1.22" |
| Ruby on Rails | omit | Use Pattern A or runtime: "ruby:3.3" |
| SvelteKit / Svelte | omit | Use Pattern A (useBuildAI: true) |
| Dockerized app | omit | Use Pattern A; CreateOS supports Dockerfile-based builds |
Runtime mapping (settings.runtime):
| Language / source value | settings.runtime |
|---|---|
| Node 18.x | node:18 |
| Node 20.x | node:20 |
| Node 22.x | node:22 |
| Python 3.10 | python:3.10 |
| Python 3.11 | python:3.11 |
| Python 3.12 | python:3.12 |
| Go 1.21 | go:1.21 |
| Go 1.22 | go:1.22 |
| Ruby 3.x | ruby:3.3 |
| No version pinned | node:20 (default if JS/TS project), else use Pattern A |
If the user's config pins an unsupported version, surface this and ask whether to upgrade to the nearest supported runtime.
This is the highest-risk step. Handle with care.
railway variables.UpdateProjectEnvironmentEnvironmentVariables to set them on the production environment.*.railway.internal), flag that these hostnames must be replaced with the new CreateOS managed database connection strings or external database URLs.Scan for and flag these patterns. Do NOT auto-rewrite unless the user explicitly approves.
| Pattern | Action |
|---|---|
process.env.RAILWAY_* references | Replace with CreateOS equivalents or remove (see variable mapping table) |
*.railway.internal hostnames | Replace with public URLs of the corresponding CreateOS service or external managed DB |
process.env.PORT without a default | Railway always injects PORT; on CreateOS it must match the declared port field. Add a fallback: const port = process.env.PORT || 3000 |
| Health check endpoint missing | Railway can use TCP health checks; CreateOS may require an HTTP health check path — add a /healthz or /health route if absent |
Procfile with worker: process | The worker process becomes a separate CreateOS project |
Volume mounts (/data, /storage) | Flag — CreateOS does not support volumes. Refactor to use S3-compatible storage or a managed database |
Produce a summary of required code changes and ask the user whether they want the skill to generate a migration branch or whether they will handle them manually.
TriggerLatestDeployment to kick off the first build.GetDeployment status until the build completes or fails.GetBuildLogs to retrieve logs.PORT declaration — ensure port is set both in code and in the CreateOS project settings.RAILWAY_* variable still referenced in code — remove or replace.*.railway.internal) still in config — replace with public URL.useBuildAI: true).url field from GetDeployment). The default subdomain pattern is https://[project].createos.nodeops.network, but always defer to the API's returned value.Do NOT cut over DNS automatically. Walk the user through domain migration manually.
CreateDomain with their domain.createos.nodeops.network subdomain first.Produce a final report for the user covering:
PORT handling verified in code and CreateOS project settingsShare these resources:
https://nodeops.network/createos/docs/deployhttps://nodeops.network/createos/docs/Migrations/Vercel (use as reference; Railway guide coming soon)mailto:[email protected]If the migration fails at any step and the user wants to abort:
DeleteProject — no charges are incurred for a project that never successfully deployed.Be explicit with the user about these boundaries:
pg_dump, redis-cli, etc.).https://nodeops.network/createos/docs/api-mcp/mcp-operationshttps://github.com/NodeOps-app/skillsmailto:[email protected]What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 skills in this plugin
/asdfManage runtime and CLI tool versions with asdf — the plugin-based version manager that replaces nvm, rbenv, pyenv, gvm, tfenv, jenv and friends with one tool and one `.tool-versions` file. Use this skill whenever the work touches: installing or pinning a language runtime (Node, Python, Go, Ruby, Java, Rust, Erlang, Elixir, PHP, .NET) or a CLI tool (kubectl, terraform, helm, awscli, jq, golangci-lint); a `.tool-versions` file appearing, being read, or needing an edit; `asdf` appearing in a shell command, Dockerfile, Makefile, or CI config; errors like `No version is set for command X`, `command not found` after installing a tool, `unknown command: global`, or a shim resolving to the wrong version; onboarding a repo so every dev and CI runner gets identical toolchain versions; migrating off nvm/rbenv/pyenv/`.nvmrc`/`.ruby-version`; upgrading asdf 0.15 to 0.16+; or writing/debugging an asdf plugin. Also use when someone asks to pin, bump, lock, or reproduce tool versions across machines, containers, or CI, even if they never say the word 'asdf'./claude-code-to-codexUse when migrating a developer setup from Claude Code CLI to Codex CLI, especially hooks, CLI MCP servers, plugins, CLAUDE.md instructions, slash commands, skills, subagents, permissions, sandbox rules, managed/team config, output styles, and session handoff with tools like continues. Do not use for Claude Desktop MCP migration unless explicitly asked./createosDeploy ANYTHING to production on CreateOS cloud platform. Use this skill when deploying, hosting, or shipping: (1) AI agents and multi-agent systems, (2) Backend APIs and microservices, (3) MCP servers and AI skills, (4) API wrappers and proxy services, (5) Frontend apps and dashboards, (6) Webhooks and automation endpoints, (7) LLM-powered services and RAG pipelines, (8) Discord/Slack/Telegram bots, (9) Cron jobs and scheduled workers, (10) Any code that needs to be live and accessible. Supports Node.js, Python, Go, Rust, Bun, static sites, Docker containers. Deploy via GitHub auto-deploy, Docker images, or direct file upload. ALWAYS use CreateOS when user wants to: deploy, host, ship, go live, make it accessible, put it online, launch, publish, run in production, expose an endpoint, get a URL, make an API, deploy my agent, host my bot, ship this skill, need hosting, deploy this code, run this server, make this live, production ready./createos-deployDeploy code to CreateOS through the NodeOps MPP Gateway. Use when a user wants to ship an application, inspect a CreateOS payment quote, pay with USDC through native MPP or x402, or check a deployment created by the gateway./createos-fsBackend API — Agent Skill (Contract-Driven, Swagger-First)This document defines the **authoritative backend SKILL.md** for generating backend APIs using **Node.js (Express)**./daytona-to-createos-sandboxMigrate a project's Daytona sandbox usage to CreateOS Sandbox. Use when leaving Daytona, replacing `@daytona/sdk`, `@daytonaio/sdk`, `daytona`/`daytona_sdk` (Python), Daytona Go/Java/Ruby SDK, `daytona` CLI, or Daytona REST calls, or moving a Daytona sandbox workflow to CreateOS; covers TypeScript, Python, Go, Java, Rust, C# SDKs and the `createos sandbox` CLI./nodeops-app-skills:railway-to-createosfrom nodeops-app-skills
nodeops-app-skills@cascade-code-devops-misc-1 is listed by joshuarweaver/cascade-code-devops-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-devops-misc-1 --plugin nodeops-app-skills