turnstile-spin

turnstile-spin is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 33 tokens per session (6,580 once invoked), scanned B, a copy of turnstile-spin, Apache-2.0.

A guide for adding Cloudflare Turnstile bot verification to a website and its server. Turnstile is a CAPTCHA-like service that checks whether a request is likely from a human.

In plain words
What is it for?
Use it to add the Turnstile widget to supported frontends, connect it to an existing backend, run server-side Siteverify checks, and validate the integration.
Why use it?
It ensures verification is checked on the server as well as shown in the browser, rather than trusting browser data alone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions AGENTS.md.

Part of the cloudflare-skills plugin — 16 skills shipped together

Good fit Use it to add the Turnstile widget to supported frontends, connect it to an existing backend, run server-side Siteverify checks, and validate the integration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/turnstile-spin
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,181 stars · on GitHub · claudesettings.com

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 fcakyon/claude-codex-settings --skill turnstile-spin
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install cloudflare-skills, the plugin that ships this one along with the rest of its 16 skills.

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 turnstile-spin

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/turnstile-spin/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/turnstile-spin)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/turnstile-spin"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/turnstile-spin/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 turnstile-spin

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/turnstile-spin"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/turnstile-spin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,580 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 95% copy Near-identical to another mod 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.00033 $0.06580
Opus 5.5 $0.00013 $0.02632
Sonnet 5.5 $0.00007 $0.01316
Haiku 4.5 $0.00003 $0.00658

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

Security

Grade B, and why

turnstile-spin 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 17d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/auth-probe.sh, scripts/persist-skill.sh, scripts/validate.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const r = await fetch('https://challenges.cloudflare.com/turnstile/v0/siteverify', { method: 'POST',

Makes network callslowCapability

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

2. **CLI check.** Spin's helper scripts use `curl` against `api.cloudflare.com`. Account enumeration requires either an explicit `$CLOUDFLARE_ACCOUNT_ID` or a user-approved canonical absolute `WRANGLER_BIN` outside the p
Origin

This is a copy

95% identical to turnstile-spin — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/cloudflare-skills/skills/turnstile-spin/SKILL.md · 338 lines

How it starts

The opening of the file, as written. The whole thing — 338 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Turnstile Spin skill

Turns the prompt "set up Turnstile" into a working end-to-end integration: a widget, frontend snippets at every chosen insertion point, canonical server-side siteverify in the customer's existing backend, and a real validation pass before reporting success.

You are the agent. Run the wizard below by invoking the scripts under scripts/ and branching on their JSON output. The scripts hold the deterministic logic (API calls, retry/error handling); your job is orchestration, codebase reading, confirmation, and the frontend + backend edits.

This file is the canonical machine-readable behavior. Product requirements come from the Turnstile documentation, and the hosted prompt must mirror this behavior.

Framework references

Read the reference for the existing frontend when wiring the integration:

Frontend Reference
Vanilla HTML vanilla-html
Next.js App Router nextjs-app
Next.js Pages Router nextjs-pages
Astro astro
SvelteKit sveltekit
Hugo hugo

When to load this skill

Load when the user's prompt mentions any of:

  • "Turnstile", "CAPTCHA", "bot protection"
  • "siteverify", "cf-turnstile-response"
  • "protect this form", "protect this endpoint", "protect this button", "stop bot signups", "spam signups", "block bots on "
  • A specific signup, login, contact form, download, comment, API endpoint, or other user-triggered request combined with "Cloudflare" or "bot"

Do not load for unrelated Cloudflare tasks (Workers, Pages, R2, etc.) unless Turnstile is also mentioned.

Choose the flow before responding

Inspect the user's prompt before starting the numbered wizard. If it says the widget is already created and provides one or more sitekeys, go directly to the existing-widget flow below. Do not run, summarize, or propose the widget-creation flow. Otherwise, use the numbered creation wizard.

Read the full file on GitHub · 338 lines

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. 17d ago Changed 55a233b9aedd
  2. 1mo ago First seen · 338 lines · 33 tokens per session scan B 2f18f17f5afc

Subscribe to this mod's changes

turnstile-spin is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,181 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 6,580 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 95% identical to turnstile-spin, differing in 1 line, and is treated as a copy.

Related

Other skills, from other repositories

github-pr-workflow

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

paperclipai/paperclip · 39 tokens

chisle

Maximum-efficiency dev mode: terse zero-fluff prose + YAGNI/ladder-first code. Use when user says "chisle mode", "activate chisle", "chislify", "be efficient", "be minimal", "no fluff", "yagni", or invokes /chisle. Deactivate: "stop chisle" / "normal mode".

JayPokale/Chisle · 79 tokens

dsh-plugin-publisher

A release tool for DSH plugins, where DSH is the DeepSeek Harness used to load these add-ons. It validates an existing plugin package, publishes it through npm, Git, or a tarball, and checks that the harness can load it.

lovstudio/skills · 82 tokens

lov-skill-pricing

A pricing workflow for creating an explanation-backed pricing card for an AI agent skill. It considers creation and maintenance effort, user value, scarcity, buyer confidence, and distribution potential.

lovstudio/skills · 78 tokens

lov-media-crawler

A workflow for downloading one publicly accessible video or media post from supported Chinese social platforms to a local file, using existing sign-in access when available.

lovstudio/skills · 91 tokens

lov-align-wechat-uiux

A WeChat compatibility guide for finding and fixing differences between your product and WeChat's messages, chats, contacts, Moments, and interactions. It traces problems from stored data and message meaning through the interface.

lovstudio/skills · 70 tokens