railway

railway is a skill for Claude Code, Codex from mnlt/teleport. It costs 78 tokens per session (1,710 once invoked), scanned B, original, MIT.

An integration for managing Railway projects, services, deployments, environments, variables, and logs through Railway's GraphQL API. Railway is a service for deploying and running applications.

In plain words
What is it for?
Listing services, checking deployment status, reading deployment logs, changing environment variables, and triggering redeployments.
Why use it?
It makes deployment checks and service changes scriptable instead of requiring repeated dashboard or command-line work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Listing services, checking deployment status, reading deployment logs, changing environment variables, and triggering redeployments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnlt/teleport/railway
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 mnlt/teleport --skill railway
Clone the repo
git clone --depth 1 https://github.com/mnlt/teleport

Made for: Claude Code, Codex.

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/mnlt/teleport/railway.svg)](https://agentmods.dev/skills/mnlt/teleport/railway)
Your own site
<a href="https://agentmods.dev/skills/mnlt/teleport/railway"><img src="https://agentmods.dev/badge/skills/mnlt/teleport/railway.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,710 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00078 $0.01710
Opus 5 $0.00039 $0.00855
Sonnet 5 $0.00016 $0.00342
Haiku 4.5 $0.00008 $0.00171

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

Security

Grade B, and why

railway scanned grade B with 2 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Do NOT suggest editing `~/.claude/settings.local.json` manually.** The `teleport-setup add-key` command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restar

Makes network callslowCapability

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

curl -sL -X POST $H "$URL" \
skills/railway/SKILL.md · 109 lines

How it starts

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

Railway

Operates Railway via its public GraphQL API. Covers projects, environments, services, deployments, variables, logs. Prefer over railway CLI for typed, filterable reads pipeable through jq.

Usage

  • Use for: Listing projects/services/deploy status, tailing deployment logs, upserting env vars, triggering redeploys from scripts.
  • Skip for: New-account setup, billing/plan changes, first-time GitHub OAuth, short interactive sessions where railway CLI is faster.

Credentials check

[ -n "$RAILWAY_TOKEN" ] && echo "RAILWAY_TOKEN: PRESENT" || echo "RAILWAY_TOKEN: MISSING"

Never echo the variable directly.

If MISSING, respond to the user with EXACTLY this message (do NOT paraphrase, do NOT suggest manual JSON edits):

I need your railway credential. Run this in another terminal — it'll open the signup page, validate format, and save it safely with masked input:

teleport-setup add-key railway

Then restart Claude Code (/exit, then claude) and ask me again.

Do NOT suggest editing ~/.claude/settings.local.json manually. The teleport-setup add-key command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restarted.

API

  • Endpoint: https://backboard.railway.com/graphql/v2 — single endpoint, POST only, Content-Type: application/json.
  • Auth: Authorization: Bearer $RAILWAY_TOKEN (account/workspace/OAuth tokens).
  • Token flavors: account/workspace/OAuth use Authorization: Bearer; project tokens use Project-Access-Token: <TOKEN> (NOT Bearer) and see only one project+env. This skill assumes $RAILWAY_TOKEN is an account token.
  • Rate limits: 100/1000/10000 RPH (Free/Hobby/Pro), 10/50 RPS (Hobby/Pro). Inspect X-RateLimit-Remaining, Retry-After.
  • GraphQL envelope: { "data":{...}, "errors":[...] }. HTTP 200 even on failure — always check .errors. Variables go in top-level variables, not interpolated. Relay-style { edges:[{node}], pageInfo } on lists.
  • Introspection enabled; GraphiQL at https://railway.com/graphiql.

Read the full file on GitHub · 109 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. 8d ago First seen · 109 lines · 78 tokens per session scan B ebd5127721de

Subscribe to this mod's changes

railway is a skill published in the GitHub repository mnlt/teleport (8 stars, last pushed 4mo ago), licensed MIT. It adds 78 tokens to every session and 1,710 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.