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 railway-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:
railway status --json
First verify CLI is installed:
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.).
1---2name: railway-status3description: Check current Railway project status for this directory. Use when user asks "railway status", "is it running", "what's deployed", "deployment status", or about uptime. NOT for variables or configuration queries - use railway-environment skill for those.4license: MIT5allowed-tools: Bash(railway:*), Bash(which:*), Bash(command:*)6metadata:7 source: https://skillmd.com/skills/hackernoon/railway-status8 version: 1.0.09 author: Railway10 tags: [Railway, Status, Project, Environment, Deployment, Infrastructure]11 dependencies: [railway-cli]12---1314# Railway Status1516Check the current Railway project status for this directory.1718## When to Use1920- User asks about Railway status, project, services, or deployments21- User mentions deploying or pushing to Railway22- Before any Railway operation (deploy, update service, add variables)23- User asks about environments or domains2425## When NOT to Use2627Use the railway-environment skill instead when user wants:28- Detailed service configuration (builder type, dockerfile path, build command, root directory)29- Deploy config (start command, restart policy, healthchecks, predeploy command)30- Service source (repo, branch, image)31- Compare service configs32- Query or change environment variables3334## Check Status3536Run:37```bash38railway status --json39```4041First verify CLI is installed:42```bash43command -v railway44```4546## Handling Errors4748### CLI Not Installed49If `command -v railway` fails:5051> Railway CLI is not installed. Install with:52> ```53> npm install -g @railway/cli54> ```55> or56> ```57> brew install railway58> ```59> Then authenticate: `railway login`6061### Not Authenticated62If `railway whoami` fails:6364> Not logged in to Railway. Run:65> ```66> railway login67> ```6869### No Project Linked70If status returns "No linked project":7172> No Railway project linked to this directory.73>74> To link an existing project: `railway link`75> To create a new project: `railway init`7677## Presenting Status7879Parse the JSON and present:80- **Project**: name and workspace81- **Environment**: current environment (production, staging, etc.)82- **Services**: list with deployment status83- **Active Deployments**: any in-progress deployments (from `activeDeployments` field)84- **Domains**: any configured domains8586Example output format:87```88Project: my-app (workspace: my-team)89Environment: production9091Services:92- web: deployed (https://my-app.up.railway.app)93- api: deploying (build in progress)94- postgres: running95```9697The `activeDeployments` array on each service shows currently running deployments98with their status (building, deploying, etc.).