/anglesite:domain [email, bluesky, or service name]from anglesite
Manages DNS records on Cloudflare for custom email, Bluesky handle verification, and site verification. Automates record changes via the Cloudflare API.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage DNS records for the owner's domain on Cloudflare. All DNS changes are made directly via the Cloudflare API — never ask the owner to add, remove, or modify DNS records themselves. Never open the Cloudflare dashboard for DNS operations.
Read EXPLAIN_STEPS from .site-config. If true or not set, tell the owner what you're about to do and why in plain English before making any change, and confirm what was done after. If false, proceed without pre-announcing changes (still confirm after).
Before explaining DNS records, verification flows, propagation behavior, or any Cloudflare-specific quirk to the owner, call a Cloudflare search_cloudflare_documentation tool if one is available (tools are found by suffix — see ${CLAUDE_PLUGIN_ROOT}/docs/cloudflare-mcp.md) with a query that names what's being set up (e.g., "DMARC record syntax Cloudflare DNS", "Bluesky _atproto TXT verification", "domain verification CAA record", "MX records Cloudflare Email Routing"). Read the matching result before answering — Cloudflare ships changes to defaults and dashboard flows often, and stale advice misroutes the owner. If the tool is not available or the search returns nothing useful, say so rather than guessing from training data.
Skip this when the request is mechanical (e.g., the owner pasted the exact records a third party told them to add).
Read SITE_DOMAIN from .site-config. If not set, tell the owner: "You need a custom domain first. Run /anglesite:deploy to set one up."
Read CF_PROJECT_NAME from .site-config to identify the Cloudflare project.
All DNS operations go through npm run ai-cf, which calls the Cloudflare API with the scoped token in .env. It reads CF_API_TOKEN itself and fills {KEY} placeholders such as {CF_ZONE_ID} and {SITE_DOMAIN} from .env and .site-config — type the placeholders literally. Each command stands alone; never use shell variables, curl, or jq. It prints the JSON response and exits non-zero when Cloudflare reports an error.
Run npm run ai-cf -- status to see which keys are set in .env (it never prints values). If CF_API_TOKEN is missing, the owner needs to create one (one-time setup):
Tell the owner: "To manage your domain's DNS records, I need a Cloudflare API token. I'll walk you through creating one — it takes about 30 seconds."
Open the API tokens page in their browser: https://dash.cloudflare.com/profile/api-tokens
Walk them through:
Save the token to .env using the Write tool (update or create the file, adding CF_API_TOKEN=the-token-value). Never save API tokens to .site-config — that file is committed to git. .env is gitignored and stays local.
Then, if status shows CF_ZONE_ID: missing, look it up and save it:
npm run ai-cf -- GET "/zones?name={SITE_DOMAIN}" --save CF_ZONE_ID=result.0.id
SITE_DOMAIN in .site-config must be the root domain (no www.). If the command reports "Nothing to save", the token may be invalid or the domain not yet active on Cloudflare.
Before asking what the owner needs, check .site-config for BLUESKY_HANDLE. If the owner is on Bluesky but still using a .bsky.social handle, proactively offer: "I noticed you're on Bluesky — want me to set up your domain as your Bluesky handle? People would see @SITE_DOMAIN instead of your current handle. It takes about a minute."
If BLUESKY_HANDLE is not set, and this is the first time running /anglesite:domain, ask: "By the way — are you on Bluesky? It's a social network where your domain becomes your handle, so people see @yourdomain.com. If you have an account, I can set that up in about a minute."
Read ${CLAUDE_PLUGIN_ROOT}/docs/domain-guide.md for context on why domain-as-identity matters across the open web.
If this is the first time running /anglesite:domain, surface the domain education prompts from ${CLAUDE_PLUGIN_ROOT}/docs/education-prompts.md section 2 ("Domain Setup"). Check .site-config for each EDUCATION_<KEY>=shown flag before surfacing. Share DOMAIN_VS_WEBSITE, DOMAIN_RENEWAL, EMAIL_NOT_AUTOMATIC, and TLD_AND_SEO as a brief aside — the owner may have already heard these during /anglesite:deploy, so the flags prevent repetition. Write any new flags to .site-config after.
Ask: "What do you need to set up on your domain?" Common requests:
For email setup (business mailboxes at the owner's domain), invoke the email skill:
Read and follow ${CLAUDE_PLUGIN_ROOT}/skills/email/SKILL.md
The email skill expects CF_API_TOKEN and CF_ZONE_ID to already be in .env. Ensure the Cloudflare API access section above has been completed before invoking it.
To verify a custom domain as their Bluesky handle:
@user.bsky.social)did=did:plc:abc123...)npm run ai-cf -- POST "/zones/{CF_ZONE_ID}/dns_records" '{"type":"TXT","name":"_atproto","content":"did=did:plc:VALUE","ttl":1,"proxied":false}'
BLUESKY_HANDLE=@SITE_DOMAIN to .site-config using the Write tool.For Google Search Console, Google Business Profile, or other Google services:
For any other service that needs DNS records:
If the owner wants to see what's currently set up:
npm run ai-cf -- GET "/zones/{CF_ZONE_ID}/dns_records?per_page=100"
Each entry in result has id, type, name, content, and proxied. Translate the output into plain English. Example: "Your domain has 5 DNS records: your website address (www), two email routing records, a spam prevention record, and your Bluesky verification."
If a record needs to be removed (e.g., switching email providers):
npm run ai-cf -- DELETE "/zones/{CF_ZONE_ID}/dns_records/RECORD_ID"
When switching email providers, always remove old MX records before adding new ones to avoid conflicts.
Update docs/cloudflare.md with what was added or removed and why. Example:
### DNS records
- MX: iCloud Mail servers (email delivery)
- TXT (SPF): v=spf1 include:icloud.com ~all (spam prevention)
- TXT (_atproto): Bluesky domain verification
www — that points to the Workers project"proxied": false) — MX, SPF, DKIM, DMARC should never be proxiedWhat SKILL.md sets; muted values are Claude Code's defaults
Use when the owner needs to add or change DNS records — custom email, Bluesky handle verification, Google or other site verification, or other domain settings.
Three short reads, in order
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/bookingEmbed appointment scheduling (Cal.com or Calendly) into the siteOther plugins' skills for the same job