# ast cloudflare

> Investigate and manage Cloudflare WAF, Bot settings, and DNS via secure CLI and MCP tools.

ast cloudflare is a paid AI agent skill on Agensi by Michael Timpe, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $29 (one-time purchase)
- Creator: [Michael Timpe](https://www.agensi.io/creators/michael-timpe)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ast-cloudflare
- Tags: security, api, devops, cloudflare, waf, dns-management, mcp-server, security-automation

## About this skill

Managing Cloudflare security settings via CLI or MCP is error-prone and slow when done manually. This skill provides a specialized interface for investigating and modifying Cloudflare WAF, bot management, and DNS settings using a structured safety model.

### What it does
- **Traffic analysis** by ASN, path, or specific WAF rule using GraphQL analytics.
- **Rule management** for WAF, including creating, updating, moving, and deleting rules with rollback support.
- **Bot control** for tuning Bot Fight Mode, security levels, and verified-bot skip rules.
- **DNS administration** for managing zone records directly through the agent.
- **Security auditing** via access to audit logs and ruleset versioning to track environment changes.

### How it works
1. **Discovery** phase where the agent lists zones and identifies current rule configurations.
2. **Analysis** of traffic patterns and security events to identify gaps or false positives.
3. **Proposal** of changes with a detailed explanation of the target, effect, and undo instructions.
4. **Execution** through a dry-run process that requires explicit user confirmation before any live platform change.

### Frameworks & tools
Uses the `ast-cloudflare` toolset featuring `cf-search` and `cf-edit` CLIs. Integration is supported via `sectools-mcp` for Claude Code and other MCP-compliant agents.

### Why this beats prompting it yourself
Generic agents often guess API parameters or fail to follow strict security protocols. This skill enforces a "read-first" workflow and a mandatory safety gate for all write operations, ensuring changes are verified and reversible.

### Use cases
- Identify why a specific WAF rule is not firing for malicious traffic.
- Block or challenge problematic ASNs identified in recent traffic spikes.
- Roll back a ruleset version after observing unintended blocks.
- Tune rate limits for specific API endpoints based on real-time analytics.

### Known limitations
Does not support Cloudflare Workers, Zero Trust, Page Rules, or Load Balancing. Requires Python 3.12 or newer for the local toolset.

## Requires

- Python 3.12+
- Bash 3.2+
- pip
- venv
- requests
- python-dotenv
- platformdirs
- keyring
- fastmcp
- Optional: stdio MCP client
- Optional: System keychain

Windows only via WSL 2 (untested). On Debian/Ubuntu install python3.12-venv. install.sh installs the Python packages. A .env file works without a keychain.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ast cloudflare skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What core Cloudflare management tasks can I automate with this skill?

This skill allows you to analyze WAF traffic patterns via GraphQL, manage DNS records, and tune Bot Management settings through a structured CLI or MCP interface, replacing manual API calls and dashboard navigation.

### Is this skill compatible with Claude Code and other MCP-compliant agents?

Yes, the skill is built on the Model Context Protocol (MCP) via `sectools-mcp`, making it compatible with Claude Code, Cursor, and any other MCP-enabled AI development environment.

### How does the skill prevent accidental or destructive changes to my Cloudflare environment?

Safety is prioritized through a 'read-first' workflow, mandatory dry-runs, and detailed change proposals that include rollback instructions before any live modifications are executed.

### What is included in the package upon purchase?

You will receive the `ast-cloudflare` toolset (featuring `cf-search` and `cf-edit`), the `sectools-mcp` integration bridge, and comprehensive documentation for local setup.

### Are there any specific technical requirements or dependencies?

The skill requires Python 3.12 or newer for the local toolset and a valid Cloudflare API token with permissions for WAF, DNS, and Analytics.

### Can I use this skill to manage Cloudflare Workers or Zero Trust settings?

No, this skill is focused strictly on WAF, Bot Management, and DNS; it does not currently support Cloudflare Workers, Zero Trust, Page Rules, or Load Balancing.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
