protect-route

protect-route is a skill for Claude Code 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it only when documenting an older setup; new route or endpoint protection should use the Arcjet skill instead.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arcjet/arcjet-plugin/protect-route
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 arcjet/arcjet-plugin --skill protect-route
Clone the repo
git clone --depth 1 https://github.com/arcjet/arcjet-plugin

Made for: Claude Code.

Or install arcjet, the plugin that ships this one along with the rest of its 12 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/github.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/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 protect-route

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00038 $0.00130
Opus 5.5 $0.00015 $0.00052
Sonnet 5.5 $0.00008 $0.00026
Haiku 4.5 $0.00004 $0.00013

Measured 1mo ago against content hash ccdbdc87039c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 1mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 130 once invoked, about $0.0002 per session on Opus 5.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

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 0 tokens

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens

telephony-and-conferencing

Runs voice and meeting infrastructure — phone systems and numbers, emergency calling obligations, conference rooms and their AV, call recording and its retention consequences, and the porting that makes provider changes go badly. Use this to replace a phone system, fix rooms nobody can start a meeting in, meet…

cbrock84/headcount · 85 tokens

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens