Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

utility-cf-deploy-token

Skill by skanehira

Issues a scoped Cloudflare API token for one project's deployments and saves it to GitHub Actions secrets. Built for developers who deploy Workers and D1 from CI using a 1Password master token.

  • Score 58
  • 89 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install utility-cf-deploy-token

Built from the published package, never by AI.

git clone --depth 1 https://github.com/skanehira/dotfiles /tmp/dotfiles && mkdir -p ~/.claude/skills && cp -r /tmp/dotfiles/agents/skills/utility-cf-deploy-token ~/.claude/skills/utility-cf-deploy-token

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install utility-cf-deploy-token in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill creates a Cloudflare API token for deploying one project. It uses a master token stored in 1Password that has permission to create tokens. The new token is limited to Workers Scripts Write, D1 Write and Account Settings Read, which covers wrangler deploy and D1 migrations. The skill keeps the token value out of standard output and deletes the temporary file after use.

After issuing the token, the skill tests it against Workers and the D1 database, then asks the user where to keep a copy. It registers CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID as GitHub Actions secrets using the gh CLI. It is meant for developers who want a GitHub Actions workflow to deploy to Cloudflare without giving CI the master token. Changing or revoking existing tokens is out of scope.

Written from the project's SKILL.md and checked against it.

What it can do

  • Verify master tokenChecks that the 1Password master token is active before any token is created.
  • Choose deploy permissionsSelects account-level permissions for Workers Scripts, D1 and account settings.
  • Check for duplicate tokensLists existing tokens and asks the user before reusing or replacing a token with the same name.
  • Issue scoped tokenCreates a token named after the project with the chosen permissions, without an expiry by default.
  • Test the new tokenCalls Cloudflare with the new token to confirm it can reach the D1 database and Workers.
  • Ask where to store a copyOffers three options: GitHub secrets only, also save to 1Password, or do not register.
  • Register GitHub secretsSets CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID on the target repository with gh.
  • Delete temp fileRemoves the temporary token file after the secrets are set.

What you need

  • 1Password CLI (op), signed in
  • GitHub CLI (gh), authenticated for the target repository
  • A 1Password item named Cloudflare Token with credential and account_id fields
  • A Cloudflare master token that can create API tokens

Try asking

  • デプロイ用のトークンを発行して
  • Cloudflare のトークンを作って設定して
  • GitHub Actions から wrangler deploy できるようにして

Good to know

  • Does not change or revoke existing tokens
  • R2 and KV permissions are not included by default
  • Tokens have no expiry unless the user asks for one
  • The master token must not be stored in GitHub secrets

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: agents/skills/utility-cf-deploy-token/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashAskUserQuestion

Alternatives to utility-cf-deploy-token

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

utility-cf-deploy-token: common questions

Does the skill keep a copy of the new Cloudflare token?

Only if the user picks the option to save it in 1Password. Otherwise the value goes to GitHub secrets and the temporary file is deleted.

Which permissions does the issued token get?

Workers Scripts Write, D1 Write and Account Settings Read, scoped to the account. R2 and KV permissions are added only if a deploy fails and they are needed.

Can this skill revoke old Cloudflare tokens?

No. Changing permissions or revoking existing tokens is excluded, and the skill only reports unused-looking tokens to the user.

How do I install utility-cf-deploy-token?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is utility-cf-deploy-token free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is utility-cf-deploy-token safe to use?

It scores 58 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to utility-cf-deploy-token?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

utility-cf-deploy-token Install

Add to stack

Loading.