部署与云(DevOps)7.4k · #13228
cloudflare-registrar
它能做什么
这个技能让智能体通过 Cloudflare Registrar 检查域名是否可用及其价格,然后进行注册或列出。适合通过 Cloudflare 购买域名的人。
适用场景
- ✓你想查看某个域名是否可用以及价格的时候。
- ✓你想通过 Cloudflare Registrar 注册域名的时候。
- ✓你想查看账户中已注册的域名的时候。
技能链接
https://github.com/steipete/agent-scripts/blob/main/skills/cloudflare-registrar/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/steipete/agent-scripts/blob/main/skills/cloudflare-registrar/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add steipete/agent-scripts --skill cloudflare-registrar
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/steipete/agent-scripts/main/skills/cloudflare-registrar/SKILL.md -o SKILL.md
可以这样问 AI
“请帮我查一下 mybrandname.com 在 Cloudflare 上是否可用,以及需要多少钱。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先运行可用性检查,只有在你确认后才会注册,因为注册是收费且不可退款的。它会确保令牌不会出现在打印输出中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Cloudflare Registrar
Use for Cloudflare Registrar domain availability, pricing, listing, and registration.
Defaults
- MCP:
cloudflare-openclaw - Account:
OPENCLAW_CLOUDFLARE_ACCOUNT_ID - Token:
OPENCLAW_CLOUDFLARE_API_TOKEN - Secrets: follow the root secret rule; export only needed Cloudflare vars for one command.
Guardrails
- Always run
domain-checkimmediately before registration. - Registration is billable/non-refundable. Ask Peter for explicit confirmation before
POST /registrar/registrations. - Do not print tokens.
Commands
Check availability/pricing:
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "POST",
path: `/accounts/${accountId}/registrar/domain-check`,
body: { domains: ["example.com"] }
});
}'
Register after confirmation:
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "POST",
path: `/accounts/${accountId}/registrar/registrations`,
body: { domain_name: "example.com", auto_renew: false, privacy_mode: "redaction" }
});
}'
List registrations:
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "GET",
path: `/accounts/${accountId}/registrar/registrations`
});
}'
常见问题
它会在没有询问我的情况下购买域名吗?
不会。技能要求每次注册前都必须得到你的明确确认。
为什么要在购买前立即检查可用性?
技能规定,在任何注册之前都要立即运行域名检查。
域名购买可以退款吗?
不能。技能说明注册是收费的,且不可退款。
详情
作者的原始描述
Cloudflare Registrar: domain availability, prices, registration via mcporter.
repo: steipete/agent-scripts
热度
- GitHub 星标
- 7.4k
- 排名
- #13228
- 许可证
- MIT
- 更新时间
- 2026/10/30
评论
- …