{
  "schemaVersion": "1.0",
  "item": {
    "slug": "spf-dkim-setup",
    "name": "SPF DKIM Setup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/masasdani/spf-dkim-setup",
    "canonicalUrl": "https://clawhub.ai/masasdani/spf-dkim-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/spf-dkim-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=spf-dkim-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/spf-dkim-setup"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/spf-dkim-setup",
    "agentPageUrl": "https://openagent3.xyz/skills/spf-dkim-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/spf-dkim-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/spf-dkim-setup/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Cloudflare DNS",
        "body": "Manage DNS records on Cloudflare-hosted domains via the Cloudflare API."
      },
      {
        "title": "Setup",
        "body": "Set these environment variables:\n\nCLOUDFLARE_API_TOKEN — API token with DNS Write permission (create one)\nCLOUDFLARE_ZONE_ID — Zone ID of the domain (found on the domain overview page in Cloudflare dashboard)"
      },
      {
        "title": "API Basics",
        "body": "Base URL: https://api.cloudflare.com/client/v4\n\nAuth header: Authorization: Bearer $CLOUDFLARE_API_TOKEN\n\nAll responses follow: {\"success\": true, \"result\": {...}, \"errors\": [], \"messages\": []}"
      },
      {
        "title": "List DNS records",
        "body": "curl -s \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" | jq '.result[] | {id, type, name, content}'\n\nFilter by type or name:\n\n# TXT records only\ncurl -s \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records?type=TXT\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\"\n\n# By name\ncurl -s \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records?name=example.com\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\""
      },
      {
        "title": "Create a DNS record",
        "body": "curl -X POST \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"type\": \"TXT\",\n    \"name\": \"example.com\",\n    \"content\": \"v=spf1 include:_spf.mailtarget.co ~all\",\n    \"ttl\": 3600\n  }'"
      },
      {
        "title": "Update a DNS record",
        "body": "curl -X PATCH \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records/$RECORD_ID\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"content\": \"new-value\"}'"
      },
      {
        "title": "Delete a DNS record",
        "body": "curl -X DELETE \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records/$RECORD_ID\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\""
      },
      {
        "title": "SPF record (TXT)",
        "body": "{\"type\": \"TXT\", \"name\": \"example.com\", \"content\": \"v=spf1 include:_spf.mailtarget.co ~all\", \"ttl\": 3600}\n\nIf an SPF record already exists, merge the include: directive into the existing value."
      },
      {
        "title": "DKIM record (TXT)",
        "body": "Use the hostname and value from your email provider:\n\n{\"type\": \"TXT\", \"name\": \"selector._domainkey.example.com\", \"content\": \"v=DKIM1; k=rsa; p=MIGf...\", \"ttl\": 3600}"
      },
      {
        "title": "DMARC record (TXT)",
        "body": "{\"type\": \"TXT\", \"name\": \"_dmarc.example.com\", \"content\": \"v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com\", \"ttl\": 3600}"
      },
      {
        "title": "CNAME record (for tracking domains)",
        "body": "{\"type\": \"CNAME\", \"name\": \"track.example.com\", \"content\": \"tracking.mailtarget.co\", \"ttl\": 3600, \"proxied\": false}\n\nImportant: Set proxied: false for email-related CNAME records (DKIM, tracking) — Cloudflare proxy breaks email authentication."
      },
      {
        "title": "Mailtarget Integration Workflow",
        "body": "When used together with mailtarget-email, the agent can do end-to-end domain setup:\n\nCreate sending domain in Mailtarget → POST /domain/sending\nRead required DNS records → GET /domain/sending/{id} returns SPF, DKIM, CNAME values\nAdd DNS records in Cloudflare using this skill\nVerify domain in Mailtarget → PUT /domain/sending/{id}/verify-txt\nConfirm all records are verified\n\nZero manual DNS editing required."
      },
      {
        "title": "Reference",
        "body": "See references/api.md for full endpoint documentation."
      }
    ],
    "body": "Cloudflare DNS\n\nManage DNS records on Cloudflare-hosted domains via the Cloudflare API.\n\nSetup\n\nSet these environment variables:\n\nCLOUDFLARE_API_TOKEN — API token with DNS Write permission (create one)\nCLOUDFLARE_ZONE_ID — Zone ID of the domain (found on the domain overview page in Cloudflare dashboard)\nAPI Basics\n\nBase URL: https://api.cloudflare.com/client/v4\n\nAuth header: Authorization: Bearer $CLOUDFLARE_API_TOKEN\n\nAll responses follow: {\"success\": true, \"result\": {...}, \"errors\": [], \"messages\": []}\n\nCommon Operations\nList DNS records\ncurl -s \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" | jq '.result[] | {id, type, name, content}'\n\n\nFilter by type or name:\n\n# TXT records only\ncurl -s \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records?type=TXT\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\"\n\n# By name\ncurl -s \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records?name=example.com\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\"\n\nCreate a DNS record\ncurl -X POST \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"type\": \"TXT\",\n    \"name\": \"example.com\",\n    \"content\": \"v=spf1 include:_spf.mailtarget.co ~all\",\n    \"ttl\": 3600\n  }'\n\nUpdate a DNS record\ncurl -X PATCH \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records/$RECORD_ID\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"content\": \"new-value\"}'\n\nDelete a DNS record\ncurl -X DELETE \"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records/$RECORD_ID\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\"\n\nEmail Authentication Setup\nSPF record (TXT)\n{\"type\": \"TXT\", \"name\": \"example.com\", \"content\": \"v=spf1 include:_spf.mailtarget.co ~all\", \"ttl\": 3600}\n\n\nIf an SPF record already exists, merge the include: directive into the existing value.\n\nDKIM record (TXT)\n\nUse the hostname and value from your email provider:\n\n{\"type\": \"TXT\", \"name\": \"selector._domainkey.example.com\", \"content\": \"v=DKIM1; k=rsa; p=MIGf...\", \"ttl\": 3600}\n\nDMARC record (TXT)\n{\"type\": \"TXT\", \"name\": \"_dmarc.example.com\", \"content\": \"v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com\", \"ttl\": 3600}\n\nCNAME record (for tracking domains)\n{\"type\": \"CNAME\", \"name\": \"track.example.com\", \"content\": \"tracking.mailtarget.co\", \"ttl\": 3600, \"proxied\": false}\n\n\nImportant: Set proxied: false for email-related CNAME records (DKIM, tracking) — Cloudflare proxy breaks email authentication.\n\nMailtarget Integration Workflow\n\nWhen used together with mailtarget-email, the agent can do end-to-end domain setup:\n\nCreate sending domain in Mailtarget → POST /domain/sending\nRead required DNS records → GET /domain/sending/{id} returns SPF, DKIM, CNAME values\nAdd DNS records in Cloudflare using this skill\nVerify domain in Mailtarget → PUT /domain/sending/{id}/verify-txt\nConfirm all records are verified\n\nZero manual DNS editing required.\n\nReference\n\nSee references/api.md for full endpoint documentation."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/masasdani/spf-dkim-setup",
    "publisherUrl": "https://clawhub.ai/masasdani/spf-dkim-setup",
    "owner": "masasdani",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/spf-dkim-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/spf-dkim-setup",
    "agentUrl": "https://openagent3.xyz/skills/spf-dkim-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/spf-dkim-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/spf-dkim-setup/agent.md"
  }
}