templates — Claude Code skill: what it does, how to install
Discovers Railway marketplace templates and deploys pre-configured services. Useful when adding apps like Ghost, Strapi, or n8n to your project.
npx claude-code-templates@latest --skill railway/templatesWhat templates does
This skill queries Railway's template catalog using GraphQL API calls and the local CLI. It searches entries by category, such as CMS or monitoring, and retrieves configuration payloads for codes like ghost or uptime-kuma.
Execution requires a configured railway-cli binary. The helper script inspects project and environment identifiers using railway status --json before dispatching a templateDeployV2 mutation. Without an active project context in the CLI, deployments fail immediately.
Search calls are capped at 10 requests per minute. For standard databases like Postgres or Redis, Railway advises using the dedicated railway-database skill instead, even though raw template deployments remain functional.
What it helps with
- deploy apps like n8n or Strapi into Railway
- search verified templates for monitoring or storage
- fetch serialized service configurations by template code
- launch Minio without writing deployment configs manually
Example prompts for the agent
- Search Railway marketplace for verified monitoring templates
- Deploy the n8n template into my current Railway environment
- Get configuration details for the ghost template
How to install templates
1claude-code-templates
npx claude-code-templates@latest --skill railway/templates2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill templates -a claude-code3Manually: put the files in place
~/.claude/skills/templates/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/templates/
Manually: put the files in place
.agents/skills/templates/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/templates/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates templates2Manually: put the files in place
.github/skills/templates/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/railway/templatesManually: put the files in place
.devin/skills/templates/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about templates
How to install templates in Claude Code?
Run npx claude-code-templates@latest --skill railway/templates. Alternatively, install it with npx skills add davila7/claude-code-templates --skill templates -a claude-code.
What does the templates skill do?
It queries the Railway marketplace for application blueprints and triggers automated deployments directly into your linked environment.
Are there API limits when searching templates?
Yes, catalog queries are limited to 10 requests per minute. Requests can be filtered by verified or recommended status and return up to 100 items.