Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    ast cloudflare

    1

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

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    ast cloudflare

    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

    ASNOrganizationChallenge CountAction Taken
    13335Cloudflare, Inc.0Allow
    45102Alibaba US Technology1,240Managed Challenge
    16509Amazon.com, Inc.450Managed Challenge
    9009M270582Managed 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 errors reported in the API response.

    Next steps

    1. 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

    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.

    Does not support Workers, Zero Trust, Page Rules, or Load Balancing. Requires Python 3.12+. Write operations require manual gate activation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by 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 scan

    Security scan passed 1 month ago

    Requires

    Python 3.12+
    macOS
    Linux
    Bash 3.2+
    pip
    venv
    requests
    python-dotenv
    platformdirs
    keyring
    fastmcp
    Windows
    Python

    Permissions

    Terminal / Shell
    Browser
    Read Files
    Write Files
    Network Access
    Environment Variables

    File Scopes

    ~/.local/share/ast/venv/**
    ~/.config/ast/.env
    ~/.claude/skills/ast-cloudflare/**
    ./.env
    (read
    if
    present)
    ~/Library/Application
    Support/<tool>/.env
    and
    ~/.config/<tool>/.env
    per-tool
    fallback)
    ~/.cache/agentic-security-toolkit/**
    (pending
    dry-run
    /
    exec
    tokens)
    *.json
    *.csv
    at
    a
    path
    you
    choose
    (--output
    sectools_export)
    Support/agentic-security-toolkit/cloudflare/**
    (macOS)
    ~/.local/state/agentic-security-toolkit/cloudflare/**
    (Linux):
    cf-edit
    change
    snapshots

    Terminal/Shell runs `install.sh`, `cf-search`, `cf-edit` and `sectools`; Read/Write Files cover the venv, your `~/.config/ast/.env`, `cf-edit` change snapshots and optional exports; Environment Variables carry the two tokens, `CLOUDFLARE_ACCOUNT_ID`, optional zone and the gate; Network Access reaches PyPI at install and `api.cloudflare.com` (REST and GraphQL) at run time. `cf-search` and the read MCP tools only read. Every `cf-edit` change is a dry run until confirmed on the CLI; over MCP the `cf_edit_*` tools are registered only with `SECTOOLS_CF_EDIT=1`, and the skill requires your explicit approval of each exact change.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

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

    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.

    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.

    New in Security