cf-cli
Skill232 starsChanged 44 days agoMITView on GitHub
Use when the user asks for Cloudflare's `cf` CLI, `cf cli search`, or `cloudflare.config.ts` to inspect resources, manage zones or DNS, attach domains, or deploy. Existing Wrangler projects keep their configured workflow unless migration is requested.
- Installs packages
7 other projects use a version of this.
Adopted by
Most recently taken up by
- artivilla/agent-skillstheir own version, first seen Nov 8, 2026
- SAP-archive/joule-a2a-agent-toolkittheir own version, first seen Nov 8, 2026
- adrienlupo/Claude-code-configtheir own version, first seen Nov 1, 2026
- BrickerP/Personal-Skillstheir own version, first seen Oct 17, 2026
- mirzaaghazadeh/iwsdk-webxr-skillstheir own version, first seen Oct 17, 2026
- cloudflare/skillstheir own version, first seen Oct 13, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- cloudflare/skills★ 3.3ksame name
- SAP-archive/joule-a2a-agent-toolkit★ 42same name
- SAP-samples/joule-a2a-agent-toolkit★ 37same name
- adrienlupo/Claude-code-config★ 3same name
- mirzaaghazadeh/iwsdk-webxr-skills★ 1same name
- artivilla/agent-skills★ 0same name
- BrickerP/Personal-Skills★ 0same 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.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 0 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Check cf --version and the project's package manager, scripts, config, and any local cf or Wrangler dependency.
- Very specific: line 13
Run cf cli search "<action and resource type>".
- Very specific: line 14
Read cf <discovered command> --help.
- Very specific: line 15
If search misses a command, consult the official docs or inspect the exact command group once.
- Very specific: line 19
Check cf auth whoami before remote operations.
- Very specific: line 21
Read results are safe to inspect.
- Very specific: line 25
Existing Wrangler project: keep its current build and deployment path unless migration is requested.
- Very specific: line 26
New
cfproject: use cf init and the generated cloudflare.config.ts.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cloudflare cf CLI
cf 命令与覆盖范围会变化。以已安装版本和命令帮助为准,不把 Wrangler 参数直接套用。
Start with the installed CLI
- Check
cf --versionand the project's package manager, scripts, config, and any localcfor Wrangler dependency. Run project commands through the project's pinned version when present. For account-level work, the installed globalcfis fine. Cloudflare's announcement documentsnpm i -g cffor installation. - Run
cf cli search "<action and resource type>". Keep the query anonymous: no domains, account or resource IDs, names, email addresses, or tokens. Pick the relevant result; search can rank a similarly named product above the intended one. - Read
cf <discovered command> --help. For API request fields and response shape, runcf schema <discovered command without cf>. Read the specific Cloudflare documentation or API page when semantics or prerequisites matter. Do not infer flags from Wrangler. - If search misses a command, consult the official docs or inspect the exact command group once. Do not run a chain of nested
--helpcalls or guess a similarly named command.
Authenticate and select the target
- Check
cf auth whoamibefore remote operations. A Wrangler login does not establish acflogin. Usecf auth loginor an existing, appropriately scopedCLOUDFLARE_API_TOKEN; do not print, paste, log, or put token values in command arguments. If login opens a browser, follow the workspace's browser instructions. - Resolve the intended account, zone, project, Worker, hostname, and environment from the request and existing configuration before changing anything. Use a named
cfprofile or account setting when several accounts are available. - Read results are safe to inspect; for mutations, review the exact target and required permissions. Use a command's
--dry-runwhen available, then verify the remote result separately. A dry run is not deployment or domain activation.
Choose the right workflow
- Existing Wrangler project: keep its current build and deployment path unless migration is requested.
cf migratechanges project configuration; inspect the diff and test before switching. 如cf当前版本将构建委托给 Wrangler,按已安装命令与项目脚本执行。 Use the installed Wrangler skill for commands that remain on Wrangler. - New
cfproject: usecf initand the generatedcloudflare.config.ts; read the generated config and framework integration beforecf dev,cf build, orcf deploy. Do not manually copy awrangler.jsoncshape into the TypeScript config. - Zone onboarding: discover and inspect
cf zones listandcf zones create. Zone creation returns a pending zone; activation still requires the domain's nameservers or the documented partial-zone verification. Check existing zones, DNSSEC, and account scope before creating one. - Pages custom domain: discover and inspect
cf pages projects domains createfor the project/domain association. DNS and nameserver requirements depend on whether it is an apex domain, subdomain, and Cloudflare-managed zone. Association and DNS must both be verified. See Pages custom domains. - Worker custom domain: inspect the project's current routing config.
cloudflare.config.tscan declare a fetch trigger; existing Wrangler projects can userouteswithcustom_domain: true. An active Cloudflare zone and Worker are required, and a conflicting CNAME prevents attachment. Verify the deployed domain and live response. See Worker custom domains. - DNS only: discover
cf dns recordscommands, inspect the exact record before a write, and read it back afterward. A DNS record alone does not attach a Pages or Worker project.
Finish
Report the CLI version, account/resource/environment targeted, what changed, and what was actually checked. Keep CLI output and credentials separate; never turn a successful command, dry run, returned URL, or DNS record into a claim that the site works without a live readback.
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.

