domain · davila7 — Claude Code skill: Railway domains and installation
This skill creates Railway-provided domains or adds custom ones to Railway services. Use it to get a service URL or retrieve DNS records for a custom domain.
npx claude-code-templates@latest --skill railway/domainWhat domain does
The skill uses the Railway CLI to create a Railway-provided domain or add a custom domain. Pass --service to target a named service; --json returns the result as JSON. When adding a custom domain, the CLI returns DNS records for you to add at your DNS provider.
You need railway-cli and a selected service. A Railway-provided domain requires a deployment, and each service can have only one. The railway-environment skill handles viewing and removing domains, then applies removal changes.
What it helps with
- create a Railway domain for a service
- add a custom domain and retrieve its DNS records
- get the URL returned for a service domain
- remove a domain through
railway-environment
Example prompts for the agent
- Create a Railway domain for
backendand return the result as JSON. - Add
example.comto the selected service and show the DNS records to configure. - Find the URL assigned to the service after creating its domain.
How to install domain
1claude-code-templates
npx claude-code-templates@latest --skill railway/domain2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill domain -a claude-code3Manually: put the files in place
~/.claude/skills/domain/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/domain/
Manually: put the files in place
.agents/skills/domain/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/domain/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates domain2Manually: put the files in place
.github/skills/domain/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/railway/domainManually: put the files in place
.devin/skills/domain/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 domain
How do I install domain in Claude Code?
Run npx claude-code-templates@latest --skill railway/domain.
What does the domain skill do?
It uses the Railway CLI to create Railway-provided domains and add custom domains. For a custom domain, it returns the DNS records to configure.
What is required to create a Railway domain?
You need railway-cli and a service with a deployment. Each service can have one Railway-provided domain.
Similar skills
All skills for DevOps and infrastructure →domain by other authors comes first.