Cloudflare Troubleshooting
Diagnose and fix Cloudflare redirect loops, SSL, and DNS problems by querying the actual configuration through the Cloudflare API.
Web & APIIntermediate★ 1,419⑂ 219AI score 9/10Last updated: Sep 22, 2026
What it does
- Teaches Claude an evidence-first investigation method: query the Cloudflare API for real configuration state before proposing any fix.
- Provides a repeatable workflow: get zone ID → inspect related settings → determine root cause → apply a targeted change → purge cache → re-verify.
- Includes symptom-specific evidence sequences for ERR_TOO_MANY_REDIRECTS, SSL errors (525/526), DNS record issues, origin 502/503/504, and Email Routing.
- Adds external cross-checks with
dig,curl,openssl s_client, plus credential-safety rules and propagation wait times.
Who it's for
- Site and SaaS operators running behind the Cloudflare proxy.
- Developers wiring custom domains to GitHub Pages / Netlify / Vercel who hit redirect loops.
- Infra and DevOps engineers who need fast root-cause analysis for DNS, TLS, and origin failures.
Examples
- "My site returns ERR_TOO_MANY_REDIRECTS" → checks whether SSL mode is
flexible, switches it tofull, then purges cache and tells you how long to wait. - "HTTPS shows Error 526" → inspects certificate packs and the origin certificate to judge whether Full (strict) is appropriate.
- "Domain won't resolve" → compares DNS records, proxy status, DNSSEC state and
dig @8.8.8.8output to spot missing or conflicting records.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/cloudflare-troubleshooting/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the cloudflare-troubleshooting folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/cloudflare-troubleshooting/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/cloudflare-troubleshooting ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r claude-code-skills/cloudflare-troubleshooting ~/.claude/skills/ - Install
jqif missing (macOS:brew install jq, Ubuntu:sudo apt install jq). - In the Cloudflare Dashboard go to My Profile → API Tokens and create a scoped API Token (safer than the Global API Key).
- Restart Claude Code and ask something like "my Cloudflare site is in a redirect loop" to trigger the skill. Never paste credentials into public chats or logs.
View source on GitHub ↗License: MIT