/cf-domain-reg-ops:setup-tokenfrom cf-domain-reg-ops
Set up and verify the Cloudflare Registrar API token and account ID for domain search, checks and registration.
Ships in cf-domain-reg-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every other skill in this plugin calls ${CLAUDE_PLUGIN_ROOT}/scripts/cfreg, which needs a token and an account ID.
Check first. Run ${CLAUDE_PLUGIN_ROOT}/scripts/cfreg verify. If it prints "token_status":"active" and "registrar_read":true, setup is done; stop.
Account ID. Ask the user for it, or tell them where it is: Cloudflare dashboard → any zone's Overview page (right sidebar), or the URL https://dash.cloudflare.com/<ACCOUNT_ID>/....
Create the token at https://dash.cloudflare.com/<ACCOUNT_ID>/api-tokens → Create Token → Custom token:
Store it. Prefer the user's own secret manager exporting CLOUDFLARE_REGISTRAR_TOKEN and CLOUDFLARE_ACCOUNT_ID into the environment. If they have none, write the config file (path from cfreg config-path):
CFG="$(${CLAUDE_PLUGIN_ROOT}/scripts/cfreg config-path)"
mkdir -p "$(dirname "$CFG")"
(umask 077; printf 'CLOUDFLARE_REGISTRAR_TOKEN=%s\nCLOUDFLARE_ACCOUNT_ID=%s\n' "<token>" "<account_id>" > "$CFG")
Never echo the token back in the reply.
Verify with cfreg verify again. Report token status and how many domains the account holds.
Purchase prerequisites (only needed before the first register-domain). In the dashboard, confirm:
https://dash.cloudflare.com/<ACCOUNT_ID>/billing/payment-infohttps://dash.cloudflare.com/<ACCOUNT_ID>/domains/registrationsCredentials resolve in this order: environment (CLOUDFLARE_REGISTRAR_TOKEN, falling back to CLOUDFLARE_API_TOKEN; CLOUDFLARE_ACCOUNT_ID), then ${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/cf-domain-reg-ops/config.env. The plugin writes nothing else.
verify tries /user/tokens/verify, then the account-token endpoint, then lists registered domains as the real permission test. An active token with registrar_read:false means the token lacks the Registrar permission or is scoped to another account.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
11 skills in this plugin
/check-registrationsList and audit domains registered at Cloudflare: expiry dates, auto-renew, lock, privacy; toggle auto-renew or lock./expiry-remindersCalendar reminders for domain expiry: an .ics file with one all-day event per domain plus alerts, or events in the user calendar./expiry-reportPDF report of Cloudflare domains by expiry date, soonest first; flags expired, under-30 and under-90-day domains, auto-renew off./export-csvExport all Cloudflare-registered domains to CSV: registrar, dates, days left, auto-renew, lock, privacy, nameservers, registrant./pii-scanScan all Cloudflare domains for a piece of PII (email, phone, name, address): where it is on record and where publicly exposed./register-domainRegister (buy) a domain through the Cloudflare Registrar API after a live price check and the user's approval of domain and price.cf-domain-reg-ops@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin cf-domain-reg-ops