railway-ops

railway-ops is a skill for Claude Code from osouthgate/agent-plus-skills. It costs 98 tokens per session (4,754 once invoked), scanned A, original, MIT.

A read-first command-line tool for viewing the state of a Railway project, including services, deployments, recent errors, warnings, and environment-variable names. Railway is a platform for running and deploying applications.

In plain words
What is it for?
Use it to inspect a linked Railway environment, check what is running, review deployment status and errors, and list which environment variables exist.
Why use it?
It gathers the main incident details in one JSON overview instead of requiring separate checks for each service. It does not reveal environment-variable values.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the railway-ops plugin — 1 skill shipped together

Good fit Use it to inspect a linked Railway environment, check what is running, review deployment status and errors, and list which environment variables exist.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/osouthgate/agent-plus-skills/railway-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add osouthgate/agent-plus-skills --skill railway-ops
Clone the repo
git clone --depth 1 https://github.com/osouthgate/agent-plus-skills

Made for: Claude Code.

Or install railway-ops, the plugin that ships this one along with the rest of its 1 skill.

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-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/osouthgate/agent-plus-skills/railway-ops/github.svg)](https://agentmods.dev/skills/osouthgate/agent-plus-skills/railway-ops)
Your own site
<a href="https://agentmods.dev/skills/osouthgate/agent-plus-skills/railway-ops"><img src="https://agentmods.dev/badge/skills/osouthgate/agent-plus-skills/railway-ops/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-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/osouthgate/agent-plus-skills/railway-ops"><img src="https://agentmods.dev/badge/skills/osouthgate/agent-plus-skills/railway-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00098 $0.04754
Opus 5 $0.00049 $0.02377
Sonnet 5 $0.00020 $0.00951
Haiku 4.5 $0.00010 $0.00475

Measured 10d ago against content hash 979addb0c6e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

railway-ops scanned grade A with 0 findings 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 10d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

railway-ops/skills/railway-ops/SKILL.md · 269 lines

How it starts

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

railway-ops

Project-scoped CLI that wraps the Railway CLI into a read-first, JSON-output overview tool. Stdlib-only Python 3. Designed for incident triage — one call returns the full project/services/errors/envs picture so you don't burn context chaining per-service railway invocations.

Lives at ${CLAUDE_SKILL_DIR}/../../bin/railway-ops; the plugin auto-adds bin/ to PATH, so just run railway-ops ....

Prerequisites

  • railway CLI installed and on PATH (railway --version must succeed).
  • Authenticatedrailway login must have run (railway whoami must return a user).
  • Project linkedrailway link must have been run in this repo (or pass --env <name> explicitly).
  • Optional: RAILWAY_API_TOKEN (or RAILWAY_TOKEN) env var — unlocks deploy history via Railway's GraphQL API, giving you activeDeploy (currently serving) separately from latestDeploy (most recent attempt), plus commit SHA, PR number, branch, and timestamps on each. Without a token the skill still works — it just falls back to a single CLI-sourced deploy with only id/status.

The skill bails with a clear message if any of these preconditions are missing.

When to reach for this

  • User asks "what's happening in prod" — run overview --env production --pretty and you get services, deploy status, recent errors, and env var names in one shot.
  • User asks "why is broken" — run errors <service> --env production --pretty for focused error/warning triage.
  • User asks "what env vars does have" — run envs <service> to get NAMES only. Values never touch stdout.
  • User says "show me Railway" / "Railway status" — run status to get the project/env/whoami context.

When NOT to use this — fall back to railway directly

This wrapper is read-only by design. Write actions are deliberately unwrapped and rejected (up, deploy, redeploy, restart, down, delete, init, link, unlink, add, scale). If the user wants to DO something (change state), you should skip railway-ops entirely and use the raw railway CLI — it's already authed on their machine.

Read the full file on GitHub · 269 lines

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. 10d ago First seen · 269 lines · 98 tokens per session scan A 979addb0c6e0

Subscribe to this mod's changes

railway-ops is a skill published in the GitHub repository osouthgate/agent-plus-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 98 tokens to every session and 4,754 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

coolify

Operate a Coolify self-hosted PaaS through the @masonator/coolify-mcp server. Use this skill whenever the user asks Claude to inspect, deploy, restart, debug, or manage anything on Coolify — including applications, databases, services, servers, projects, environments, deployments, environment variables, private keys…

StuMason/coolify-mcp · 156 tokens

cloud-administration

Administers the cloud the company runs on rather than the one it sells — tenant and subscription structure, the SaaS estate and who owns each app, identity as the real perimeter, cloud spend that arrives as a surprise, and what the provider does not do for you. Use this to structure subscriptions or tenants, get…

cbrock84/headcount · 100 tokens

telephony-and-conferencing

Runs voice and meeting infrastructure — phone systems and numbers, emergency calling obligations, conference rooms and their AV, call recording and its retention consequences, and the porting that makes provider changes go badly. Use this to replace a phone system, fix rooms nobody can start a meeting in, meet…

cbrock84/headcount · 85 tokens

virtualization-operations

Runs the hypervisor layer beneath the servers — host capacity and consolidation ratios, VM sprawl, snapshot discipline, resilience and live migration, and licensing that counts cores rather than instances. Use this to size or expand a cluster, work out why VMs are slow when the hosts look idle, clean up sprawl, set…

cbrock84/headcount · 86 tokens

network-administration

Designs and operates the corporate network — segmentation, remote access, wireless, DNS and addressing, and diagnosing network problems. Use this to segment a network, set up or fix remote access, diagnose intermittent connectivity, plan addressing or DNS, or assess whether the network's trust assumptions still hold.

cbrock84/headcount · 62 tokens

business-continuity-and-resilience

Plans for operating through disruption — impact analysis, recovery objectives, continuity plans, and the exercises that prove they work. Use this to run a business impact analysis, set RTO and RPO, write or test a continuity plan, prepare for a supplier or site failure, or answer a customer's resilience questionnaire.

cbrock84/headcount · 69 tokens