deployment
π―Skillfrom railwayapp/railway-skills
Manages Railway deployments by enabling listing, viewing logs, redeploying, and removing specific deployments.
Installation
npx skills add https://github.com/railwayapp/railway-skills --skill deploymentSkill Details
Overview
# Railway Skills
Agent skills for [Railway](https://railway.com), following the [Agent Skills](https://agentskills.io) open format.
Installation
```bash
curl -fsSL railway.com/skills.sh | bash
```
You can also install via [skills.sh](https://skills.sh)
```bash
npx skills add railwayapp/railway-skills
```
This will allow you to pick and choose which skills to install.
Supports Claude Code, OpenAI Codex, OpenCode, and Cursor. Re-run to update.
Manual Installation
```bash
claude plugin marketplace add railwayapp/railway-skills
claude plugin install railway@railway-skills
```
Update with:
```bash
claude plugin marketplace update
claude plugin update railway@railway-skills
```
Copy plugins/railway/skills/ to your agent's skills directory:
- Claude:
~/.claude/skills/ - Codex:
~/.codex/skills/ - OpenCode:
~/.config/opencode/skill/ - Cursor:
~/.cursor/skills/
Available Skills
| Skill | Description |
|-------|-------------|
| [status](plugins/railway/skills/status/SKILL.md) | Check Railway project status |
| [projects](plugins/railway/skills/projects/SKILL.md) | List, switch, and configure projects |
| [new](plugins/railway/skills/new/SKILL.md) | Create projects, services, databases |
| [service](plugins/railway/skills/service/SKILL.md) | Manage existing services |
| [deploy](plugins/railway/skills/deploy/SKILL.md) | Deploy local code |
| [domain](plugins/railway/skills/domain/SKILL.md) | Manage service domains |
| [environment](plugins/railway/skills/environment/SKILL.md) | Manage config (vars, commands, replicas) |
| [deployment](plugins/railway/skills/deployment/SKILL.md) | Manage deployments (list, logs, redeploy, remove) |
| [database](plugins/railway/skills/database/SKILL.md) | Add Railway databases |
| [templates](plugins/railway/skills/templates/SKILL.md) | Deploy from marketplace |
| [metrics](plugins/railway/skills/metrics/SKILL.md) | Query resource usage |
| [railway-docs](plugins/railway/skills/railway-docs/SKILL.md) | Fetch up-to-date Railway documentation |
Hooks
This plugin includes a PreToolUse hook that auto-approves railway-api.sh calls to avoid permission prompts on every GraphQL API request.
Repository Structure
```
railway-skills/
βββ plugins/railway/
β βββ .claude-plugin/
β β βββ plugin.json
β βββ hooks/
β βββ skills/
β βββ _shared/ # Canonical shared files
β β βββ scripts/
β β βββ references/
β βββ {skill-name}/
β βββ SKILL.md
β βββ scripts/ # Copied from _shared
β βββ references/ # Copied from _shared
βββ scripts/
β βββ install.sh # Universal installer
β βββ sync-shared.sh # Sync shared files
βββ README.md
```
Creating New Skills
Create plugins/railway/skills/{name}/SKILL.md:
```yaml
---
name: my-skill
description: What this skill does and when to use it
---
# Instructions
Step-by-step guidance for the agent.
Examples
Concrete examples showing expected input/output.
```
Development
Shared Files
Scripts (railway-api.sh) and references (variables.md, etc.) are shared across skills.
Canonical versions live in plugins/railway/skills/_shared/.
After editing files in _shared/, run:
```bash
./scripts/sync-shared.sh
```
This copies shared files to each skill. Do not edit copies in individual skills directly.
References
- [Agent Skills Specification](https://agentskills.io/specification)
- [Railway Docs](https://docs.railway.com)
License
MIT
More from this repository10
Fetches and provides up-to-date Railway documentation directly within the Claude Code interface for quick reference and guidance.
Adds and manages databases to Railway projects, allowing users to quickly provision and configure different types of database services.
Lists, switches between, and configures Railway projects within the Claude Code environment.
Checks the current status of a Railway project, including deployment health, service states, and potential issues.
Creates new Railway projects, services, and databases through an interactive command-line interface.
Queries and retrieves resource usage metrics for Railway projects and services, providing insights into computational and network performance.
Deploys local code directly to a Railway project, enabling quick and easy application deployment from the command line or AI interface.
Manages and interacts with existing Railway services, allowing users to view, modify, and perform operations on deployed services within a Railway project.
Manages Railway project configuration by allowing users to set, list, modify environment variables, commands, and service replicas.
Manages and configures custom domains for Railway services, allowing users to add, remove, and configure domain mappings for their deployed applications.