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.
git clone --depth 1 https://github.com/echoVic/boss-skillnpx agentmods add skills/echovic/boss-skill/deploy-railwayWrote 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.
[](https://agentmods.dev/skills/echovic/boss-skill/deploy-railway)<a href="https://agentmods.dev/skills/echovic/boss-skill/deploy-railway"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/deploy-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.
<a href="https://agentmods.dev/skills/echovic/boss-skill/deploy-railway"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/deploy-railway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01728 |
| Opus 5.5 | $0.00020 | $0.00691 |
| Sonnet 5.5 | $0.00010 | $0.00346 |
| Haiku 4.5 | $0.00005 | $0.00173 |
Grade A, and why
devops/deploy-railway 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Railway 部署
适用场景
- 后端 API 服务:Node.js、Python、Go、Java、Ruby、PHP、Rust
- 全栈应用:后端 + 托管数据库
- Docker 化应用:通过 Dockerfile 部署
- 需要托管数据库:PostgreSQL、MySQL、Redis、MongoDB
- 多服务项目:一个 project 下管理多个服务 + 数据库
前置条件
- 安装 Railway CLI:
npm i -g @railway/cli - 登录 Railway:
railway login(需要用户交互完成授权) - 验证登录:
railway whoami
部署流程
1. 初始化 Railway 项目
# 在项目根目录初始化(交互式,选择创建新项目或链接已有项目)
railway init
2. 自动构建检测
Railway 使用 Nixpacks 自动检测项目类型并构建,无需手动配置:
| 项目类型 | 检测依据 | 构建命令 | 启动命令 |
|---|---|---|---|
| Node.js | package.json |
npm install + npm run build |
npm start |
| Python | requirements.txt / pyproject.toml |
pip install -r requirements.txt |
python main.py 或 gunicorn |
| Go | go.mod |
go build |
编译产物 |
| Java | pom.xml / build.gradle |
mvn package |
java -jar target/*.jar |
| Ruby | Gemfile |
bundle install |
rails s 或 ruby app.rb |
| Docker | Dockerfile |
Docker build | Docker CMD |
3. 配置启动命令(如自动检测失败)
创建 railway.json 或 railway.toml:
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "node dist/server.js",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}
[build]
builder = "NIXPACKS"
[deploy]
startCommand = "python main.py"
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10
4. 部署
# 部署到 Railway
railway up
# 部署并指定环境
railway up --environment production
# 查看部署日志
railway logs
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.
- 2d ago First seen · 252 lines · 49 tokens per session scan A acf1a31deab5
devops/deploy-railway is a skill published in the GitHub repository echoVic/boss-skill (544 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 1,728 once invoked, about $0.0002 per session on Opus 5.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-10-28.
Other skills, from other repositories
headless-step-provision-wordpress
Provision a headless WordPress backend for the Hostinger Headless flow: create the headless website with WordPress at /cms, verify and self-heal, then record it in site.json.
headless-step-provision-webapp
Provision a plain Node.js app host for the Hostinger Headless flow: create an empty website (no WordPress, no store engine, no /cms), optionally a MySQL database, then record it in site.json. For any webapp / SPA / app that brings its own code and data.
edge-computing
Cloudflare Workers, Deno Deploy, Vercel Edge Functions, edge patterns (geo-routing, caching). Use when implementing edge compute, CDN logic, or global low-latency APIs.
api-gateway
API Gateway patterns (Kong, Traefik, AWS API Gateway) — rate limiting, auth, routing, versioning. Use when implementing API gateway, reverse proxy, or API management.
cometchat-self-host
Run CometChat on your own infrastructure — when to self-host, the deployment models (Docker Swarm, Kubernetes, air-gapped), sizing & prerequisites, and how to point your app at the self-hosted instance. CometChat's enterprise differentiator: full data sovereignty. Triggers: 'self-host cometchat', 'on-prem cometchat'…
laravel-reverb
Use when configuring Laravel Reverb — the first-party WebSocket server with Pusher protocol compatibility, horizontal scaling, and Pulse monitoring.