protect-route

protect-route is a skill for Claude Code, Codex from arcjet/arcjet-plugin. It costs 38 tokens per session (130 once invoked), scanned A, a copy of add-request-protection, Apache-2.0.

A deprecated server-route security skill for rate limits, bot checks, email validation, and abuse prevention.

In plain words
What is it for?
Use it only when documenting an older setup; new route or endpoint protection should use the Arcjet skill instead.
Why use it?
It is no longer the preferred solution because its functionality has been replaced by the Arcjet skill.

Skill for Claude CodeCodex

Part of the arcjet plugin — 11 skills, 1 agent shipped together

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.

agentmods
npx agentmods add skills/arcjet/arcjet-plugin/protect-route
Any agent
npx skills add arcjet/arcjet-plugin --skill protect-route
Clone the repo
git clone --depth 1 https://github.com/arcjet/arcjet-plugin

Made for: Claude Code, Codex.

Or install arcjet, the plugin that ships this one along with the rest of its 11 skills, 1 agent.

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 protect-route

README.md
[![agentmods](https://agentmods.dev/badge/skills/arcjet/arcjet-plugin/protect-route.svg)](https://agentmods.dev/skills/arcjet/arcjet-plugin/protect-route)
Your own site
<a href="https://agentmods.dev/skills/arcjet/arcjet-plugin/protect-route"><img src="https://agentmods.dev/badge/skills/arcjet/arcjet-plugin/protect-route.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 130 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% 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 $0.00038 $0.00130
Opus 5 $0.00019 $0.00065
Sonnet 5 $0.00008 $0.00026
Haiku 4.5 $0.00004 $0.00013

Measured 4d ago against content hash ccdbdc87039c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

protect-route scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to add-request-protection — 2 lines 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/arcjet/skills/protect-route/SKILL.md · 15 lines

What it actually says

Deprecated — Use arcjet

This skill has been replaced by the unified arcjet skill, which covers HTTP route protection (this skill's scope) plus non-HTTP code paths (tool calls, MCP handlers, queue workers) in a single skill.

Please use the arcjet skill instead.

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. 4d ago First seen · 15 lines · 38 tokens per session scan A ccdbdc87039c

Subscribe to this mod's changes

protect-route is a skill published in the GitHub repository arcjet/arcjet-plugin (1 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 130 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to add-request-protection, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

browser-validator

Automatically validate implementations in real browsers after code is written or when user says "test this", "test what you built in the browser", "check it in a real browser", or "validate at the breakpoints". Uses Chrome DevTools MCP to test responsive breakpoints (320px, 768px, 1024px), check accessibility…

kanopi/cms-cultivator · 99 tokens

design-analyzer

Automatically extract technical requirements from design references when user mentions Figma, uploads images, or says "implement this design". Analyzes colors, typography, spacing, layout, and maps to WordPress blocks or Drupal paragraph fields. Provides detailed specifications for developers including exact values…

kanopi/cms-cultivator · 65 tokens

drupalorg-issue-helper

Quick help with drupal.org issue templates, formatting, contributing patches, and best practices. Invoke when user asks "how do I write a bug report?", "drupal.org issue template", "issue formatting", "I have a patch", "contribute back", "submit my fix", "I fixed a bug in a module", or needs help structuring issue…

kanopi/cms-cultivator · 90 tokens

responsive-styling

Automatically generate mobile-first responsive CSS/SCSS when creating component styles or mentioning responsive design. Implements standard breakpoints (768px, 1024px), ensures WCAG AA color contrast, creates touch-friendly interfaces (44px minimum targets), adds proper focus indicators, supports reduced motion…

kanopi/cms-cultivator · 76 tokens

documentation-generator

Automatically generate documentation when user mentions needing API docs, README files, user guides, developer guides, or changelogs. Analyzes code and generates appropriate documentation based on context. Invoke when user mentions "document", "docs", "README", "API documentation", "guide", "changelog", or "how to…

kanopi/cms-cultivator · 69 tokens

test-scaffolding

Automatically generate test scaffolding when user writes new code without tests or mentions needing tests. Supports unit, integration, e2e, and data tests for PHP and JavaScript. Invoke when user mentions "tests", "testing", "coverage", "write tests", or shows new untested code.

kanopi/cms-cultivator · 64 tokens