cloudflare-registrar — Claude Code skill
A skill to check domain availability in Cloudflare Registrar, retrieve pricing, and register domains from your code editor. Use it when you register domains regularly and want to skip the dashboard.
MIT 108 installs ★ 7,554 updated 2026-10-20
npx skills add steipete/agent-scripts --skill cloudflare-registrar -a claude-codeWhat cloudflare-registrar does
The skill connects to Cloudflare Registrar via the cloudflare-openclaw MCP server and provides three operations: check domain availability and price, register after confirmation, and list your registrations. All requests go through Cloudflare's API.
You need environment variables OPENCLAW_CLOUDFLARE_ACCOUNT_ID and OPENCLAW_CLOUDFLARE_API_TOKEN. Registration is billable and non-refundable; the skill requires explicit confirmation before executing POST /registrar/registrations and always runs an availability check first. Commands execute via mcporter call cloudflare-openclaw.execute with inline JavaScript.
Tokens are never printed, and environment variables export only what each command needs. This reduces credential exposure risk.
What it helps with
- check if a domain is available before attempting registration
- look up registration pricing in Cloudflare without opening the dashboard
- register a domain with privacy protection enabled
- list all domains you have registered in Cloudflare
- script domain registration workflows
Example prompts for the agent
- Check availability and price for example.com
- Register domain.io with privacy, no auto-renewal
- Show me all my registered domains in Cloudflare
How to install cloudflare-registrar
1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill cloudflare-registrar -a claude-code2Manually: put the files in place
~/.claude/skills/cloudflare-registrar/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cloudflare-registrar/
1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill cloudflare-registrar -a codex2Manually: put the files in place
.agents/skills/cloudflare-registrar/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill cloudflare-registrar -a cursor2Manually: put the files in place
.cursor/skills/cloudflare-registrar/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install steipete/agent-scripts skills/cloudflare-registrar2Manually: put the files in place
.github/skills/cloudflare-registrar/SKILL.md1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill cloudflare-registrar -a gemini-cli2Platform CLI
gemini skills install https://github.com/steipete/agent-scripts --path skills/cloudflare-registrarManually: put the files in place
.devin/skills/cloudflare-registrar/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill cloudflare-registrar -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cloudflare-registrar
How do I install cloudflare-registrar in Claude Code?
Run npx skills add steipete/agent-scripts --skill cloudflare-registrar -a claude-code, then open ~/.claude/skills/cloudflare-registrar/SKILL.md to verify the setup.
What does cloudflare-registrar do?
It lets you check domain availability, retrieve pricing, and register domains in Cloudflare Registrar directly from your editor. All operations use the Cloudflare API.
What credentials do I need?
Your Cloudflare account ID (OPENCLAW_CLOUDFLARE_ACCOUNT_ID) and API token (OPENCLAW_CLOUDFLARE_API_TOKEN). Registration is paid and non-refundable, so the skill asks for confirmation first.
Source text
SKILL.md · MIT
---
name: cloudflare-registrar
description: "Cloudflare Registrar: domain availability, prices, registration via mcporter."
---
# 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-check` immediately before registration.
- Registration is billable/non-refundable. Ask Peter for explicit confirmation before `POST /registrar/registrations`.
- Do not print tokens.
## Commands
Check availability/pricing:
```bash
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:
```bash
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:
```bash
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "GET",
path: `/accounts/${accountId}/registrar/registrations`
});
}'
```
© steipete · MIT · steipete/agent-scripts