Railway Templates
Deploy pre-configured services instantly from Railway's marketplace
✨ The solution you've been looking for
Search and deploy services from Railway's template marketplace. Use when user wants to add a service from a template, find templates for a specific use case, or deploy tools like Ghost, Strapi, n8n, Minio, Uptime Kuma, etc. For databases (Postgres, Redis, MySQL, MongoDB), prefer the railway-database skill.
See It In Action
Interactive preview & real-world examples
AI Conversation Simulator
See how users interact with this skill
User Prompt
I need to add Ghost CMS to my project
Skill Processing
Analyzing request...
Agent Response
Ghost CMS template deployed with pre-configured database and environment setup
Quick Start (3 Steps)
Get up and running in minutes
Install
claude-code skill install railway-templates
claude-code skill install railway-templatesConfig
First Trigger
@railway-templates helpCommands
| Command | Description | Required Args |
|---|---|---|
| @railway-templates deploy-a-cms-for-your-project | Quickly add a content management system like Ghost or Strapi to your Railway project | None |
| @railway-templates add-infrastructure-services | Deploy monitoring, storage, or automation tools from the marketplace | None |
| @railway-templates browse-available-templates | Discover what pre-built services are available for your use case | None |
Typical Use Cases
Deploy a CMS for your project
Quickly add a content management system like Ghost or Strapi to your Railway project
Add infrastructure services
Deploy monitoring, storage, or automation tools from the marketplace
Browse available templates
Discover what pre-built services are available for your use case
Overview
Railway Templates
Search and deploy services from Railway’s template marketplace.
When to Use
- User asks to “add Postgres”, “add Redis”, “add a database”
- User asks to “add Ghost”, “add Strapi”, “add n8n”, or any other service
- User wants to find templates for a use case (e.g., “CMS”, “storage”, “monitoring”)
- User asks “what templates are available?”
- User wants to deploy a pre-configured service
Common Template Codes
| Category | Template | Code |
|---|---|---|
| Databases | PostgreSQL | postgres |
| Redis | redis | |
| MySQL | mysql | |
| MongoDB | mongodb | |
| CMS | Ghost | ghost |
| Strapi | strapi | |
| Storage | Minio | minio |
| Automation | n8n | n8n |
| Monitoring | Uptime Kuma | uptime-kuma |
For other templates, use the search query below.
Prerequisites
Get project context:
1railway status --json
Extract:
id- project IDenvironments.edges[0].node.id- environment ID
Get workspace ID:
1bash <<'SCRIPT'
2${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
3 'query getWorkspace($projectId: String!) {
4 project(id: $projectId) { workspaceId }
5 }' \
6 '{"projectId": "PROJECT_ID"}'
7SCRIPT
Search Templates
List available templates with optional filters:
1bash <<'SCRIPT'
2${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
3 'query templates($first: Int, $verified: Boolean) {
4 templates(first: $first, verified: $verified) {
5 edges {
6 node {
7 name
8 code
9 description
10 category
11 }
12 }
13 }
14 }' \
15 '{"first": 20, "verified": true}'
16SCRIPT
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | Number of results (max ~100) |
verified | Boolean | Only verified templates |
recommended | Boolean | Only recommended templates |
Rate Limit
10 requests per minute. Don’t spam searches.
Get Template Details
Fetch a specific template by code:
1bash <<'SCRIPT'
2${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
3 'query template($code: String!) {
4 template(code: $code) {
5 id
6 name
7 description
8 serializedConfig
9 }
10 }' \
11 '{"code": "postgres"}'
12SCRIPT
Returns:
id- template ID (needed for deployment)serializedConfig- service configuration (needed for deployment)
Deploy Template
Step 1: Fetch Template
1bash <<'SCRIPT'
2${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
3 'query template($code: String!) {
4 template(code: $code) {
5 id
6 serializedConfig
7 }
8 }' \
9 '{"code": "postgres"}'
10SCRIPT
Step 2: Deploy to Project
1bash <<'SCRIPT'
2${CLAUDE_PLUGIN_ROOT}/skills/lib/railway-api.sh \
3 'mutation deployTemplate($input: TemplateDeployV2Input!) {
4 templateDeployV2(input: $input) {
5 projectId
6 workflowId
7 }
8 }' \
9 '{
10 "input": {
11 "templateId": "TEMPLATE_ID_FROM_STEP_1",
12 "serializedConfig": SERIALIZED_CONFIG_FROM_STEP_1,
13 "projectId": "PROJECT_ID",
14 "environmentId": "ENVIRONMENT_ID",
15 "workspaceId": "WORKSPACE_ID"
16 }
17 }'
18SCRIPT
Important: serializedConfig is the exact JSON object from the template query, not a string.
Composability
- Connect services: Use railway-environment skill to add variable references
- View deployed service: Use railway-service skill
- Check logs: Use railway-deployment skill
- Add domains: Use railway-domain skill
What Users Are Saying
Real feedback from the community
Environment Matrix
Dependencies
Framework Support
Context Window
Security & Privacy
Information
- Author
- davila7
- Updated
- 2026-01-30
- Category
- productivity-tools
Related Skills
Railway Templates
Search and deploy services from Railway's template marketplace. Use when user wants to add a service …
View Details →Railway Database
Add official Railway database services (Postgres, Redis, MySQL, MongoDB). Use when user wants to add …
View Details →Railway Database
Add official Railway database services (Postgres, Redis, MySQL, MongoDB). Use when user wants to add …
View Details →