Work with Cloudflare from chat — manage zones, DNS records, workers, rules, firewall settings, and account resources via the Cloudflare API with API token authentication.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Cloudflare API access yourself.
Step 1: InstallStep 2: Pair AccountStep 3: Connect Cloudflare
_App-specific connection GIF coming soon_Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Cloudflare
text
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Cloudflare API │
│ (User Chat) │ │ (API Token)│ │ (Zones/DNS/APIs) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Cloudflare│ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Cloudflare│
│ File │ │ Auth │ │ Dashboard│
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
bash
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Cloudflare again."
bash
# List all zones
clawlink_call_tool --tool "cloudflare_list_zones" --params '{}'
# List DNS records in a zone
clawlink_call_tool --tool "cloudflare_list_dns_records" --params '{"zone_id": "ZONE_ID"}'
# List accounts
clawlink_call_tool --tool "cloudflare_list_accounts" --params '{}'
All Cloudflare tool calls are authenticated automatically by ClawLink using the user's connected Cloudflare account.
No API token is required in chat. ClawLink stores the API token securely and injects it into every Cloudflare API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.bash
clawlink_list_integrations
Response: Returns all connected integrations. Look for cloudflare in the list.
bash
clawlink_list_tools --integration cloudflare
Response: Returns the live tool catalog for Cloudflare.
If Cloudflare tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration cloudflareToolDescriptionModecloudflare_list_zonesList zones in the account with paginationReadcloudflare_create_zoneCreate a new DNS zone (domain)Writecloudflare_update_zoneUpdate zone properties (one field at a time)Writecloudflare_delete_zonePermanently delete a zone and all DNS recordsWrite
ToolDescriptionModecloudflare_list_dns_recordsList and search DNS records in a zoneReadcloudflare_create_dns_recordCreate a new DNS record in a zoneWritecloudflare_update_dns_recordUpdate an existing DNS recordWritecloudflare_delete_dns_recordPermanently delete a DNS recordWrite
ToolDescriptionModecloudflare_list_accountsList all Cloudflare accounts accessible to the userReadcloudflare_list_account_membersList account members with roles and permissionsRead
ToolDescriptionModecloudflare_list_monitorsList load balancer monitorsReadcloudflare_list_poolsList load balancer origin poolsRead
ToolDescriptionModecloudflare_list_firewall_rulesList firewall rules for a zoneReadcloudflare_create_listCreate a WAF custom list (IPs, hostnames, ASNs)Writecloudflare_get_listsList all WAF listsReadcloudflare_update_listUpdate a WAF list descriptionWritecloudflare_delete_listDelete a WAF listWrite
ToolDescriptionModecloudflare_list_tunnelsList Cloudflare Tunnel tunnelsReadcloudflare_update_tunnel_configurationUpdate tunnel ingress rules (replaces full config)Write
ToolDescriptionModecloudflare_get_bot_management_settingsGet bot management configuration for a zoneRead
bash
clawlink_call_tool --tool "cloudflare_list_zones" \
--params '{}'
bash
clawlink_call_tool --tool "cloudflare_create_dns_record" \
--params '{
"zone_id": "ZONE_ID",
"type": "A",
"name": "api",
"content": "192.0.2.1",
"ttl": 3600
}'
bash
clawlink_call_tool --tool "cloudflare_update_dns_record" \
--params '{
"zone_id": "ZONE_ID",
"dns_record_id": "RECORD_ID",
"type": "A",
"name": "api",
"content": "192.0.2.2",
"ttl": 1800
}'
bash
clawlink_call_tool --tool "cloudflare_delete_dns_record" \
--params '{
"zone_id": "ZONE_ID",
"dns_record_id": "RECORD_ID"
}'
clawlink_list_integrations to confirm Cloudflare is connected.clawlink_list_tools --integration cloudflare to see the live catalog.clawlink_search_tools with a short query and integration cloudflare.text
┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → describe → call │
│ │
│ Example: List zones → List DNS records → Show results │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Describe tool → Preview changes → User approves │
│ → Execute update │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.page and per_page parameters and check result_info.total_pages to iterate all pages.Status / ErrorMeaningTool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration cloudflare.Missing connectionCloudflare is not connected. Direct the user to https://claw-link.dev/dashboard?add=cloudflare.zone_not_foundZone does not exist or is not accessible.dns_record_not_foundDNS record does not exist.InvalidArgumentInvalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.Write rejectedUser did not confirm a write action. Always confirm before executing writes.
Check that the ClawLink plugin is installed: bash
openclaw plugins list
If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
If a fresh chat does not help, run: bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
After restart, tell the user to send /new again and retry.
cloudflare.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
