railway-deploy
Skill0 starsChanged 4 months agoMITView on GitHub
Deploy Node.js services to Railway with auto-deploy from GitHub. Set in Railway dashboard or CLI: Access in code: Railway auto-deploys on every push to the connected branch (usually main). To deploy manually: View in dashboard or:
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- jholhewres/devclaw-skillstheir own version, first seen Oct 9, 2026
- utxo-AG/claude-skillstheir own version, first seen Feb 10, 2026
- paolomoz/skillstheir own version, first seen Feb 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- jholhewres/devclaw-skills★ 4same name
- paolomoz/skills★ 4same name
- utxo-AG/claude-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- vercel-composition-patterns/AGENTS.mdAGENTS.md
- senior-frontendSkill
- vercel-composition-patternsSkill
- bento-designSkill
- fanned-cardsSkill
- flip-cardSkill
- floating-quotesSkill
- githubSkill
- glassmorphism-uiSkill
- gmail-proxySkill
- googleSkill
- hippocampusSkill
- html-pdf-exportSkill
- iframe-previewSkill
- infinite-canvasSkill
- matrix-textSkill
- nextjs-apiSkill
- nextjs-expertSkill
- pinterestSkill
- remotion-videoSkill
- scramble-textSkill
- scroll-video-heroSkill
- senior-frontendSkill
- SEOSkill
- ship-websiteSkill
- sound-engineSkill
- stripe-best-practicesSkill
- tilt-cardSkill
- tube-summarySkill
- upload-postSkill
- vercel-composition-patternsSkill
- vercel-deploySkill
- vercel-react-best-practicesSkill
- vertical-fanned-cardsSkill
- video-contentSkill
- war-roomSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 77
Update DNS with provided CNAME
- Distinctive: line 104
Use environment variables: - never commit secrets
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Railway Deploy Skill
Deploy Node.js services to Railway with auto-deploy from GitHub.
When to Use
- Always-on backend services
- APIs and proxies
- Cron jobs and workers
- Anything that needs to run 24/7
Quick Deploy
1. Create railway.toml
[build]
builder = "nixpacks"
[deploy]
startCommand = "node index.js"
healthcheckPath = "/"
healthcheckTimeout = 100
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 32. Set Up package.json
{
"name": "my-service",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"dependencies": {
"express": "^4.18.0"
}
}3. Add Health Check
app.get('/', (req, res) => {
res.json({ status: 'ok', version: '1.0.0' });
});4. Connect GitHub
- Go to railway.app
- New Project → Deploy from GitHub
- Select repo
- Railway auto-detects Node.js and deploys
Environment Variables
Set in Railway dashboard or CLI:
railway variables set API_KEY=xxx
railway variables set DATABASE_URL=xxxAccess in code:
const API_KEY = process.env.API_KEY;Custom Domain
- Go to Settings → Domains
- Add custom domain
- Update DNS with provided CNAME
Auto-Deploy
Railway auto-deploys on every push to the connected branch (usually main).
To deploy manually:
railway upLogs
View in dashboard or:
railway logsPricing
- $5/month gives 500 hours + $5 usage
- Hobby tier is usually enough for small services
- Pay for what you use (CPU/RAM/bandwidth)
Best Practices
- Always add health check - Railway uses it for deployments
- Use environment variables - never commit secrets
- Add error handling - unhandled errors = crash = restart
- Log important events - helps with debugging
- Set restart policy - auto-recover from crashes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

