memstack-deployment-railway-deploy

memstack-deployment-railway-deploy is a skill for Claude Code, Codex from cwinvestments/memstack. It costs 75 tokens per session (2,085 once invoked), scanned A, original, MIT.

A Railway deployment checklist prepares a Node.js, Python, or Docker application for hosting on Railway, a platform for running applications online. It checks project settings, environment variables, and deployment readiness.

In plain words
What is it for?
Use it when deploying a backend or full-stack application to Railway, including environment variables, custom domains, and monitoring setup.
Why use it?
It helps catch configuration problems before deployment, such as missing environment variables, local-only file paths, or setup that does not work for a monorepo—a repository containing multiple related projects.

Skill for Claude CodeCodex

Part of the memstack plugin — 53 skills, 2 commands, 5 hooks shipped together

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.

agentmods
npx agentmods add skills/cwinvestments/memstack/railway-deploy
Any agent
npx skills add cwinvestments/memstack --skill railway-deploy
Clone the repo
git clone --depth 1 https://github.com/cwinvestments/memstack

Made for: Claude Code, Codex.

Or install memstack, the plugin that ships this one along with the rest of its 53 skills, 2 commands, 5 hooks.

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 memstack-deployment-railway-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/cwinvestments/memstack/railway-deploy.svg)](https://agentmods.dev/skills/cwinvestments/memstack/railway-deploy)
Your own site
<a href="https://agentmods.dev/skills/cwinvestments/memstack/railway-deploy"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/railway-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,085 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00075 $0.02085
Opus 5 $0.00037 $0.01043
Sonnet 5 $0.00015 $0.00417
Haiku 4.5 $0.00007 $0.00209

Measured today against content hash 933ddd721ad5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memstack-deployment-railway-deploy 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 today.

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.

1. **Health check:** `curl https://[app].up.railway.app/health`
skills/deployment/railway-deploy/SKILL.md · 217 lines

How it starts

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

🚂 Railway Deploy: Pre-flight check and deploy to Railway...

Validates project configuration, environment variables, and deployment readiness before pushing to Railway.

Activation

When this skill activates, output:

🚂 Railway Deploy: Running pre-flight checks...

Then execute the protocol below.

Context Status
User says "deploy to railway" or "railway deploy" ACTIVE
User says "ship it" or "deploy backend" with a Railway project ACTIVE
Preparing a backend/fullstack app for production ACTIVE
Deploying to Netlify, Vercel, or other non-Railway platform DORMANT
Discussing Railway pricing or features generally DORMANT

Anti-patterns

Trap Reality Check
"I'll just railway up and see what happens" Pre-flight catches 90% of deploy failures. Check first.
"Environment vars are probably fine" Missing vars are the #1 cause of Railway deploy failures. Verify every one.
"It works locally so it'll work on Railway" localhost URLs, SQLite paths, and file:// references all break in production.
"I'll fix the Dockerfile later" Railway's nixpacks auto-detect fails on monorepos and custom setups. Define build explicitly.
"The database connection works" Railway internal networking uses *.railway.internal hostnames. External URLs add latency and cost.

Protocol

Step 1: Detect Project Type

Identify the project framework and runtime:

# Check for framework indicators
ls package.json pyproject.toml requirements.txt Cargo.toml go.mod 2>/dev/null
Indicator Project Type
package.json with next Next.js
package.json with express/fastify/hono Node.js API
pyproject.toml or requirements.txt Python (Django/Flask/FastAPI)
Cargo.toml Rust
go.mod Go

Report: Detected: [type] project

Step 2: Check Deployment Files

Verify Railway can build the project:

# Check for explicit build configuration
ls Dockerfile Procfile nixpacks.toml railway.toml 2>/dev/null

Read the full file on GitHub · 217 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. today Changed 933ddd721ad5
  2. 4d ago First seen · 217 lines · 75 tokens per session scan A 7b341fb4f36c

Subscribe to this mod's changes

memstack-deployment-railway-deploy is a skill published in the GitHub repository cwinvestments/memstack (419 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 2,085 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

plan-ceo-review

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Four modes: SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pick expansions), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when…

GCWing/BitFun · 143 tokens

ship

Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, and create a PR. Use for an explicit /ship invocation or when the user requests the full ship, release, or deploy workflow. For an ordinary commit, push, or pull-request publishing request, use the built-in…

GCWing/BitFun · 88 tokens

design-review

Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issues in source code, committing each fix atomically and re-verifying with before/after screenshots. For plan-mode design review (before implementation), use…

GCWing/BitFun · 125 tokens

plan-eng-review

Eng manager-mode plan review. Lock in the execution plan — architecture, data flow, diagrams, edge cases, test coverage, performance. Walks through issues interactively with opinionated recommendations. Use when asked to "review the architecture", "engineering review", or "lock in the plan". Proactively suggest when…

GCWing/BitFun · 116 tokens

autoplan

Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. Surfaces taste decisions (close approaches, borderline scope, codex disagreements) at a final approval gate. One command, fully reviewed plan out. Use when…

GCWing/BitFun · 152 tokens

retro

Weekly engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with persistent history and trend tracking. Team-aware: breaks down per-person contributions with praise and growth areas. Use when asked to "weekly retro", "what did we ship", or "engineering retrospective". Proactively…

GCWing/BitFun · 76 tokens