reliant-labs/forge/domains
Claude Code and agent skill by reliant-labs/forge
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Serving your own hostname — the `forge domain` commands for hosted sites and ports, why a hosted domain is a control-plane resource rather than spec, `Port.domains` on a cluster you operate, and reading a bound domain's state.
Install
npx vskill@latest install reliant-labs/forge/domainsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Custom domains
Every hosted site and exposed hosted port already answers on a hostname the platform allocates — you never declare that one. To ALSO serve your own, use the forge domain commands. A hosted domain is NOT spec: a hosted frontend or port that carries domains is refused at render.
A --redirect-to binding answers every path with a permanent redirect to the same path and query on the other host: 301 for GET and HEAD, 308 for anything else. Point the www name at the same records as its apex (the static-site edge serves redirects too). --hsts-include-subdomains on a bind adds includeSubDomains to that hostname's Strict-Transport-Security; it is off by default because it breaks every subdomain still on plain HTTP for as long as a browser remembers it (a year), and a rebind without it turns it off (the bind says so). ls (HSTS column), show and --json (binding.hstsIncludeSubdomains) report the current setting.
ls, show, verify (check DNS now), unbind (stop serving, keep the verification) and rm (give the hostname up) complete the group; every read takes --json. --env names which control plane to talk to — a domain has no env, only its binding does.
Why a resource, not a field: bringing a name takes an action at YOUR registrar, then verification, then a certificate — asynchronous and human-gated, none of which a deploy converges. It also binds to ONE env, while an env file renders to many. And the platform may allocate a hostname itself, which a spec field would then contradict.
If a domain command is rejected for a missing domain:read/domain:write scope, the credential lacks it: under Reliant, grant it to your Reliant session (Settings → Access Tokens, or reliant auth login); standalone, run forge login. If a fresh token still lacks it, your role has no grant — an org admin can mint forge cloud token create --env <env> --name <n> --scopes domain:read,domain:write.
forge.OnCluster keeps Port.domains
There you own the ingress, forge renders the Gateway and HTTPRoute, and forge.WorkloadURL resolves the exposed port's first domain. At most 8 lowercase DNS names, no wildcards, no duplicates.
Reading a domain's state
forge env status <env>, the post-deploy summary and forge domain show <hostname> print each bound domain's state — pending_dns | verifying | issuing | live | failed | conflict — with the DNS record still to set and the last error:
A domain that is not live is not a failed deploy: setting the record at your registrar is your step, which is why forge prints it rather than blocking on it. --json carries the same under each workload's domains.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/templates/project/skills/forge/deploy/domains/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/reliant-labs/forge/domains)