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.
List, switch, and configure Railway projects.
The railway list --json output can be very large. Run in a subagent and return only essential fields:
id, nameid, namename (optional, if user needs service context)railway list --json
Extract and return a simplified summary, not the full JSON.
railway whoami --json
Returns user info including all workspaces the user belongs to.
Link a different project to the current directory:
railway link -p <project-id-or-name>
Or interactively:
railway link
After switching, use railway-status skill to see project details.
Modify project settings via GraphQL API.
railway status --json
Extract project.id from the response.
bash <<'SCRIPT'
${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
'mutation updateProject($id: String!, $input: ProjectUpdateInput!) {
projectUpdate(id: $id, input: $input) { name prDeploys isPublic botPrEnvironments }
}' \
'{"id": "PROJECT_ID", "input": {"name": "new-name"}}'
SCRIPT
| Field | Type | Description |
|-------|------|-------------|
| name | String | Project name |
| description | String | Project description |
| isPublic | Boolean | Make project public/private |
| prDeploys | Boolean | Enable/disable PR deploys |
| botPrEnvironments | Boolean | Enable Dependabot/Renovate PR environments |
Rename project:
${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"name": "new-name"}}'
Enable PR deploys:
${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"prDeploys": true}}'
Make project public:
${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"isPublic": true}}'
Multiple fields:
${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"name": "new-name", "prDeploys": true}}'
Not authenticated. Run `railway login` first.
No projects found. Create one with `railway init`.
You don't have permission to modify this project. Check your Railway role.
Project "foo" not found. Run `railway list` to see available projects.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer
Tags:Railway, Projects, Workspace, Management, Settings, Infrastructure