cloudflare-cli
Skill180 starsChanged 8 months agoMITView on GitHub
Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Firzus/agent-skillstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Firzus/agent-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- create-prSkill
- discord-community-feedbackSkill
- hosted-studio-debugSkill
- integration-testsSkill
- linear-issue-fixerSkill
- manage-api-keysSkill
- manage-tiersSkill
- sentry-issue-fixerSkill
- setupSkill
- studio-dbSkill
- unit-testsSkill
The file
Files
Cloudflare CLI Skill
Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl.
Prerequisites
- flarectl installed:
brew install cloudflare/cloudflare/flarectl - API token set:
export CF_API_TOKEN=<token>
Commands
Zones
# List all zones
flarectl zone list
# Get zone details
flarectl zone info --zone genlayer.comDNS Records
# List DNS records
flarectl dns list --zone genlayer.com
# Create record
flarectl dns create --zone genlayer.com --name subdomain --type A --content 1.2.3.4
# Update record (toggle proxy)
flarectl dns update --zone genlayer.com --id <record-id> --proxy=true
# Delete record
flarectl dns delete --zone genlayer.com --id <record-id>Cache
# Purge all cache
flarectl zone purge --zone genlayer.com --everything
# Purge specific URLs
flarectl zone purge --zone genlayer.com --files "https://studio.genlayer.com/api"Common Debug Patterns
Check if Cloudflare Proxy is Enabled
flarectl dns list --zone genlayer.com | grep studio
# Look for "proxied: true" in outputTest Direct to Origin (bypass Cloudflare)
# Get origin IP
dig +short studio.genlayer.com
# Test direct (if proxy disabled)
curl -v https://studio.genlayer.com/health
# Test with Host header to specific IP
curl -H "Host: studio.genlayer.com" https://<origin-ip>/health -kDiagnose 502/503 Errors
# Check if error is from Cloudflare or origin
# Cloudflare errors have cf-ray header
curl -I https://studio.genlayer.com/api 2>&1 | grep -i "cf-ray"
# Fast response (30-60ms) = Cloudflare WAF/rate limit
# Slow response (5s+) = Origin timeout
curl -w "%{time_total}s\n" -o /dev/null -s https://studio.genlayer.com/apiRate Limiting Check
# 429 with fast response = Cloudflare rate limiting
for i in {1..10}; do
curl -s -o /dev/null -w "%{http_code} %{time_total}s\n" https://studio.genlayer.com/api \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
doneGenLayer Domains
| Domain | Purpose |
| studio.genlayer.com | Production studio |
| studio-dev.genlayer.com | Dev studio |
| studio-stage.genlayer.com | Staging studio |
| rally-testnet.genlayer.com | Rally production |
| rally-devnet.genlayer.com | Rally dev |
SSL Modes
- Full: Cloudflare → Origin with any cert (allows self-signed)
- Full (Strict): Cloudflare → Origin with valid cert
- Flexible: Cloudflare terminates SSL, HTTP to origin
GenLayer uses Cloudflare Origin Certificates - requires proxy enabled and Full (Strict) mode.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

