projects

railwayapp/railway-skills · updated Apr 8, 2026

$npx skills add https://github.com/railwayapp/railway-skills --skill projects
0 commentsdiscussion
summary

List, switch, and configure Railway projects with CLI commands and GraphQL mutations.

  • List all projects and workspaces, or switch between projects using railway link and project IDs
  • Rename projects, enable/disable PR deploys, toggle public/private visibility, and configure bot PR environments via GraphQL mutations
  • Extract project IDs from railway status --json to use in update operations
  • Composable with status , new , and environment skills for viewing details, creating projects,
skill.md

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)
railway list --json

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

List Workspaces

railway whoami --json

Returns user info including all workspaces the user belongs to.

Switch Project

Link a different project to the current directory:

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

Or interactively:

railway link

After switching, use status skill to see project details.

Update Project

Modify project settings via GraphQL API.

Get Project ID

railway status --json

Extract project.id from the response.

Update Mutation

bash <<'SCRIPT'
scripts/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

ProjectUpdateInput Fields

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

Examples

Rename project:

scripts/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"name": "new-name"}}'

Enable PR deploys:

scripts/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"prDeploys": true}}'

Make project public:

scripts/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"isPublic": true}}'

Multiple fields:

scripts/railway-api.sh '<mutation>' '{"id": "uuid", "input": {"name": "new-name", "prDeploys": true}}'

Composability

  • View project details: Use status skill
  • Create new project: Use new skill
  • Manage environments: Use 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.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.851 reviews
  • Noor Dixit· Dec 24, 2024

    We added projects from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Carlos Abebe· Dec 16, 2024

    projects has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ren Wang· Dec 16, 2024

    projects reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Sakura Farah· Dec 8, 2024

    Keeps context tight: projects is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Rahul Santra· Nov 19, 2024

    projects is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Sophia Brown· Nov 15, 2024

    projects is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Hassan Perez· Nov 15, 2024

    Solid pick for teams standardizing on skills: projects is focused, and the summary matches what you get after install.

  • Omar Martinez· Nov 7, 2024

    projects fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Ren Agarwal· Nov 7, 2024

    I recommend projects for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Yuki Chawla· Oct 26, 2024

    We added projects from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 51

1 / 6