domain

domain is a skill for Claude Code from controlplane-com/ai-plugin. It costs 48 tokens per session (3,009 once invoked), scanned A, original, MIT.

A guide to connecting a DNS name, such as example.com or a subdomain, to Control Plane workloads and configuring its network ports and TLS encryption.

In plain words
What is it for?
Use it to create and update domains, add workload routes and ports, configure or remove TLS, and handle DNS and ownership errors.
Why use it?
It explains the choices and DNS records needed to make a domain live and avoids rejected configurations for apex domains, ownership, routing, or certificates.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cpln plugin — 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to create and update domains, add workload routes and ports, configure or remove TLS, and handle DNS and ownership errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/controlplane-com/ai-plugin/domain
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.

Any agent
npx skills add controlplane-com/ai-plugin --skill domain
Clone the repo
git clone --depth 1 https://github.com/controlplane-com/ai-plugin

Made for: Claude Code.

Or install cpln, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server.

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 domain

README.md
[![agentmods](https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/domain/github.svg)](https://agentmods.dev/skills/controlplane-com/ai-plugin/domain)
Your own site
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/domain"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/domain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/domain"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/domain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00048 $0.03009
Opus 5.5 $0.00019 $0.01204
Sonnet 5.5 $0.00010 $0.00602
Haiku 4.5 $0.00005 $0.00301

Measured 1mo ago against content hash 3716868de81a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

domain scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. Once `ready`: `curl -I https://DOMAIN/PATH` and confirm each prefix lands on the intended workload.
plugins/cpln/skills/domain/SKILL.md · 113 lines

How it starts

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

Custom Domains

A domain is an org-level resource that binds a DNS name to workloads in one GVC. Created ≠ live: after the resource exists, the user still adds records at their DNS provider — read exactly which from status.dnsConfig and hand them over verbatim, never guessed. Every shape decision below is platform-enforced and a wrong combination is a rejected mutation, so decide BEFORE calling mcp__cpln__create_domain (pass workload and gvc and it derives the 443 listener, its route, and cname; pass dnsMode and ports for anything else). Never set spec.domain on a GVC — that legacy field is deprecated; the Domain resource is the only path.

Decide the shape first

1. Apex or subdomain? The apex is the registrable root (example.com, example.co.uk); anything deeper is a subdomain (app.example.com).

2. dnsMode — who runs DNS:

Mode Valid for Wiring Cert challenge
cname apex (required) and subdomains User adds CNAME records per status.dnsConfig http01 default, dns01 opt-in
ns subdomains only Delegates the subdomain zone via 4 NS records (ns1/ns2.cpln.cloud, ns1/ns2.cpln.live) dns01 only — http01 rejected

dnsMode defaults to cname (to ns when gvcLink is set). The platform rejects ns on an apex, and rejects a cname domain nested under an existing NS domain (parent_ns_domain_exists).

3. Routing — exactly ONE of three. All routes in a domain must target workloads in the same GVC.

Mode What it does Constraints
ports[].routes Explicit path routes to workloads The default choice; works for every workload type
gvcLink Every workload in the GVC gets {workload}.{domain} Excludes workloadLink and any ports[].routes. With cname + http01 it demands tls.serverCertificate on every TLS port (http01 cannot issue wildcard certs)
workloadLink (spec-level) Replica-direct: binds the whole domain to ONE stateful workload with per-replica DNS names Stateful only (workloadLink must link to a stateful workload); every port exactly ONE route to that same workload; http01 rejected

Read the full file on GitHub · 113 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. 1mo ago Changed · +1 lines 3716868de81a
  2. 2mo ago Changed · -24 lines 582981e414f5
  3. 3mo ago First seen · 136 lines · 48 tokens per session scan A 03db3d6436ec

Subscribe to this mod's changes

domain is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 3,009 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

domain compared with skills from other repositories

domain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
domaincontrolplane-com/ai-pluginSkill12yesterdayMITA48Claude Code
cloud-native-aws-serverlessj4flmao/agent-skillsSkill4715d agoMITA84Claude Code, Codex
cloud-native-azure-functionsj4flmao/agent-skillsSkill4715d agoMITA82Claude Code, Codex
cloud-native-cloudflare-workersj4flmao/agent-skillsSkill4715d agoMITA82Claude Code, Codex
cloud-native-serverless-orchestrationj4flmao/agent-skillsSkill4715d agoMITA92Claude Code, Codex
cloud-native-serverless-cold-startsj4flmao/agent-skillsSkill4715d agoMITA83Claude Code, Codex
serverless-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A58Claude Code