deploy-railway-production

deploy-railway-production is a command for Claude Code from LarouexNonprofitConsulting/larouex-fullstack-plugin. It costs 0 tokens per session (266 once invoked), scanned A, original, MIT.

A guarded deployment workflow for sending a project to Railway production. It requires a review and approval, runs tests and staging checks, validates settings and monitoring, creates a database backup, and then deploys and migrates the application.

In plain words
What is it for?
Use it to validate and deploy a Railway project to production, including environment selection, health checks, logs, database backup, and migrations.
Why use it?
It reduces the risk of releasing unresolved security, performance, accessibility, configuration, or database problems. The review gate and backup provide checks before the production change.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the larouex-fullstack-builder plugin — 80 commands shipped together

Good fit Use it to validate and deploy a Railway project to production, including environment selection, health checks, logs, database backup, and migrations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production
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.

Clone the repo
git clone --depth 1 https://github.com/LarouexNonprofitConsulting/larouex-fullstack-plugin

Made for: Claude Code.

Or install larouex-fullstack-builder, the plugin that ships this one along with the rest of its 80 commands.

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 deploy-railway-production

README.md
[![agentmods](https://agentmods.dev/badge/commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production/github.svg)](https://agentmods.dev/commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production)
Your own site
<a href="https://agentmods.dev/commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production"><img src="https://agentmods.dev/badge/commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production/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 deploy-railway-production

Your own site · 80×15
<a href="https://agentmods.dev/commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production"><img src="https://agentmods.dev/badge/commands/larouexnonprofitconsulting/larouex-fullstack-plugin/deploy-railway-production.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 266 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.00000 $0.00266
Opus 5 $0.00000 $0.00133
Sonnet 5 $0.00000 $0.00053
Haiku 4.5 $0.00000 $0.00027

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

Security

Grade A, and why

deploy-railway-production 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/deploy-railway-production.md · 25 lines

What it actually says

Deploy to Railway production environment with mandatory review gate and validation.

MANDATORY PRE-DEPLOYMENT REVIEW GATE:

  • Execute /review-before-deploy command FIRST
  • Review must show NO Critical or High severity issues
  • Require explicit manual confirmation: "I have reviewed the findings and approve deployment to production"
  • STOP DEPLOYMENT if review is not completed or issues are unresolved

WARNING: Deploying to production without completing the review gate bypasses critical safety checks for security vulnerabilities, performance issues, accessibility compliance, and configuration errors. This may result in production incidents, data exposure, or service degradation.

Execute production deployment pipeline ONLY after review approval:

  • Run full test suite (unit, integration, e2e) and verify all pass
  • Check staging deployment status and health
  • Switch to production environment (railway environment production)
  • Validate environment variables for production
  • Validate monitoring and logging is configured (Railway logs, health endpoints)
  • Create database backup before deployment
  • Deploy services to production using Railway CLI
  • Run database migrations on production database
  • Monitor Railway logs for errors (5-minute window)
  • Verify production endpoints and health checks
  • Provide rollback instructions with previous deployment ID

Include pre-deployment checklist, post-deployment verification, and Railway dashboard monitoring links. Stop deployment if any validation fails.

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. 6d ago First seen · 25 lines · 0 tokens per session scan A d77baee7670e

Subscribe to this mod's changes

deploy-railway-production is a command published in the GitHub repository LarouexNonprofitConsulting/larouex-fullstack-plugin (8 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 266 tokens. 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-09-03.

Related

Other commands, from other repositories

migrate-railway-to-azure

Migrate this Railway-hosted project to Azure Static Web Apps. Convert Express API routes to Azure Functions with HTTP triggers. Migrate PostgreSQL database to Azure Table Storage or Azure SQL Database. Create staticwebapp.config.json for routing and configuration. Set up GitHub Actions workflow for Azure deployment.…

Ashikparvez89/larouex-fullstack-plugin · 0 tokens

deploy-azure-production

Deploy to Azure production with mandatory review gate and comprehensive validation.

Ashikparvez89/larouex-fullstack-plugin · 0 tokens

deploy-railway-production

Deploy to Railway production environment with mandatory review gate and validation.

Ashikparvez89/larouex-fullstack-plugin · 0 tokens

review-before-deploy

Execute comprehensive pre-deployment review using code-review-agent with all relevant platform agents. Run complete deployment readiness checklist: verify all tests pass (unit, integration, E2E), security audit clean (no Critical/High issues), performance benchmarks met (Lighthouse > 90), TypeScript compilation…

Ashikparvez89/larouex-fullstack-plugin · 0 tokens

add-api-azure

Create a new Azure Function HTTP endpoint with full integration.

Ashikparvez89/larouex-fullstack-plugin · 0 tokens

add-cron-azure

Create scheduled background jobs using Azure Functions timer triggers. Implement timer-triggered function with NCRONTAB expression for scheduling. Add comprehensive logging for job execution with Application Insights. Handle execution failures with error notifications. Implement idempotency to prevent duplicate…

Ashikparvez89/larouex-fullstack-plugin · 0 tokens