Railway Projects

Manage Railway projects, workspaces, and settings from the command line

✨ The solution you've been looking for

Verified
Tested and verified by our team
16036 Stars

List, switch, and configure Railway projects. Use when user wants to list all projects, switch projects, rename a project, enable/disable PR deploys, make a project public/private, or modify project settings.

railway cloud devops project-management cli infrastructure deployment workspace
Repository

See It In Action

Interactive preview & real-world examples

Live Demo
Skill Demo Animation

AI Conversation Simulator

See how users interact with this skill

User Prompt

Show me all my Railway projects and workspaces

Skill Processing

Analyzing request...

Agent Response

Simplified list of projects with names, IDs, and workspace information

Quick Start (3 Steps)

Get up and running in minutes

1

Install

claude-code skill install railway-projects

claude-code skill install railway-projects
2

Config

3

First Trigger

@railway-projects help

Commands

CommandDescriptionRequired Args
@railway-projects project-discoveryView all projects and workspaces to understand your Railway infrastructureNone
@railway-projects project-switchingSwitch between different Railway projects for deployment managementNone
@railway-projects project-configurationUpdate project settings like visibility, PR deploys, and namingNone

Typical Use Cases

Project Discovery

View all projects and workspaces to understand your Railway infrastructure

Project Switching

Switch between different Railway projects for deployment management

Project Configuration

Update project settings like visibility, PR deploys, and naming

Overview

Railway Project Management

List, switch, and configure Railway projects.

When to Use

  • User asks “show me all my projects” or “what projects do I have”
  • User asks about projects across workspaces
  • User asks “what workspaces do I have”
  • User wants to switch to a different project
  • User asks to rename a project
  • User wants to enable/disable PR deploys
  • User wants to make a project public or private
  • User asks about project settings

List Projects

The railway list --json output can be very large. Run in a subagent and return only essential fields:

  • Project: id, name
  • Workspace: id, name
  • Services: name (optional, if user needs service context)
1railway list --json

Extract and return a simplified summary, not the full JSON.

List Workspaces

1railway whoami --json

Returns user info including all workspaces the user belongs to.

Switch Project

Link a different project to the current directory:

1railway link -p <project-id-or-name>

Or interactively:

1railway link

After switching, use railway-status skill to see project details.

Update Project

Modify project settings via GraphQL API.

Get Project ID

1railway status --json

Extract project.id from the response.

Update Mutation

1bash <<'SCRIPT'
2${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
3  'mutation updateProject($id: String!, $input: ProjectUpdateInput!) {
4    projectUpdate(id: $id, input: $input) { name prDeploys isPublic botPrEnvironments }
5  }' \
6  '{"id": "PROJECT_ID", "input": {"name": "new-name"}}'
7SCRIPT

ProjectUpdateInput Fields

FieldTypeDescription
nameStringProject name
descriptionStringProject description
isPublicBooleanMake project public/private
prDeploysBooleanEnable/disable PR deploys
botPrEnvironmentsBooleanEnable Dependabot/Renovate PR environments

Examples

Rename project:

1${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"name": "new-name"}}'

Enable PR deploys:

1${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"prDeploys": true}}'

Make project public:

1${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"isPublic": true}}'

Multiple fields:

1${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"name": "new-name", "prDeploys": true}}'

Composability

  • View project details: Use railway-status skill
  • Create new project: Use railway-new skill
  • Manage environments: Use railway-environment skill

Error Handling

Not Authenticated

Not authenticated. Run `railway login` first.

No Projects

No projects found. Create one with `railway init`.

Permission Denied

You don't have permission to modify this project. Check your Railway role.

Project Not Found

Project "foo" not found. Run `railway list` to see available projects.

What Users Are Saying

Real feedback from the community

Environment Matrix

Dependencies

Railway CLI (railway command)

Context Window

Token Usage ~1K-3K tokens for typical project operations

Security & Privacy

Information

Author
davila7
Updated
2026-01-30
Category
productivity-tools