
Status
Check what is linked, deployed, and healthy on Railway before you change env vars, redeploy, or debug production.
Install
npx skills add https://github.com/railwayapp/railway-skills --skill statusWhat is this skill?
- Runs `railway status --json` as the single source of truth for project, services, and deployments
- Explicit HARD split: use `environment` skill for variables, builder, healthchecks, and deploy config—not this skill
- Preflight pattern: verify CLI with `command -v railway` and auth with `railway whoami` before other Railway work
- Covers install paths (`npm i -g @railway/cli` or `brew install railway`) and `railway login` recovery flows
- Triggers on “railway status”, “is it running”, “what’s deployed”, and uptime-style questions
Adoption & trust: 1.5k installs on skills.sh; 274 GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Azure Deploymicrosoft/azure-skills
Azure Preparemicrosoft/azure-skills
Azure Storagemicrosoft/azure-skills
Azure Validatemicrosoft/azure-skills
Appinsights Instrumentationmicrosoft/azure-skills
Azure Resource Lookupmicrosoft/azure-skills
Journey fit
Primary fit
Canonical shelf is Operate because the skill answers “what’s running now?”—deployment and project posture—not deep env configuration. Monitoring fits live status, services, environments, and domains via `railway status --json` rather than config edits.
Common Questions / FAQ
Is Status safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Status
# Railway Status Check the current Railway project status for this directory. ## When to Use - User asks about Railway status, project, services, or deployments - User mentions deploying or pushing to Railway - Before any Railway operation (deploy, update service, add variables) - User asks about environments or domains ## When NOT to Use Use the `environment` skill instead when user wants: - Detailed service configuration (builder type, dockerfile path, build command, root directory) - Deploy config (start command, restart policy, healthchecks, predeploy command) - Service source (repo, branch, image) - Compare service configs - Query or change environment variables ## Check Status Run: ```bash railway status --json ``` First verify CLI is installed: ```bash command -v railway ``` ## Handling Errors ### CLI Not Installed If `command -v railway` fails: > Railway CLI is not installed. Install with: > ``` > npm install -g @railway/cli > ``` > or > ``` > brew install railway > ``` > Then authenticate: `railway login` ### Not Authenticated If `railway whoami` fails: > Not logged in to Railway. Run: > ``` > railway login > ``` ### No Project Linked If status returns "No linked project": > No Railway project linked to this directory. > > To link an existing project: `railway link` > To create a new project: `railway init` ## Presenting Status Parse the JSON and present: - **Project**: name and workspace - **Environment**: current environment (production, staging, etc.) - **Services**: list with deployment status - **Active Deployments**: any in-progress deployments (from `activeDeployments` field) - **Domains**: any configured domains Example output format: ``` Project: my-app (workspace: my-team) Environment: production Services: - web: deployed (https://my-app.up.railway.app) - api: deploying (build in progress) - postgres: running ``` The `activeDeployments` array on each service shows currently running deployments with their status (building, deploying, etc.). # Environment Config Reference The `EnvironmentConfig` object is used to configure services, volumes, and shared variables in Railway. ## Structure ```json { "services": { "<serviceId>": { "source": { ... }, "build": { ... }, "deploy": { ... }, "variables": { ... }, "networking": { ... } } }, "sharedVariables": { ... }, "volumes": { ... }, "buckets": { ... } } ``` Only include fields being changed. The patch is merged with existing config. Apply changes via CLI: `echo '<json>' | railway environment edit --json` ## Service Config ### Source | Field | Type | Description | |-------|------|-------------| | `image` | string | Docker image (e.g., `nginx:latest`) | | `repo` | string | Git repository URL | | `branch` | string | Git branch to deploy | | `commitSha` | string | Specific commit SHA | | `rootDirectory` | string | Root directory (monorepos) | | `checkSuites` | boolean | Wait for GitHub check suites | | `autoUpdates.type` | disabled \| patch \| minor | Auto-update policy for Docker images | ### Build | Field | Type | Description | |-------|------|-------------| | `builder` | NIXPACKS \| DOCKERFILE \| RAILPACK | Build system | | `buildCommand` | string | Command for Nixpacks builds | | `dockerfilePath` | string | Path to Dockerfile | | `watchPatterns` | string[] | Patterns to trigger deploys | | `nixpacksConfigPath` | string | Path to nixpacks config | ### Deploy | Field | Type | Description | |-------|------|-------------| | `startCommand` | string | Container start command | | `multiRegionConfig` | object | Region → replica config. See [Mu