cloudflare-dns-operations
Performs low-level Cloudflare DNS operations including adding, updating, deleting DNS records, managing zone settings, and dynamic DNS updates via Cloudflare API. Use when need manual DNS record management, dynamic DNS updates, zone settings configuration, or operations outside domain management system. Triggers on "add DNS record", "update DNS", "delete DNS record", "dynamic DNS", "Cloudflare API", or "manual DNS management". Works with Cloudflare API v4, cf-dns.sh and cf-settings.sh helper scripts, and direct curl API calls.
What this skill does
# Cloudflare DNS Operations Skill Low-level Cloudflare DNS and zone management operations using Cloudflare API for manual record management and advanced configuration. ## Quick Start Quick DNS operations: ```bash # Load environment variables source /home/dawiddutoit/projects/network/.env # List all DNS records /home/dawiddutoit/projects/network/scripts/cf-dns.sh list # Add A record /home/dawiddutoit/projects/network/scripts/cf-dns.sh add A api.temet.ai 192.168.68.100 # Add CNAME record /home/dawiddutoit/projects/network/scripts/cf-dns.sh add CNAME www temet.ai # Update existing record /home/dawiddutoit/projects/network/scripts/cf-dns.sh update api.temet.ai 192.168.68.200 # Delete record /home/dawiddutoit/projects/network/scripts/cf-dns.sh delete api.temet.ai ``` ## Table of Contents 1. [When to Use This Skill](#1-when-to-use-this-skill) 2. [What This Skill Does](#2-what-this-skill-does) 3. [Instructions](#3-instructions) - 3.1 Setup API Authentication - 3.2 List DNS Records - 3.3 Add DNS Records - 3.4 Update DNS Records - 3.5 Delete DNS Records - 3.6 Manage Zone Settings - 3.7 Dynamic DNS Updates 4. [Supporting Files](#4-supporting-files) 5. [Expected Outcomes](#5-expected-outcomes) 6. [Requirements](#6-requirements) 7. [Red Flags to Avoid](#7-red-flags-to-avoid) ## When to Use This Skill **Explicit Triggers:** - "Add DNS record" - "Update DNS record" - "Delete DNS record" - "Dynamic DNS" - "Cloudflare API operations" - "Manual DNS management" **Implicit Triggers:** - Need to add DNS record outside domain management system - Dynamic home IP updates needed - Testing DNS configurations - Bulk DNS operations required - Zone settings need manual adjustment **Debugging Triggers:** - "How do I add a DNS record?" - "How to update my home IP?" - "What DNS records exist?" ## What This Skill Does 1. **Setup Auth** - Configures Cloudflare API credentials 2. **Lists Records** - Shows all DNS records in zone 3. **Adds Records** - Creates new A, AAAA, CNAME, TXT records 4. **Updates Records** - Modifies existing record values 5. **Deletes Records** - Removes DNS records 6. **Manages Settings** - Configures SSL, caching, security settings 7. **Dynamic DNS** - Automates home IP updates ## Instructions ### 3.1 Setup API Authentication **Required credentials:** - Cloudflare email address - Cloudflare API token or Global API Key - Zone ID for temet.ai domain **Step 1: Get Zone ID** 1. Go to: https://dash.cloudflare.com 2. Select domain: **temet.ai** 3. Click: **Overview** tab 4. Find: **API** section in right sidebar 5. Copy: **Zone ID** Example: `1234567890abcdef1234567890abcdef` **Step 2: Get API Token** **Recommended: Use API Token (scoped permissions)** 1. Go to: https://dash.cloudflare.com/profile/api-tokens 2. Click: **Create Token** 3. Select template: **Edit zone DNS** 4. Zone Resources: **Include** → **Specific zone** → **temet.ai** 5. Click: **Continue to summary** → **Create Token** 6. Copy token (shown only once) **Alternative: Use Global API Key (full account access)** 1. Go to: https://dash.cloudflare.com/profile/api-tokens 2. Scroll to: **API Keys** section 3. Click: **View** next to **Global API Key** 4. Copy key ⚠️ **Security note:** API Token is more secure (scoped permissions). **Step 3: Add to .env** ```bash # Edit .env nano /home/dawiddutoit/projects/network/.env # Add (using API Token - recommended): CLOUDFLARE_EMAIL="[email protected]" CLOUDFLARE_ZONE_ID="your-zone-id-here" CLOUDFLARE_API_KEY="your-api-token-here" # Or using Global API Key: CLOUDFLARE_EMAIL="[email protected]" CLOUDFLARE_ZONE_ID="your-zone-id-here" CLOUDFLARE_GLOBAL_API_KEY="your-global-api-key-here" ``` **Step 4: Test Access** ```bash source /home/dawiddutoit/projects/network/.env curl -s -X GET "https://api.cloudflare.com/client/v4/user" \ -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}" \ -H "X-Auth-Key: ${CLOUDFLARE_API_KEY}" \ | jq '.success' ``` Expected output: `true` ### 3.2 List DNS Records **Using helper script:** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh list ``` Expected output: ``` DNS Records for temet.ai: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Type Name Value ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CNAME pihole tunnel-id.cfargotunnel.com CNAME jaeger tunnel-id.cfargotunnel.com A home 1.2.3.4 ... ``` **Using direct API call:** ```bash source /home/dawiddutoit/projects/network/.env curl -s -X GET "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/dns_records" \ -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}" \ -H "X-Auth-Key: ${CLOUDFLARE_API_KEY}" \ | jq -r '.result[] | "\(.type)\t\(.name)\t\(.content)"' ``` **Filter by type:** ```bash # List only A records /home/dawiddutoit/projects/network/scripts/cf-dns.sh list | grep "^A" # List only CNAME records /home/dawiddutoit/projects/network/scripts/cf-dns.sh list | grep "^CNAME" ``` ### 3.3 Add DNS Records **Add A record (IPv4):** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh add A api.temet.ai 192.168.68.100 ``` **Add AAAA record (IPv6):** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh add AAAA ipv6.temet.ai 2001:db8::1 ``` **Add CNAME record:** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh add CNAME www temet.ai ``` **Add TXT record (verification/SPF):** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh add TXT _verification "verification-code" ``` **Add record with proxy enabled (orange cloud):** ```bash # Using direct API call source /home/dawiddutoit/projects/network/.env curl -X POST "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/dns_records" \ -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}" \ -H "X-Auth-Key: ${CLOUDFLARE_API_KEY}" \ -H "Content-Type: application/json" \ --data '{ "type": "A", "name": "proxied.temet.ai", "content": "192.168.68.100", "ttl": 1, "proxied": true }' | jq '.' ``` **Common record types:** | Type | Example | Purpose | |------|---------|---------| | A | `192.168.68.100` | IPv4 address | | AAAA | `2001:db8::1` | IPv6 address | | CNAME | `target.example.com` | Alias to another domain | | TXT | `"verification-code"` | Text records (verification, SPF) | | MX | `10 mail.example.com` | Mail exchange | ### 3.4 Update DNS Records **Update existing record:** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh update api.temet.ai 192.168.68.200 ``` Script automatically: 1. Finds existing record by name 2. Gets record ID 3. Updates content to new value 4. Preserves type and proxy settings **Update with direct API call:** ```bash source /home/dawiddutoit/projects/network/.env # Step 1: Get record ID record_id=$(curl -s -X GET \ "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/dns_records?name=api.temet.ai" \ -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}" \ -H "X-Auth-Key: ${CLOUDFLARE_API_KEY}" \ | jq -r '.result[0].id') # Step 2: Update record curl -X PUT \ "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/dns_records/${record_id}" \ -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}" \ -H "X-Auth-Key: ${CLOUDFLARE_API_KEY}" \ -H "Content-Type: application/json" \ --data '{ "type": "A", "name": "api.temet.ai", "content": "192.168.68.200", "ttl": 1, "proxied": false }' | jq '.' ``` ### 3.5 Delete DNS Records **Delete record by name:** ```bash /home/dawiddutoit/projects/network/scripts/cf-dns.sh delete api.temet.ai ``` **Confirm before deletion:** Script will show: ``` Found record: A api.temet.ai → 192.168.68.100 Delete this record? (y/N): ``` **Using direct API call:** ```bash source /home/dawiddutoit/projects/network/.env # Step 1: Get record ID record_id=$(curl -s -X GET \ "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/dns_records?name=api.temet.ai" \ -H "X-Auth-Email: $
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.