custom-domains

custom-domains is a command for coding agents from gotempsh/temps. It costs 0 tokens per session (838 once invoked), scanned A, original, Apache-2.0.

A command-line tool for managing custom web addresses connected to a project. A custom domain is a domain name such as example.com that points to a project instead of using a platform-provided address.

In plain words
What is it for?
Use it to list, create, inspect, change, or remove project domains, set redirects, and link domains to certificates.
Why use it?
It removes the need to manage project domains through separate manual steps or interfaces. It also supports checking domain details and connecting a domain to a security certificate.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/gotempsh/temps/custom-domains
Clone the repo
git clone --depth 1 https://github.com/gotempsh/temps

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for custom-domains

README.md
[![agentmods](https://agentmods.dev/badge/commands/gotempsh/temps/custom-domains.svg)](https://agentmods.dev/commands/gotempsh/temps/custom-domains)
Your own site
<a href="https://agentmods.dev/commands/gotempsh/temps/custom-domains"><img src="https://agentmods.dev/badge/commands/gotempsh/temps/custom-domains.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00838
Opus 5 $0.00000 $0.00419
Sonnet 5 $0.00000 $0.00168
Haiku 4.5 $0.00000 $0.00084

Measured 4d ago against content hash d757d1d2ac4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

custom-domains scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/temps/references/commands/custom-domains.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

custom-domains command reference

Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.

custom-domains (alias: cdom)

Manage project custom domains

Subcommands:

  • list (ls) - List custom domains for a project
  • create (add) - Create a custom domain for a project
  • show - Show custom domain details
  • update - Update a custom domain
  • remove (rm) - Remove a custom domain
  • link-cert - Link a custom domain to a certificate

custom-domains list (alias: ls)

List custom domains for a project

Options:

Flag Description Default Required
--project-id <id> Project ID - Yes
--json Output in JSON format - No

custom-domains create (alias: add)

Create a custom domain for a project

Options:

Flag Description Default Required
--project-id <id> Project ID - Yes
-d, --domain <domain> Domain name - No
--environment-id <id> Environment ID 0 No
--branch <branch> Branch name - No
--redirect-to <url> Redirect target URL - No
--status-code <code> HTTP status code for redirects - No
-y, --yes Skip confirmation prompts (for automation) - No

custom-domains show

Show custom domain details

Options:

Flag Description Default Required
--project-id <id> Project ID - Yes
--domain-id <id> Custom domain ID - Yes
--json Output in JSON format - No

custom-domains update

Update a custom domain

Options:

Flag Description Default Required
--project-id <id> Project ID - Yes
--domain-id <id> Custom domain ID - Yes
-d, --domain <domain> New domain name - No
--environment-id <id> New environment ID - No
--branch <branch> New branch name - No
--redirect-to <url> New redirect target URL - No
--status-code <code> New HTTP status code for redirects - No

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 99 lines · 0 tokens per session scan A d757d1d2ac4a

Subscribe to this mod's changes

custom-domains is a command published in the GitHub repository gotempsh/temps (712 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 838 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories