This handles Railway CLI operations without making you remember commands or bounce between terminal and dashboard. It checks project status, tails logs with smart filtering, deploys and verifies the endpoint actually responds, and manages environment variables while redacting sensitive values when displaying them. The auto-recovery is nice because it detects when you're not linked to a project and walks through fixing it instead of just erroring out. Shows deployment history, runs health checks against your live domain, and asks for confirmation before destructive operations like deleting env vars. If you're running apps on Railway and tired of context switching to check if something deployed or why logs are screaming, this keeps you in your editor.

skills.sh installs
151
GitHub stars
30
last updated
Aug 21, 2026

Install

$ npx -y skills add mshumer/claude-skill-railway --skill railway --agent claude-code

Installs into .claude/skills of the current project.

Files

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>

Command Routing

Based on $ARGUMENTS, execute the appropriate workflow:

"status" (default when no args)

railway status
railway domain
railway deployment list --limit 1

Report: project info, URL, and last deployment status/time.

"logs" [options]

Parse natural language options:

  • "errors" → --filter "@level:error"
  • "last hour" / "1h" → --since 1h
  • "build" → --build
  • Number like "100" → --lines 100

Default: railway logs --lines 30

Summarize output - highlight errors, warnings, or interesting patterns.

Sponsors

Details

Repository
github.com/mshumer/claude-skill-railway
Category
Cloud & Infrastructure
First seen
Jun 3, 2026
1bobmatnyc avatarnetlify-deployment-platformbobmatnyc/claude-mpm-skillsNetlify JAMstack deployment platform with serverless functions, forms, and identity150skills.sh installs
2google avatarcloud-sql-basicsgoogle/skillsThis file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL S15.7Kskills.sh installs
3github avatarazure-resource-health-diagnosegithub/awesome-copilotAnalyze Azure resource health, diagnose issues from logs and telemetry, and create a remediation plan for identified problems.8.7Kskills.sh installs
4giuseppe-trisciuoglio avataraws-sdk-java-v2-rdsgiuseppe-trisciuoglio/developer-kitProvides AWS RDS (Relational Database Service) management patterns using AWS SDK for Java 2.x. Use when creating, modifying, monitoring, or managing Amazon RDS 3.8Kskills.sh installs
5github avatarcloud-design-patternsgithub/awesome-copilotCloud design patterns for distributed systems architecture covering 42 industry-standard patterns across reliability, performance, messaging, security, and depl2.3Kskills.sh installs
6sickn33 avatarvercel-deploymentsickn33/antigravity-awesome-skillsvercel deployment1.5Kskills.sh installs