spf-dkim-setup
masasdani 제작
Web & Frontend Development요약
Manage DNS records via the Cloudflare API.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: Set up email authentication for mydomain.com using Mailtarget
- 1
Creates sending domain in Mailtarget via POST /domain/sending
- 2
Fetches required SPF, DKIM, and CNAME values from Mailtarget via GET /domain/sending/{id}
- 3
Creates TXT record for SPF on mydomain.com in Cloudflare
- 4
Creates TXT record for DKIM selector in Cloudflare with proxied set to false
- 5
Triggers domain verification in Mailtarget via PUT /domain/sending/{id}/verify-txt
All DNS records created and domain verified in Mailtarget, ready for sending
요구 사항
- CLOUDFLARE_API_TOKEN environment variable (DNS Write permission)
- CLOUDFLARE_ZONE_ID environment variable (found on domain overview in Cloudflare dashboard)
설치
clawhub install masasdani/spf-dkim-setupCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.