railway-skillDeploy and manage applications on Railway.app. Use for deploying projects, managing services, viewing logs, setting environment variables, and managing databases. Railway is a modern cloud platform for deploying apps with zero configuration.
Install via ClawdBot CLI:
clawdbot install leicao-me/railway-skillDeploy and manage applications on Railway.app - a modern cloud platform with zero-config deployments.
# Login (opens browser)
railway login
# Login with token (CI/CD)
railway login --token <TOKEN>
# Check login status
railway whoami
# Logout
railway logout
# Link current directory to existing project
railway link
# Link to specific project
railway link --project <PROJECT_ID>
# Create new project
railway init
# Unlink project
railway unlink
# List all projects
railway list
# Open project in browser
railway open
# Show project status
railway status
# Deploy current directory
railway up
# Deploy without watching logs
railway up --detach
# Deploy specific service
railway up --service <SERVICE_NAME>
# Deploy to specific environment
railway up --environment production
# Redeploy latest version
railway redeploy
# Redeploy specific service
railway redeploy --service <SERVICE_NAME>
# Deploy a template
railway deploy --template <TEMPLATE_NAME>
# With variables
railway deploy --template postgres --variable POSTGRES_USER=myuser
# List services in project
railway service
# Create new service
railway service create
# Delete service
railway service delete <SERVICE_NAME>
# List all variables
railway variables
# Set variable
railway variables set KEY=value
# Set multiple variables
railway variables set KEY1=value1 KEY2=value2
# Delete variable
railway variables delete KEY
# View specific variable
railway variables get KEY
# View logs (live)
railway logs
# View logs for specific service
railway logs --service <SERVICE_NAME>
# View recent logs (not live)
railway logs --no-follow
# View logs with timestamps
railway logs --timestamps
# Run command with Railway env vars
railway run <command>
# Examples
railway run npm start
railway run python manage.py migrate
railway run prisma db push
# SSH into running service
railway ssh
# SSH into specific service
railway ssh --service <SERVICE_NAME>
# List domains
railway domain
# Add custom domain
railway domain add <DOMAIN>
# Remove domain
railway domain delete <DOMAIN>
Railway supports one-click database provisioning:
# Add PostgreSQL
railway add --plugin postgresql
# Add MySQL
railway add --plugin mysql
# Add Redis
railway add --plugin redis
# Add MongoDB
railway add --plugin mongodb
Database connection strings are automatically added to environment variables.
# List environments
railway environment
# Switch environment
railway environment <ENV_NAME>
# Create environment
railway environment create <ENV_NAME>
# Delete environment
railway environment delete <ENV_NAME>
# List volumes
railway volume
# Create volume
railway volume create --mount /data
# Delete volume
railway volume delete <VOLUME_ID>
# 1. Initialize in your project directory
cd my-app
railway init
# 2. Add a database if needed
railway add --plugin postgresql
# 3. Set environment variables
railway variables set NODE_ENV=production
# 4. Deploy
railway up
# Run local command with production env vars
railway run psql $DATABASE_URL
# Or use SSH
railway ssh
# Then inside container:
psql $DATABASE_URL
# Check status
railway status
# View logs
railway logs
# Open dashboard
railway open
# View deployments in dashboard
railway open
# Redeploy previous version (via dashboard)
# Or redeploy current code
railway redeploy
For GitHub Actions or other CI:
# .github/workflows/deploy.yml
name: Deploy to Railway
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Railway CLI
run: npm i -g @railway/cli
- name: Deploy
run: railway up --detach
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
Generated Mar 1, 2026
A tech startup quickly deploys a minimum viable product (MVP) for a web application on Railway to validate market fit. They use zero-configuration deployment to launch a Node.js backend and PostgreSQL database, enabling rapid iteration and scaling as user demand grows.
An e-commerce business deploys and manages their online store built with a framework like Next.js on Railway. They utilize environment variables for API keys, monitor logs for transaction issues, and use custom domains to maintain brand consistency during peak shopping seasons.
An educational institution hosts interactive learning tools, such as a Python-based data analysis app, on Railway for student access. They deploy multiple services for different courses, set up secure environment variables for sensitive data, and use logs to track usage and troubleshoot technical problems.
A non-profit organization deploys a campaign website with a static site generator on Railway to raise awareness and donations. They leverage simple deployment workflows, add a MySQL database for donor management, and use the CLI to update content and monitor performance without dedicated IT staff.
A freelance developer uses Railway to host their personal portfolio and deploy client projects, such as small business websites or APIs. They manage multiple projects with different environments, set custom domains for each client, and use CI/CD integration for automated updates from GitHub repositories.
A software-as-a-service company offers a web application with tiered subscription plans, deploying it on Railway for reliable hosting. They use environment variables for API keys and database connections, scale services based on user load, and generate revenue from monthly or annual fees paid by customers.
A digital agency provides deployment and management services for clients using Railway, handling projects like e-commerce sites or custom apps. They charge clients for setup, maintenance, and support, leveraging Railway's CLI for efficient project linking, deployment, and log monitoring to ensure uptime.
A media company runs a content platform, such as a blog or video site, on Railway with dynamic content served from a database. They deploy using templates, manage domains for branding, and monetize through advertising revenue, using logs to optimize performance and handle traffic spikes.
💬 Integration Tip
Integrate Railway with GitHub Actions for automated deployments by setting the RAILWAY_TOKEN as a secret in your repository, allowing seamless CI/CD workflows on every push to main branches.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.