Aller au contenu
TakoAPI
Retour aux skills

spf-dkim-setup

par masasdani

Web & Frontend Development
257Téléchargements rapportés par clawskills.sh
1Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Manage DNS records via the Cloudflare API.

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

AGENT
  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

SORTIE

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

Prérequis

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

Installation

clawhub install masasdani/spf-dkim-setup

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens