Skip to main content
skill

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.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill railway/domain
Open on GitHub

What 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 backend and return the result as JSON.
  • Add example.com to 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/domain

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill domain -a claude-code

3Manually: put the files in place

~/.claude/skills/domain/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/domain/

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.

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor