Agents In Use
What’s new todayLast update
5 use cases added today

Claude Code adjusts a live Cloudflare search challenge

Willison used Claude Code to narrow a Cloudflare challenge to multi-parameter searches. When the MCP interface could not edit the relevant rules, the agent switched to the API.

OUR ADAPTATION

Suggested prompt

Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.

Using read-only access, inspect [site] WAF rules and identify the rule affecting [request pattern]. Propose the exact expression and a rollback. Stop before any PATCH request. After explicit approval, change only that rule and verify both the allowed and challenged request patterns.

Evidence at a glance

Sourced account
Source poster / publisher
Simon Willison
Original account
Read the source ↗
Published
Source link checked
Reported result
Willison documents the API update and reports ordinary single-term searches no longer trigger the challenge.
Human involvement
Willison chose the rule behavior and created an expiring token with Zone WAF edit permission.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  1. Set up Cloudflare MCP access in a dedicated project folder.
  2. Identify the missing rule-editing capability and switch to the Cloudflare API.
  3. Inspect the zone and ruleset, then patch the challenge expression to require an ampersand.
More details

About this account

Claude adapted its tool strategy after the MCP route failed and located the identifiers needed for the API change.

Firsthand operational account includes commands and permission scope. Do not infer that all API credentials were minimally scoped.

Credit: Simon Willison

Source published

Added to Agents In Use

Source checked

Tools and topics

Claude Code · Cloudflare MCP · Cloudflare API · curl · jq

Operations · Checkpoints

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.