railway

railway is a skill for Claude Code from onsager-ai/dev-skills. It costs 283 tokens per session (5,689 once invoked), scanned A, original, MIT.

A command-line assistant for managing applications hosted on Railway, a cloud platform for running apps.

In plain words
What is it for?
It helps deploy code, investigate failed builds or crashes, inspect requests and metrics, change environment variables, restart or roll back services, run commands, and connect to containers.
Why use it?
It brings deployment, logs, settings, metrics, and container access into one workflow, so you do not have to switch between separate tools.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is railway run --service api --environment production -- node scripts/migrate.js.

Good fit It helps deploy code, investigate failed builds or crashes, inspect requests and metrics, change environment variables, restart or roll back services, run commands, and connect to containers.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/onsager-ai/dev-skills
agentmods
npx agentmods add skills/onsager-ai/dev-skills/railway

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for railway

README.md
[![agentmods](https://agentmods.dev/badge/skills/onsager-ai/dev-skills/railway/github.svg)](https://agentmods.dev/skills/onsager-ai/dev-skills/railway)
Your own site
<a href="https://agentmods.dev/skills/onsager-ai/dev-skills/railway"><img src="https://agentmods.dev/badge/skills/onsager-ai/dev-skills/railway/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for railway

Your own site · 80×15
<a href="https://agentmods.dev/skills/onsager-ai/dev-skills/railway"><img src="https://agentmods.dev/badge/skills/onsager-ai/dev-skills/railway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 283 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00283 $0.05689
Opus 5.5 $0.00113 $0.02276
Sonnet 5.5 $0.00057 $0.01138
Haiku 4.5 $0.00028 $0.00569

Measured 29d ago against content hash 16d7512d4e9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

railway scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/debug.sh, scripts/preflight.sh, scripts/smoke.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(railway:*), Bash(npm install -g @railway/cli:*), Bash(which railway), Bash(jq:*), Bash(sh *), Bash(bash *), Bash(curl *), Bash(agent-browser:*), Bash(npx agent-browser:*), Bash(just *), Read, Write, E
skills/railway/SKILL.md · 401 lines

How it starts

The opening of the file, as written. The whole thing — 401 lines — stays where its author put it; the contents beside it link to each section on GitHub.

railway

Use the smallest available Railway operation needed for the task. Read the repository's AGENTS.md and deployment policy before selecting a deployment route. A GitHub-driven pipeline takes precedence over the generic CLI examples below. This skill supplies tool mechanics, not authority to bypass that pipeline.

Deployment route and authorization

  • For repository code changes, prepare the branch/PR and use the declared CI/CD trigger. On a GitHub-driven service, observe the matching commit deployment; do not upload a checkout, change source branches/pins or manually apply platform patches merely to trigger redeployment.
  • A manual restart, redeploy or source/configuration change needs an operational reason within the user's authorized scope, such as recovery from a diagnosed failed rollout. Record the reason, exact environment/service and expected effect.
  • Reuse existing authorization for that action and scope. Request a decision only for unresolved intent, destructive impact or additional scope. Read-only diagnosis, reversible code fixes and PR preparation do not require another confirmation.
  • Testing evidence is reported separately from runtime capability and authorization. Do not require a new qualification report or checklist as permission to test.

When this skill triggers

Phrases that should route here:

  • Deploy / build
    • "deploy this to railway"
    • "push to railway", "ship to railway", "railway up"
    • "build is failing on railway", "why did my build fail"
  • Logs / debugging
    • "show me the railway logs", "tail the logs", "railway logs --since 1h"
    • "why is my service crashing on railway"
    • "show me the 500s on railway", "show http logs", "show slow requests"
    • "find the request id abc123 in railway logs"
  • Ops
    • "redeploy on railway", "restart the api service", "roll back the last deploy"
    • "scale my railway service", "remove the latest deployment"
  • State / discovery
    • "list my railway projects", "what services are in this project", "list deployments"
    • "what's the status of my railway project", "is my service healthy"
  • Variables
    • "set a railway env var FOO=bar", "list railway variables", "delete a railway var"
  • Run / connect
    • "run this script with railway production env", "open a shell with railway env"
    • "ssh into my railway service", "connect to my railway postgres / redis / mongo"
  • Metrics
    • "what's the cpu/memory on railway", "is my service hitting limits"
    • "p95 latency on railway", "request rate on /api"

Read the full file on GitHub · 401 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed · +20 lines 16d7512d4e9b
  2. 1mo ago Changed · +30 lines · -6 tokens per session 7bc634312d9b
  3. 1mo ago Changed · +4 lines 85e683a9b87b
  4. 2mo ago First seen · 347 lines · 289 tokens per session scan A 85ffb1592b3f

Subscribe to this mod's changes

railway is a skill published in the GitHub repository onsager-ai/dev-skills (7 stars, last pushed yesterday), licensed MIT. It adds 283 tokens to every session and 5,689 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

railway compared with skills from other repositories

railway next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
railwayonsager-ai/dev-skillsSkill7yesterdayMITA283Claude Code
gke-compute-classesgoogle/skillsSkill23ktodayApache-2.0A83Claude Code, Codex
gke-reliabilitygoogle/skillsSkill23ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill23ktodayApache-2.0A171Claude Code, Codex
cloud-architectJeffallan/claude-skillsSkill12k8d agoMITA71Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code