Pular para o conteúdo
TakoAPI
Voltar às skills

spf-dkim-setup

por masasdani

Web & Frontend Development
257Downloads informados pelo clawskills.sh
1Visualizações
0 curtidaEntre para curtir esta skill
—Ainda sem avaliações
Sua avaliação

Resumo

Manage DNS records via the Cloudflare API.

Descrição

O que esta skill faz

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.

Quando usá-la

  • 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

Exemplo de fluxo de trabalho

ENTRADA

User asks: Set up email authentication for mydomain.com using Mailtarget

AGENTE
  1. 1

    Creates sending domain in Mailtarget via POST /domain/sending

  2. 2

    Fetches required SPF, DKIM, and CNAME values from Mailtarget via GET /domain/sending/{id}

  3. 3

    Creates TXT record for SPF on mydomain.com in Cloudflare

  4. 4

    Creates TXT record for DKIM selector in Cloudflare with proxied set to false

  5. 5

    Triggers domain verification in Mailtarget via PUT /domain/sending/{id}/verify-txt

SAÍDA

All DNS records created and domain verified in Mailtarget, ready for sending

Requisitos

  • CLOUDFLARE_API_TOKEN environment variable (DNS Write permission)
  • CLOUDFLARE_ZONE_ID environment variable (found on domain overview in Cloudflare dashboard)

Instalação

clawhub install masasdani/spf-dkim-setup

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links