railway

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Railway CLI Skill

Manage Railway deployments and infrastructure using the Railway CLI.

Pre-flight Check

Current status: !railway status 2>&1 || echo "NOT_LINKED"

Auto-Recovery

Before running any command, check the pre-flight status above:

  1. If "command not found": Run npm install -g @railway/cli
  2. If "Not logged in": Tell user to run railway login manually (requires browser)
  3. If "NOT_LINKED" or "No project linked":
    • Run railway list to show available projects
    • Ask user which project to link, or auto-detect from package.json name
    • Link with railway link -p <project-id>
Installs
124
GitHub Stars
25
First Seen
Jan 22, 2026