bot-protection

bot-protection is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 26 tokens per session (2,472 once invoked), scanned B, original, MIT.

A guide to blocking automated programs, or bots, that scrape store data, buy limited stock, or abuse logins and checkout.

In plain words
What is it for?
Use it to protect product pages, limited releases, login forms, checkout flows, and catalog APIs with layered bot checks.
Why use it?
It helps prevent competitors from harvesting prices, scalpers from taking scarce products, and attackers from testing stolen passwords.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it to protect product pages, limited releases, login forms, checkout flows, and catalog APIs with layered bot checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/bot-protection
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 finsilabs/awesome-ecommerce-skills --skill bot-protection
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

Made for: Claude Code, Codex.

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 bot-protection

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/bot-protection/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/bot-protection)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/bot-protection"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/bot-protection/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 bot-protection

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/bot-protection"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/bot-protection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,472 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00026 $0.02472
Opus 5 $0.00013 $0.01236
Sonnet 5 $0.00005 $0.00494
Haiku 4.5 $0.00003 $0.00247

Measured 9d ago against content hash 7e66ec1db55c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

bot-protection scanned grade B with 1 finding 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 9d ago.

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 res = await fetch('https://challenges.cloudflare.com/turnstile/v0/siteverify', { method: 'POST',
skills/security-compliance/bot-protection/SKILL.md · 215 lines

How it starts

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

Bot Protection

Overview

Commerce stores face three major bot threats: scrapers that harvest pricing and inventory data for competitors, scalper bots that buy limited-inventory items instantly, and credential-stuffing bots that test stolen usernames and passwords. Effective bot protection layers platform-level defenses, a WAF (Web Application Firewall), CAPTCHA for high-risk actions, and optional behavioral analysis. For most merchants, Cloudflare provides the most effective and lowest-friction protection — it sits in front of your store regardless of platform.

When to Use This Skill

  • When launching limited-edition products prone to scalping (sneakers, concert tickets, gaming consoles)
  • When competitors are systematically scraping your product prices or inventory levels
  • When account login pages show signs of credential stuffing (high failure rates from distributed IPs)
  • When checkout funnel analytics show suspiciously fast completion times (sub-5-second checkout)
  • When your infrastructure is overwhelmed by bot traffic consuming catalog API resources

Core Instructions

Step 1: Determine the merchant's platform and choose the right tool

Platform Built-in Bot Protection Recommended Additional Layer
Shopify Shopify includes basic bot detection and rate limiting Enable Cloudflare (free plan) in front of your Shopify store for WAF rules and bot management
WooCommerce None built in — the login and checkout forms are fully exposed Wordfence (free) for login protection; Cloudflare for WAF and rate limiting
BigCommerce Basic DDoS protection included Cloudflare for advanced bot management; BigCommerce supports custom scripts for CAPTCHA
High-traffic drops (any platform) None Cloudflare Waiting Room (Business/Enterprise) or Queue-it for managed queue
Custom / Headless Must build Cloudflare + custom rate limiting + behavioral analysis

Read the full file on GitHub · 215 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. 9d ago First seen · 215 lines · 26 tokens per session scan B 7e66ec1db55c

Subscribe to this mod's changes

bot-protection is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 26 tokens to every session and 2,472 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

stealth-browser

Anti-detection behavioral rules for stealth browser automation.

WingedGuardian/GENesis-AGI · 13 tokens

securing-api-gateway-with-aws-waf

Securing API Gateway endpoints with AWS WAF by configuring managed rule groups for OWASP Top 10 protection, creating custom rate limiting rules, implementing bot control, setting up IP reputation filtering, and monitoring WAF metrics for security effectiveness.

xalgorix/xalgorix · 59 tokens

shopify-products

Create and manage Shopify products via the Admin GraphQL API or CSV import. Workflow: gather data, choose method, execute, verify. Use whenever the user wants to add products to Shopify, bulk-import a catalog from CSV/spreadsheet/URL, update variants or prices, manage inventory quantities, upload product images, or…

jezweb/claude-skills · 73 tokens

stripe-payments

Add Stripe payments to a web app — Checkout Sessions, Payment Intents, subscriptions, webhooks, customer portal, and pricing pages. Covers the decision of which Stripe API to use, produces working integration code, and handles webhook verification. No MCP server needed — uses Stripe npm package directly. Triggers…

jezweb/claude-skills · 101 tokens

parcel-tracking

Track parcels and check delivery status for Australian and international couriers. Searches Gmail for dispatch/shipping emails and provides tracking links for all major Australian couriers including AusPost, StarTrack, Aramex, CouriersPlease, Sendle, Toll, Team Global Express, DHL, FedEx, TNT, Hunter Express, Border…

jezweb/claude-skills · 112 tokens

shopify-content

Create and manage Shopify pages, blog posts, navigation menus, redirects, and SEO metadata via the Admin API or browser automation. Use whenever the user wants to add a page to a Shopify store, write a Shopify blog post, update the storefront navigation, manage redirects, or tune SEO metadata on a Shopify site.

jezweb/claude-skills · 66 tokens