Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets up, repairs, or migrates Cloudflare Turnstile bot verification in existing frontends and backends, including server-side Siteverify.
48% 100%+52 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 11 of 23 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
For static sites or any project without a JS framework. The widget renders client-side; the form submits to whatever backend handles your form (a Node/PHP/Ruby/Go server, a Cloudflare Worker, a Pages Function, a third-party form host that supports server-side hooks, etc.).
<!doctype html>
<html>
<head>
<script
src="https://challenges.cloudflare.com/turnstile/v0/api.js"
async
defer
></script>
</head>
<body>
<form action="/api/subscribe" method="POST">
<input name="email" type="email" required />
<div
class="cf-turnstile"
data-sitekey="YOUR_SITEKEY"
data-action="subscribe"
></div>
<button type="submit">Subscribe</button>
</form>
</body>
</html>
When the form submits, the browser includes cf-turnstile-response automatically. Your backend reads it and calls canonical siteverify.
Add this to your existing /api/subscribe handler before the rest of its logic:
// Node / fetch idiom
const expectedHostnames = new Set(
(process.env.TURNSTILE_HOSTNAMES ?? '')
.split(',')
.map((h) => h.trim())
Next to this one in the catalogue, plus more from the same author.