cloudflare-cf-cli

cloudflare-cf-cli is a skill for Claude Code from Goodsmileduck/claude-registry. It costs 101 tokens per session (2,188 once invoked), scanned A, original, MIT.

A skill for using Cloudflare’s new unified `cf` command-line tool, which provides one command interface for many Cloudflare products. The tool is still a technical preview and differs from Wrangler, Cloudflare’s established command-line tool.

In plain words
What is it for?
It helps install and use `cf`, choose between local and remote targets, understand its flags, work alongside Wrangler, and use its agent-oriented local explorer.
Why use it?
The new CLI has changing conventions and defaults to remote resources, which can cause commands to affect the wrong environment. The guidance explains local use, version pinning, and when Wrangler remains preferable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cloud-platform-skills plugin — 7 skills shipped together

Good fit It helps install and use cf, choose between local and remote targets, understand its flags, work alongside Wrangler, and use its agent-oriented local explorer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goodsmileduck/claude-registry/cloudflare-cf-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Goodsmileduck/claude-registry --skill cloudflare-cf-cli
Clone the repo
git clone --depth 1 https://github.com/Goodsmileduck/claude-registry

Made for: Claude Code.

Or install cloud-platform-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloudflare-cf-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-cf-cli/github.svg)](https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-cf-cli)
Your own site
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-cf-cli"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-cf-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloudflare-cf-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-cf-cli"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-cf-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.02188
Opus 5.5 $0.00040 $0.00875
Sonnet 5.5 $0.00020 $0.00438
Haiku 4.5 $0.00010 $0.00219

Measured 1mo ago against content hash 45f4283b9c2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloudflare-cf-cli scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Don't reach for `cf` in CI just because it's new. Reach for it when it shortens a script you'd otherwise write with curl + jq — and pin the version when you do.
plugins/cloud-platform-skills/skills/cloudflare-cf-cli/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloudflare cf CLI

cf is Cloudflare's new unified CLI, announced April 2026, intended to eventually become the next major version of Wrangler. It exposes ~3,000 API operations across 100+ products through one consistent command surface. This skill is about using it correctly while it is still a technical preview.

When to invoke

  • The user mentions cf, npx cf, or "the new Cloudflare CLI" / "CLI for all of Cloudflare".
  • A script or workflow is about to replace wrangler ... with cf ....
  • An agent is generating cf commands and may not know the flag conventions.
  • A cf invocation behaved as if it targeted production when the user expected local.
  • The user is choosing between cf, wrangler, direct REST, the official cloudflare SDK, or Terraform.

Cross-cutting rules

  1. cf is technical preview. Only a small subset of products is wired up. Conventions can shift between releases. wrangler stays authoritative for CI/CD until cf reaches GA. Use cf for local exploration, ad-hoc agent work, and feedback. If cf must be used in a script, pin the exact version — never unpinned npx cf in CI.
  2. cf defaults to the REMOTE resource. Without --local, every mutation hits production. See the local-vs-remote trap.
  3. Token scoping rules are identical to the cloudflare-dns-zones skill — never the Global API Key, scope to minimum permissions on specific zones/accounts. For cf additionally: prefer a separate non-prod token for local work, so an accidental remote write fails 403 instead of corrupting production.
  4. Don't guess flag names by analogy. cf enforces consistent flags across the surface (--force, --json, --local). Verify with cf <command> --help rather than reaching for the synonym another CLI uses.

Verify current preview status before recommending: https://blog.cloudflare.com/cf-cli-local-explorer/. Training data ages fast on preview tools.

Don't confuse cf with neighbors

Read the full file on GitHub · 129 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 129 lines · 101 tokens per session scan A 45f4283b9c2f

Subscribe to this mod's changes

cloudflare-cf-cli is a skill published in the GitHub repository Goodsmileduck/claude-registry (1 stars, last pushed 3mo ago), licensed MIT. It adds 101 tokens to every session and 2,188 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.