domain

Automate Railway domain provisioning and management via CLI and GraphQL queries.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/heinschulie/babylon --skill domain-heinschulie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain
Source: https://github.com/heinschulie/babylon/tree/main/.agents/skills/domain
Command: npx skills add https://github.com/heinschulie/babylon --skill domain-heinschulie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps teams provision, view, and manage domains for Railway services, including both Railway-provided and custom domains, across environments.

Core Features & Use Cases

  • Add Railway Domain: generate a railway-provided domain for a service (one domain per service) via the railway domain command, and optionally target a specific service.
  • Add Custom Domain: return DNS records and guidance to configure a custom domain for a linked service.
  • Read Current Domains: inspect a service's domain configuration including serviceDomains and customDomains via environment queries.
  • Remove Domain: remove a railway or custom domain by updating the service environment configuration.
  • Get Service URL: retrieve the deployed service URL when a domain is configured.

Quick Start

Add a railway domain for a service using the railway domain --json command and then apply the change with environment edits.

Frequently Asked Questions about domain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a custom domain to a Railway service?

This skill returns the required DNS records and configuration guidance to add a custom domain to a Railway service. You then update the environment configuration via GraphQL queries to link the custom domain to your deployed service.

What is the best way to manage Railway domains across multiple environments?

Managing Railway domains across multiple environments involves inspecting serviceDomains and customDomains via environment queries. This skill automates reading and updating these domain configurations across all your deployed environments.

Can I retrieve a Railway service URL without manually checking deployments?

You can retrieve the deployed Railway service URL without manual deployment checks. This skill queries your environment configuration to return the service URL once a railway or custom domain is successfully configured and deployed.

How do I remove a configured domain from a Railway service?

Removing a configured domain from a Railway service requires updating the service environment configuration. This skill targets and deletes the specific serviceDomain or customDomain entry using environment edits and GraphQL queries.

Does Railway support adding multiple custom domains to a single service?

Railway allows one railway-provided domain per service. For custom domains, this skill provisions and manages the configuration by updating environment variables and validating the deployment through GraphQL queries.

Why is my Railway domain not resolving after configuration?

When a Railway domain is not resolving, the environment configuration requires validation. This skill uses GraphQL queries to validate deployments and ensure serviceDomains and customDomains are correctly applied to the target environment.