- Home
- Skills
- APIs & Backend
- cloudflare cli
Works with the AI Agents you already use
cloudflare cli
Operate the Cloudflare unified CLI with automated schema discovery, context management, and security-first execution.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
cloudflare cli
Example session with this skill installed
Help me create a new A record for dev.example.com pointing to 192.0.2.1 using the cf CLI. Verify the context first.
- Read your context and instructions
- Compiled the cloudflare cli
I have verified the account and zone context and prepared the command to create the DNS record.
Cloudflare DNS Configuration
The following steps were performed to ensure the correct context before execution:
- Checked active profile and authentication status.
- Verified
example.comzone ID and account ownership. - Introspected the
dns records createschema for the current CLI version.
| Step | Command | Status |
|---|---|---|
| Context Check | cf context show | Zone: example.com (ID: 023e105f4ecef8ad9ca31a8372d0c353) |
| Auth Check | cf auth whoami | Authenticated as admin@example.com |
| Schema Sync | cf schema dns records create | Validated required fields: type, name, content |
The command to create the record is ready for execution:
# Create the A record for dev.example.com
cf dns records create --zone example.com --type A --name dev --content 192.0.2.1
Next steps
- Run the command above to create the record.
- Verify the new record exists by running
cf dns records list --zone example.com. - Check propagation status using a global DNS lookup tool.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP (optional)
About this skill
Managing Cloudflare infrastructure often involves navigating fragmented documentation or juggling specific CLI tools like Wrangler and the technical preview cf utility. This skill provides a structured interface for operating the unified Cloudflare CLI while maintaining strict security and context awareness.
What it does
- Resource Management executes Cloudflare-wide API operations across DNS, Workers, and account resources.
- Context Handling resolves and manages account and zone IDs using
.cfrcfiles or environment variables. - Authentication Management handles OAuth profiles and API tokens via
cf authwithout exposing secrets. - Schema Discovery retrieves real-time command syntax and API request bodies from the installed binary.
- Local Development bridges commands to local Miniflare or
wrangler devsessions using the--localflag.
How it works
- Introspection runs
cf agent-contextto map available product commands and operational notes. - Verification checks active authentication and zone context via
cf auth whoamiandcf context show. - Validation pulls the current
--helpandcf schemato ensure command flags match the technical preview version. - Execution runs the command, preferring
--dry-runfor writes, and parses the resulting JSON output.
Frameworks & tools
This tool targets the cf technical preview CLI. It requires Node.js 22 or newer and works alongside Wrangler for Workers development and Miniflare for local emulation.
Why this beats prompting it yourself
The cf CLI is in technical preview with a rapidly changing command surface that standard LLM training data cannot track. This skill forces real-time introspection of the installed binary to prevent syntax errors and ensures destructive actions are preceded by context verification.
Use cases
- Automate DNS record updates and zone configurations across multiple accounts.
- Debug local Workers environments by routing CLI commands to a running dev server.
- Manage complex OAuth profiles and directory-bound authentication settings.
- Discover and execute new Cloudflare API features via the unified command schema.
Known limitations
Requires manual installation of the cf CLI if not present. It is designed for the technical preview cf tool and does not replace the specialized configuration workflows of Wrangler.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 6 days ago
Requires