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

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.

agentmods
npx agentmods add skills/goodsmileduck/claude-registry/cloudflare-cf-cli
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00051 $0.01094
Sonnet 5 $0.00020 $0.00438
Haiku 4.5 $0.00010 $0.00219

Measured 5d ago against content hash 45f4283b9c2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 1mo ago), licensed MIT. It adds 101 tokens to every session and 2,188 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

implementing-infrastructure-as-code-security-scanning

This skill covers implementing automated security scanning for Infrastructure as Code (IaC) templates using tools like Checkov, tfsec, and KICS. It addresses detecting misconfigurations in Terraform, CloudFormation, Kubernetes manifests, and Helm charts before deployment, establishing policy-based governance, and…

xalgorix/xalgorix · 81 tokens

hunt-cicd

Hunt CI/CD pipeline vulnerabilities — GitHub Actions workflow injection (pullrequesttarget Pwnrequest + ${{ }}-into-shell), self-hosted runner poisoning, OIDC trust-policy abuse, Jenkins script-console RCE and CVE-2024-23897 file read, GitLab CI runner-token registration, Terraform state file leakage, artifact/log…

uphiago/recon-skills · 118 tokens

cloudbees_oc

CloudBees Operations Center integration for cross-controller deployment visibility and feature flag correlation during RCA.

Arvo-AI/aurora · 22 tokens

alerting-irm

Configure Grafana Alerting, Incident Response Management (IRM), and SLOs end-to-end — provisions Grafana-managed and data-source-managed alert rules, contact points (Slack/PagerDuty/email/webhook), notification policies with hierarchical matchers, silences, mute timings, on-call schedules and escalation chains…

hardisgroupcom/sfdx-hardis · 182 tokens

scheduled-jobs

Covers cron and scheduled work done right — idempotency, preventing overlapping runs, monitoring for missed and failed runs, alerting on silence, and getting time zones and DST transitions correct. Use this whenever the user is writing a cron job or Kubernetes CronJob, asks why a scheduled job ran twice or didn't run…

arjunprabhulal/devops-skills · 121 tokens

gitops

Establishes Git as the single source of truth for deployed state, with a pull-based controller reconciling the cluster to match a repo instead of humans or pipelines pushing changes via kubectl or helm. Use this whenever the user designs a deployment repo layout, asks how environments should be promoted, debates…

arjunprabhulal/devops-skills · 122 tokens