Skills Explorer Add Skills

turnstile-spin

An agent skill by cloudflare, from cloudflare/skills. Tags: authentication, cloudflare, integration, security, web.

What it does

Set up, repair, or migrate to Cloudflare Turnstile bot verification in an existing frontend and backend, including server-side Siteverify.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add cloudflare/skills --skill turnstile-spin

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/cloudflare/skills
cp -r skills/skills/turnstile-spin ~/.claude/skills/turnstile-spin

Safety box score

Grade D, elevated risk: 47 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill sets up Cloudflare Turnstile end to end: it runs local helper scripts, calls Cloudflare APIs, edits the project’s frontend/backend, and stores a Turnstile secret in the user’s chosen secret store. The main risks are authenticated network access to Cloudflare, secret handling, and irreversible widget creation/update/delete operations in the user’s Cloudflare account.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It explicitly runs shell scripts and other commands: "invoke the scripts under `scripts/`" and the scripts call `curl`, `python3`, `jq`, and `git`.
Network access2 (moderate)The skill makes authenticated requests to Cloudflare and Turnstile endpoints, e.g. `curl ... https://api.cloudflare.com/client/v4/accounts/...` and `https://challenges.cloudflare.com/turnstile/v0/siteverify`.
Filesystem reach2 (moderate)It can write outside the project tree into user locations and secret stores, including `~/.cf-turnstile-token` and bundle installs under `.claude/skills/turnstile-spin` / similar home-dotdirs.
Secrets & credentials3 (high)It handles bearer tokens and the Turnstile secret directly, including `CLOUDFLARE_API_TOKEN`, `WIDGET_SECRET`, and writing `TURNSTILE_SECRET` into `.env` or a platform secret manager.
Privilege & persistence0 (none)It does not require sudo, services, global installs, or persistent OS/git/shell configuration changes; the scripts stay within user-space and per-command git options.
Instruction hijack surface0 (none)I did not find instructions to ignore safeguards, skip confirmations, hide actions, or follow remote prompt injection; it instead tells the agent to treat repository/API data as untrusted.
Irreversible actions2 (moderate)It creates and manages external resources in the user’s Cloudflare account, including widget creation, domain updates via PUT, validation, and accidental-widget cleanup via DELETE.
Transparency1 (low)The shipped scripts are readable text, but the workflow depends on remote Cloudflare API responses and a GitHub clone in `scripts/persist-skill.sh`, so some behavior is external to the bundle.

Before installing

Rated 2026-10-19 by an automated review of 14 files from the skill's repository.

Source

Repository
cloudflare/skills (all skills from this repository)
Path
skills/turnstile-spin/SKILL.md
Branch
main
Updated
2026-09-20