.agents/skills/domain/SKILL.md
This skill should be used when the user wants to add a domain, generate a railway domain, check current domains, get the URL for a service, or remove a domain.
npx skillsauth add scaixeta/CindyAgent domainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Add, view, or remove domains for Railway services.
Generate a railway-provided domain (max 1 per service):
railway domain --json
For a specific service:
railway domain --json --service backend
Returns the generated domain URL. Service must have a deployment.
railway domain example.com --json
Returns required DNS records:
{
"domain": "example.com",
"dnsRecords": [
{ "type": "CNAME", "host": "@", "value": "..." }
]
}
Tell user to add these records to their DNS provider.
Use environment skill to see configured domains, or query directly:
query domains($envId: String!) {
environment(id: $envId) {
config(decryptVariables: false)
}
}
Domains are in config.services.<serviceId>.networking:
serviceDomains - Railway-provided domainscustomDomains - User-provided domainsUse environment skill to remove domains:
{
"services": {
"<serviceId>": {
"networking": {
"customDomains": { "<domainId>": null }
}
}
}
}
{
"services": {
"<serviceId>": {
"networking": {
"serviceDomains": { "<domainId>": null }
}
}
}
}
Then use environment skill to apply and commit the change.
| 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 |
environment skillenvironment skillenvironment skillservice skillNo service linked. Use --service flag or run `railway service` to select one.
Service already has a railway-provided domain. Maximum 1 per service.
Service has no deployment. Deploy first with `railway up`.
Invalid domain format. Use a valid domain like "example.com" or "api.example.com".
data-ai
Post-mortem investigation for failed GSD workflows — analyzes git history, artifacts, and state to diagnose what went wrong
data-ai
Execute a trivial task inline — no subagents, no planning overhead
tools
Execute all plans in a phase with wave-based parallelization
tools
Route freeform text to the right GSD command automatically