cf-cli

cf-cli is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 68 tokens per session (980 once invoked), scanned B, original, MIT.

A command-line workflow for managing Cloudflare account resources such as databases, key-value storage, object storage, DNS, tunnels, worker secrets, caches, and browser runs.

In plain words
What is it for?
Use it to query or change Cloudflare account resources, with checks such as identity confirmation and dry runs before changes.
Why use it?
It provides specific rules for choosing the account-management command instead of the separate deployment and development tool, reducing mistakes with accounts, targets, and remote resources.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to query or change Cloudflare account resources, with checks such as identity confirmation and dry runs before changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/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 YuDefine/nuxt-supabase-starter --skill cf-cli
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

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 cf-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/cf-cli/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/cf-cli)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/cf-cli"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/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 cf-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/cf-cli"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/cf-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 980 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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.00068 $0.00980
Opus 5.5 $0.00027 $0.00392
Sonnet 5.5 $0.00014 $0.00196
Haiku 4.5 $0.00007 $0.00098

Measured 14d ago against content hash 614ebe0e3330, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cf-cli scanned grade B with 2 findings 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 14d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

( f="$(mktemp)"; trap 'rm -f "$f"' EXIT; trap 'exit 130' INT TERM; chmod 600 "$f"

Makes network callslowCapability

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

description: "Use when void 做不到的 Cloudflare 帳號資源查詢或異動(D1/KV/R2/DNS/zone/tunnel/Worker secret/cache),或把 curl 帳號操作改寫成 cf。NOT for void 能做的部署、dev、migration、secret、網域。"
template/.claude/skills/cf-cli/SKILL.md · 47 lines

What it actually says

cf CLI

fleet 邊界:部署、本機 dev、型別、D1 migration、secret sync、網域優先用 void;void 做不到的帳號資源操作才走官方 cf CLI(npm cf,github.com/cloudflare/cf)。NEVER 用 wrangler。哪些操作不走 cf(CI 步驟、程式碼內 API client、cf 未覆蓋端點)見 cloudflare-workers.md § 8。cf 仍是 beta,本 skill 只寫已實測的語意差,NEVER 把這裡或記憶中的指令當權威。

SOP

Phase 1 -- 起手:準備 cf 與身分

  1. READ 讀取 rules/安裝與認證判準.md。
  2. DELEGATE 執行 cf --version;未安裝或版本不是已載入規則指定的版本,依規則經 mise 安裝後再確認。
  3. DELEGATE 多帳號環境在任何異動前執行 cf auth whoami,確認是目標帳號。

Phase 2 -- 找到正確指令

  1. THINK 先判這個動作 void 能不能做(部署、dev、型別、D1 migration/execute、secret、網域、log、rollback);能做就用 void,查指令語法先看專案 node_modules/void/skills/void/SKILL.md,本 skill 到此為止。
  2. DELEGATE void 做不到才走 cf:第一次用某個子指令、或指令失敗時,依已載入規則執行 cf cli search "<動作 + 資源類型>" → <指令> --help;要查 API 欄位用 cf schema <指令去掉開頭 cf>。
  3. READ 要改打 cf,或要把既有 wrangler/curl 指令改寫時,讀取 rules/void與cf語意差判準.md,逐列對照後才寫新指令。

Phase 3 -- 異動

  1. DELEGATE 異動類指令先加 --dry-run 跑一次。
  2. THINK 確認 dry run 印出的 request 指向正確帳號、資源與環境(--dry-run 不經 API 驗證,只看 request 本身)後才實跑。

Phase 4 -- 推送 Worker secret(僅限 secrets.md § 唯一例外的情境)

  1. READ 讀取 rules/Secret推送判準.md。
  2. DELEGATE 依已載入規則設定好編輯器後執行下列命令(值不進 argv):
( f="$(mktemp)"; trap 'rm -f "$f"' EXIT; trap 'exit 130' INT TERM; chmod 600 "$f"
  "${EDITOR:-vi}" "$f"
  #   {"<NAME>": {"type": "secret_text", "text": "<值>"}, ...}   ← JSON merge patch,key 是 secret 名稱
  cf workers secrets bulk --worker <worker-name> --file "$f" )

Description 原文(E1 搬入)

frontmatter description 上限 250 字元(白名單 300);被縮掉的觸發詞、流程敘述與 NOT for 全文留在這裡,不刪內容。

Use when void 做不到的 Cloudflare 帳號資源查詢或異動(D1/KV/R2/DNS/zone/tunnel/Worker secret/cache/browser-run),或把 curl 帳號操作改寫成 cf;從 wrangler 遷移時,void 能做的先換成 void,只有 void 不涵蓋的才換成 cf。NOT for void 能做的部署、本機 dev、型別、D1 migration、secret sync、網域(走 void)。

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. 14d ago Changed · +6 lines · -41 tokens per session 614ebe0e3330
  2. 1mo ago Changed · +1 lines · +43 tokens per session 8e8cf27f04f0
  3. 1mo ago Changed · -7 lines 91cbcde709c3
  4. 1mo ago Changed · -1 lines 3ca325954490
  5. 2mo ago First seen · 48 lines · 66 tokens per session scan B 5131cde4ec4c

Subscribe to this mod's changes

cf-cli is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 980 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.

Related

cf-cli compared with skills from other repositories

cf-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cf-cliYuDefine/nuxt-supabase-starterSkill45todayMITB68Claude Code
nw-par-critique-dimensionsnWave-ai/nWaveSkill63816d agoMITA37Claude Code
nw-investigation-techniquesnWave-ai/nWaveSkill63816d agoMITA21Claude Code
nw-deployment-strategiesnWave-ai/nWaveSkill63816d agoMITA57Claude Code
launchRune-kit/runeSkill962d agoMITA51Claude Code
watchdogRune-kit/runeSkill962d agoMITA44Claude Code
vercel-supabase-launch-checkohad6k/VibeRavenSkill654d agoMITA137Claude Code