CLI Finder / tools / cloudflare-wrangler

Workers、D1、KV、R2 操作のための Cloudflare Wrangler

Workers デプロイ、D1、KV、R2、Pages、ログ操作に使う Cloudflare CLI。

Agent 適合度: 80/100 検証済み発行元 継続的にメンテナンス中
80 /100

Very useful for Cloudflare operations, but deploy and data commands need approval gates.

Structured output 72/100

Whether the CLI can return JSON, YAML, or stable machine-readable output.

Non-interactive use 78/100

Whether common workflows can run predictably without an interactive prompt.

Safety boundaries 60/100

Whether read-only, dry-run, scoped auth, and destructive command boundaries are clear.

インストール方法

npm $ npm i -g wrangler

よく使うコマンド

Check version · 安全 $ wrangler --version

Confirms the installed CLI.

List deployments · 安全 $ wrangler deployments list

Inspects recent Worker deployments.

Deploy Worker · 要確認 $ wrangler deploy

Changes production infrastructure and should be approved.

Agent 使用例

Codex CLI Use global wrangler for Cloudflare checks. Avoid concurrent wrangler commands and ask before deploy or data mutation.

安全メモ

  • Read commands such as deployments list and d1 execute SELECT are useful for diagnostics.
  • Deploy, KV writes, R2 deletes, and D1 mutation commands should require approval.
  • For automation, prefer CLOUDFLARE_API_TOKEN over interactive OAuth.

Agent が使えること

Wrangler は Cloudflare 設定確認、デプロイ確認、Workers 公開、制限された D1/KV 操作に役立ちます。

向いている用途

Cloudflare Workers プロジェクトで、本番操作に明示承認と API token 自動化が必要な場合に適しています。