turnstile-spin

Automates Cloudflare Turnstile setup, including widget creation, frontend embedding, and server-side validation.

2.6k|242|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/cloudflare/skills --skill turnstile-spin-cloudflare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turnstile-spin
Source: https://github.com/cloudflare/skills/tree/main/skills/turnstile-spin
Command: npx skills add https://github.com/cloudflare/skills --skill turnstile-spin-cloudflare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cloudflare-api, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup and configuration of Cloudflare Turnstile, the end-to-end process of adding CAPTCHA protection to your web forms, and integrating server-side validation.

Core Features & Use Cases

  • Automated Setup: Walks the user through the entire process of setting up Turnstile, including creating the widget, embedding it, and wiring server-side validation.
  • Widget Creation: Creates a Turnstile widget and captures the necessary sitekey and secret.
  • Backend Validation: Adds server-side siteverify calls to validate the CAPTCHA response and ensure it's coming from a real user.
  • Integration with Frontend: Generates the necessary code snippets to embed the widget on the user's website.
  • Use Case: For a developer needing to add CAPTCHA protection to a contact form on their website, this Skill automates the process, reducing manual work and ensuring the integration is secure and effective.

Quick Start

Use the turnstile-spin skill to add Cloudflare Turnstile to your form.

Frequently Asked Questions about turnstile-spin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Cloudflare Turnstile to my web form?

You can automate the complete setup of Cloudflare Turnstile, which handles widget creation to capture your sitekey and secret, generates frontend embedding snippets, and wires server-side siteverify calls for backend CAPTCHA validation.

What do I need to configure Cloudflare Turnstile automatically?

To configure Cloudflare Turnstile automatically, you need a web project using Cloudflare and a valid Cloudflare API token with the appropriate permissions to create widgets and manage CAPTCHA settings.

How does server-side validation work for Cloudflare Turnstile?

Server-side validation for Cloudflare Turnstile works by sending the CAPTCHA response from the frontend widget to a backend siteverify endpoint, ensuring the form submission is coming from a real user before processing the request.

Can I use Cloudflare Turnstile to protect a contact form on my website?

Yes, you can use Cloudflare Turnstile to protect a contact form on your website by automatically generating the widget, embedding it in your frontend, and integrating the backend validation logic to prevent automated bot submissions.

What is the best way to automate CAPTCHA setup for a Cloudflare web project?

The best way to automate CAPTCHA setup for a Cloudflare web project is to use an automated configuration process that handles widget creation, frontend code snippet generation, and server-side siteverify integration simultaneously.