用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/genlayerlabs/genlayer-studio --skill cloudflare-cli命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cloudflare-cli |
| description | Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl |
Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl.
brew install cloudflare/cloudflare/flarectlexport CF_API_TOKEN=<token># List all zones
flarectl zone list
# Get zone details
flarectl zone info --zone genlayer.com
# 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>
# 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"
flarectl dns list --zone genlayer.com | grep studio
# Look for "proxied: true" in output
# 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 -k
# 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/api
# 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}'
done
| 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 |
GenLayer uses Cloudflare Origin Certificates - requires proxy enabled and Full (Strict) mode.