Agent skill · software engineering · davila7

railway-domain

Add, view, or remove domains for Railway services. Use when user wants to add a domain, generate a railway domain, check current domains, get the URL for a service, or remove a domain.

Why this skill is useful

Adds specific commands and workflows for managing domains in Railway that the AI wouldn't reliably generate on its own.

What it needs

Requires railway-cli installed locally. About 2k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

Railway Domain Management Add, view, or remove domains for Railway services. When to Use User asks to "add a domain", "generate a domain", "get a URL" User wants to add a custom domain User asks "what's the URL for my service" User wants to remove a domain Add Railway Domain Generate a railway-provided domain (max 1 per service): For a specific service: Response Returns the generated domain URL. Service must have a deployment. Add Custom Domain Response Returns required DNS records: Tell user to add these records to their DNS provider. Read Current Domains Use railway-environment skill to see configured domains, or query directly: Domains are in config.services.<serviceId>.networking: serviceDomains - Railway-provided domains customDomains - User-provided domains Remove Domain Use railway-environment skill to remove domains: Remove custom domain Remove railway domain Then use railway-environment skill to apply and commit the change. CLI Options Flag Description ------ ------------- [DOMAIN] Custom domain to add (omit for railway domain) -p, --port <PORT> Port to connect -s, --service <NAME> Target service (defaults to linked) --json JSON output Composability Read domains: Use railway-environment skill Remove domains: Use railway-environment skill Apply removal: Use railway-environment skill Check service: Use railway-service skill Error Handling No Service Linked Domain Already Exists No Deployment Invalid Domain

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/domain

View the source on GitHub

Browse the @skills marketplace