cloudflare-api

Manage Cloudflare zones, DNS records, tunnels, and Zero Trust via API v4.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/NCLGISA/trellis-catalog --skill cloudflare-api-nclgisa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-api
Source: https://github.com/NCLGISA/trellis-catalog/tree/main/bridges/cloudflare/skills/cloudflare-api
Command: npx skills add https://github.com/NCLGISA/trellis-catalog --skill cloudflare-api-nclgisa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive management of Cloudflare services, enabling users to automate and audit DNS, tunnels, Zero Trust configurations, and more.

Core Features & Use Cases

  • DNS Management: Audit DNS records, manage zones, and map tunnels to origins.
  • Zero Trust: Inventory Access applications, policies, and check service token expiry.
  • Tunnel Operations: Map tunnels to FQDNs and their origin services.
  • Use Case: Automatically audit all DNS records across your zones to identify potential misconfigurations or orphaned records.

Quick Start

Use the cloudflare-api skill to list all zones in your Cloudflare account.

Frequently Asked Questions about cloudflare-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit DNS records across multiple Cloudflare zones?

You can audit Cloudflare DNS records across multiple zones by using the Cloudflare API v4 to programmatically list zones and retrieve all DNS records, helping identify misconfigurations or orphaned records.

Can I inventory Cloudflare Zero Trust Access applications and policies programmatically?

Yes, you can inventory Cloudflare Zero Trust Access applications and policies programmatically through the Cloudflare API v4, which also supports checking service token expiry for your Zero Trust configuration.

How do I map Cloudflare Tunnels to their FQDNs and origin services?

Mapping Cloudflare Tunnels to FQDNs and their origin services is achieved by querying the Cloudflare API v4, providing visibility into how your tunnel routes traffic to internal infrastructure.

What Cloudflare services can I manage using the API v4?

Using the Cloudflare API v4, you can manage DNS records, zones, tunnels, Zero Trust Access and Gateway, email routing, WAF, SSL/TLS configurations, caching, and programmatic API token management.

Does this approach require external dependencies to manage Cloudflare WAF and caching?

No external dependencies are required to manage Cloudflare WAF and caching, as the Skill operates independently using scripts and references to interact directly with the Cloudflare API v4 endpoints.

Why should I automate Cloudflare API token management instead of using static keys?

Automating Cloudflare API token management programmatically ensures secure, scoped access control for auditing DNS and Zero Trust configurations, reducing the security risks associated with long-lived static API keys.