Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Manages DNS records on Cloudflare-hosted domains via the Cloudflare API. Supports creating, listing, updating, and deleting A, AAAA, CNAME, TXT, MX, SPF, DKIM, and DMARC records. Pairs with mailtarget-email for fully automated sending domain setup without manual DNS editing.
Combining this with mailtarget-email lets an agent handle the full domain authentication flow autonomously, from record creation to verification, without any manual dashboard work.
When to use it
- Setting up SPF and DKIM records for a new sending domain
- Adding a CNAME tracking subdomain for email campaigns
- Verifying domain ownership by creating a TXT record
- Automating end-to-end email authentication setup
- Cleaning up stale DNS records after migrating email providers
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Set up email authentication for mydomain.com using Mailtarget
- 1Creates sending domain in Mailtarget via POST /domain/sending
- 2Fetches required SPF, DKIM, and CNAME values from Mailtarget via GET /domain/sending/{id}
- 3Creates TXT record for SPF on mydomain.com in Cloudflare
- 4Creates TXT record for DKIM selector in Cloudflare with proxied set to false
- 5Triggers domain verification in Mailtarget via PUT /domain/sending/{id}/verify-txt
All DNS records created and domain verified in Mailtarget, ready for sending
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.