Agent skill

Cloudflare CLI

by genlayerlabs in genlayerlabs/genlayer-studio

Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl

MITAuto-check passed

Install Cloudflare CLI

skills CLI
$ npx skills add genlayerlabs/genlayer-studio --skill cloudflare-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install genlayerlabs/genlayer-studio cloudflare-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/genlayerlabs/genlayer-studio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cloudflare-cli .claude/skills/cloudflare-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cloudflare-cli
GitHub stars
180
Token cost
~692 tokens
SKILL.md length
106 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl

  • SKILL.md covers Prerequisites, Commands, Common Debug Patterns and GenLayer Domains, plus 1 more section
  • Calls curl and brew; reaches studio.genlayer.com; needs CF_API_TOKEN

What it does

Cloudflare CLI is an agent skill from genlayerlabs/genlayer-studio. Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Cloudflare. The repository describes itself as: An interactive sandbox to explore the GenLayer Protocol. The licence is MIT.

Example prompts

  • “/cloudflare-cli”

Requirements

  • A credential in CF_API_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit c940729. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • studio.genlayer.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CF_API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cloudflare CLI loads about 692 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 106 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~692

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from genlayerlabs/genlayer-studio at commit c940729, republished under its MIT licence (© genlayerlabs). 106 words, ~692 tokens.

Download SKILL.mdSave it as .claude/skills/cloudflare-cli/SKILL.md (or your agent's skills folder).
name
cloudflare-cli
description
Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl

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
bash
# List all zones
flarectl zone list

# Get zone details
flarectl zone info --zone genlayer.com
DNS Records
bash
# 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
bash
# 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
bash
flarectl dns list --zone genlayer.com | grep studio
# Look for "proxied: true" in output
Test Direct to Origin (bypass Cloudflare)
bash
# 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
Diagnose 502/503 Errors
bash
# 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
Rate Limiting Check
bash
# 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

GenLayer Domains

DomainPurpose
studio.genlayer.comProduction studio
studio-dev.genlayer.comDev studio
studio-stage.genlayer.comStaging studio
rally-testnet.genlayer.comRally production
rally-devnet.genlayer.comRally 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.

© genlayerlabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/cloudflare-cli of genlayerlabs/genlayer-studio.

Open the folder on GitHubat commit c940729

Compare with similar skills

Cloudflare CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cloudflare CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cloudflare CLI this skillgenlayerlabs/genlayer-studio180—~692Automated safety check: PassMIT
Cloudflare Browser Renderingcloudflare/moltworker9.9k—~742Automated safety check: PassApache-2.0
Turnstile Spincloudflare/skills3k4 repos~7.2kAutomated safety check: NotesApache-2.0
Star Office UI Setupringhyacinth/Star-Office-UI7.5k—~1.3kAutomated safety check: PassMIT
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT
Webhome Extension Builderwebhtv/webhtv1.7k—~2.8kAutomated safety check: PassGPL-3.0

Similar skills

  • Cloudflare Browser Rendering

    cloudflare/moltworker

    Official

    Drives headless Chrome through Cloudflare Browser Rendering over a CDP WebSocket to take screenshots, navigate and scrape pages, and record multi-page videos.

    9.9k GitHub stars~742 tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • Turnstile Spin

    cloudflare/skills

    Official

    Set up, repair, or migrate to Cloudflare Turnstile bot verification in an existing frontend and backend, including server-side Siteverify.

    3k GitHub starsUsed in 4 repos~7.2k tokens
    Frontend & DesignAuto-check: notes
  • Star Office UI Setup

    ringhyacinth/Star-Office-UI

    Sets up Star Office UI, a pixel-art office dashboard that shows AI agent states, lets other agents join and can be opened from a phone or a public link.

    7.5k GitHub stars~1.3k tokensUpdated 7 mo ago
    Agent WorkflowsAuto-check passed
  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Build, review, debug, reverse-engineer, and package WebHome injected extension scripts for FongMi/WebHome App WebView pages.

    1.7k GitHub stars~2.8k tokensUpdated yesterday
    SecurityAuto-check passed
  • Nextjs On Cloudflare

    cloudflare/skills

    Official

    Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext.

    3k GitHub starsUsed in 2 repos~678 tokens
    DevOps & CloudAuto-check passed

More from genlayerlabs/genlayer-studio

All 10 skills in this repo
  • Create PR

    genlayerlabs/genlayer-studio

    Create GitHub pull requests by analyzing branch diff and following the project template

    180 GitHub stars~635 tokensUpdated 8 days ago
    Auto-check passed
  • Discord Community Feedback

    genlayerlabs/genlayer-studio

    Monitor Discord community channel for user-reported bugs and issues

    180 GitHub stars~786 tokensUpdated 8 days ago
    Auto-check passed
  • Hosted Studio Debug

    genlayerlabs/genlayer-studio

    Debug GenLayer Studio deployments via ArgoCD CLI. An agent skill from genlayerlabs/genlayer-studio.

    180 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Integration Tests

    genlayerlabs/genlayer-studio

    Setup Python virtual environment and run integration tests with gltest

    180 GitHub stars~1.1k tokensUpdated 8 days ago
    Auto-check passed
  • Linear Issue Fixer

    genlayerlabs/genlayer-studio

    Fetch the most urgent Linear issue with tag "studio" and size XS, then fix it

    180 GitHub stars~2.2k tokensUpdated 8 days ago
    Auto-check passed
  • Sentry Issue Fixer

    genlayerlabs/genlayer-studio

    Fetch, analyze, fix Sentry issues, run tests, and create PRs

    180 GitHub stars~2k tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Cloudflare CLI

What does Cloudflare CLI do?

Debug and manage Cloudflare DNS, cache, and proxy settings using flarectl. Cloudflare CLI is an agent skill from genlayerlabs/genlayer-studio.

How do I install Cloudflare CLI in Claude Code?

Run `npx skills add genlayerlabs/genlayer-studio --skill cloudflare-cli -a claude-code`. Or copy the skill folder (.claude/skills/cloudflare-cli in genlayerlabs/genlayer-studio) into .claude/skills/cloudflare-cli in your project. Claude Code loads it when a task matches its description.

How do I install Cloudflare CLI in Codex?

Run `npx skills add genlayerlabs/genlayer-studio --skill cloudflare-cli -a codex`. Or copy the skill folder (.claude/skills/cloudflare-cli in genlayerlabs/genlayer-studio) into .agents/skills/cloudflare-cli in your project. Codex loads it when a task matches its description.

Can I use Cloudflare CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add genlayerlabs/genlayer-studio --skill cloudflare-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudflare-cli, .gemini/skills/cloudflare-cli, .github/skills/cloudflare-cli and .opencode/skills/cloudflare-cli in your project.

What does Cloudflare CLI need to run?

Going by SKILL.md and its folder, Cloudflare CLI needs the command-line tools its instructions call (curl and brew) and credentials named CF_API_TOKEN. Our summary lists: A credential in CF_API_TOKEN.

Does Cloudflare CLI access the network?

SKILL.md names 1 domain. In commands or code: studio.genlayer.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Cloudflare CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cloudflare CLI use?

Cloudflare CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cloudflare CLI use?

About 692 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cloudflare CLI?

Skills that share tags, products or a category with Cloudflare CLI: Cloudflare Browser Rendering (cloudflare/moltworker, 9.9k stars), Turnstile Spin (cloudflare/skills, 3k stars), Star Office UI Setup (ringhyacinth/Star-Office-UI, 7.5k stars) and Cloudflare (hodgef/apiker, 127 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cloudflare CLI?

genlayerlabs (a GitHub organization) maintains it in genlayerlabs/genlayer-studio, which has 180 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 30, 2026.

Source: genlayerlabs/genlayer-studio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.