AgentStack
SKILL verified MIT Self-run

Cloudflare Domain Registration

skill-nachoal-my-skills-cloudflare-domain-registration · by nachoal

Check availability and register domains through Cloudflare Registrar. Use when asked to buy, purchase, register, check, price, or verify a domain on Cloudflare Registrar with CLOUDFLARE_REGISTRAR_TOKEN.

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-nachoal-my-skills-cloudflare-domain-registration

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Cloudflare Domain Registration? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Cloudflare Domain Registration

Use this skill for Cloudflare Registrar ownership flows. Do not use deployment, Pages, DNS-zone, or custom-domain workflows when the user is asking to purchase or verify registrar ownership.

Requirements

The user must provide their own Cloudflare values:

  • CLOUDFLARE_REGISTRAR_TOKEN: Cloudflare API token with Registrar access.
  • CLOUDFLARE_ACCOUNT_ID: Cloudflare account ID, or pass --account-id.

Never print token values. Do not hardcode personal account IDs, contact IDs, private domains, or purchase transcripts in public examples.

Quick Start

From this skill directory:

python3 scripts/cf_domain_registration.py check example.com
python3 scripts/cf_domain_registration.py list --find example.com
python3 scripts/cf_domain_registration.py register example.com --dry-run
python3 scripts/cf_domain_registration.py register example.com --yes

Claude Code can reference the bundled script with:

python3 ${CLAUDE_SKILL_DIR}/scripts/cf_domain_registration.py check example.com

Purchase Rules

  • Availability checks are read-only.
  • Only submit a registration when the user explicitly asks to buy, purchase, or register the domain.
  • Live registration requires --yes; use --dry-run to inspect the exact request body.
  • Reject premium domains unless the user explicitly approves premium pricing, then rerun with --allow-premium.
  • Default to one year, auto-renew on, and WHOIS privacy redaction unless the user asks otherwise.

Registrar Flow

  1. Check availability:
POST /accounts/{account_id}/registrar/domain-check
{
  "domains": ["example.com"]
}
  1. Confirm the domain object has registrable: true.
  2. Register:
POST /accounts/{account_id}/registrar/registrations
{
  "domain_name": "example.com",
  "years": 1,
  "auto_renew": true,
  "privacy_mode": "redaction"
}
  1. Verify ownership:
GET /accounts/{account_id}/registrar/domains?page=0&per_page=100

Cloudflare Registrar listing can be zero-indexed. If a page one list call is empty but result_info.total_count is non-zero, retry from page=0.

Helper Commands

  • check DOMAIN [DOMAIN...]: call domain-check and print registrability/pricing.
  • register DOMAIN --yes: preflight check, submit registration, and verify in the registrar domain list.
  • register DOMAIN --dry-run: show the exact submit body without purchasing.
  • list --find DOMAIN: read registrar inventory from zero-based pagination and search for a domain.
  • status DOMAIN: read /registrar/registrations/{domain}/registration-status.

Read references/registrar-flow.md for the endpoint summary and failure modes to avoid.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.