Works with the AI Agents you already use
ast cloudflare
Investigate and manage Cloudflare WAF, Bot settings, and DNS via secure CLI and MCP tools.
$29
ast cloudflare
Example session with this skill installed
Can you check the traffic for zone example.com? I want to see which ASNs were challenged by the WAF in the last hour and if we should block the top offender.
- Read your context and instructions
- Compiled the ast cloudflare
I have analyzed the WAF analytics for example.com over the last 60 minutes.
Cloudflare Traffic Analysis
| ASN | Organization | Challenge Count | Action Taken |
|---|---|---|---|
| 13335 | Cloudflare, Inc. | 0 | Allow |
| 45102 | Alibaba US Technology | 1,240 | Managed Challenge |
| 16509 | Amazon.com, Inc. | 450 | Managed Challenge |
| 9009 | M2705 | 82 | Managed Challenge |
Evidence
- Data retrieved using
cf-search analytics --zone example.com --period 60. - The top offender is ASN 45102 with 1,240 challenges, primarily targeting
/api/v1/login.
Gaps
- Analysis limited to the last 60 minutes of sampled logs.
- No
errorsreported in the API response.
Next steps
- Block ASN 45102: I can create an IP Access Rule to block this ASN zone-wide. Needs your approval.
Review path rules: We could instead implement a stricter rate limit on the /api/v1/login path.
Needs your approval.
3. To undo a block, we would delete the specific IP Access Rule ID created in step 1.
Would you like me to prepare the command to block ASN 45102?
Connects securely to your tools. The creator never sees your data.
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
- Discovery phase where the agent lists zones and identifies current rule configurations.
- Analysis of traffic patterns and security events to identify gaps or false positives.
- Proposal of changes with a detailed explanation of the target, effect, and undo instructions.
- 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.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 3 days ago
- Passed all security checks, Safe to install
Requires