
Railway
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-codeInstalls 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:
- If "command not found": Run
npm install -g @railway/cli - If "Not logged in": Tell user to run
railway loginmanually (requires browser) - If "NOT_LINKED" or "No project linked":
- Run
railway listto show available projects - Ask user which project to link, or auto-detect from package.json name
- Link with
railway link -p <project-id>
- Run
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