cdn-rate-limiting

cdn-rate-limiting is a skill for Claude Code from controlplane-com/ai-plugin. It costs 55 tokens per session (2,406 once invoked), scanned A, original, MIT.

A guide to placing a CDN, which caches and delivers web content from edge locations, and request rate limiting in front of Control Plane workloads.

In plain words
What is it for?
Use it to configure Cloudflare or CloudFront origins, cache traffic, limit requests per route or key, and reduce overload or denial-of-service traffic.
Why use it?
It explains how to use external CDN services and a rate-limiting service when the platform has no built-in CDN or rate-limit resource.

Skill for Claude Code

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

Part of the cpln plugin — 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to configure Cloudflare or CloudFront origins, cache traffic, limit requests per route or key, and reduce overload or denial-of-service traffic.

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

Made for: Claude Code.

Or install cpln, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server.

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 cdn-rate-limiting

README.md
[![agentmods](https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/cdn-rate-limiting/github.svg)](https://agentmods.dev/skills/controlplane-com/ai-plugin/cdn-rate-limiting)
Your own site
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/cdn-rate-limiting"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/cdn-rate-limiting/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 cdn-rate-limiting

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/cdn-rate-limiting"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/cdn-rate-limiting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.02406
Opus 5.5 $0.00022 $0.00962
Sonnet 5.5 $0.00011 $0.00481
Haiku 4.5 $0.00006 $0.00241

Measured 1mo ago against content hash 93742f679bcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cdn-rate-limiting scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **CDN serves:** `curl -I https://SUBDOMAIN` shows the CDN's header (`cf-cache-status` on Cloudflare, `x-cache` on CloudFront).
plugins/cpln/skills/cdn-rate-limiting/SKILL.md · 130 lines

How it starts

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

CDN & Rate Limiting

Two edge concerns, both built from existing primitives — there is no CDN or rate-limit resource kind. A CDN is bring-your-own (Cloudflare / CloudFront) pointed at the workload's canonical endpoint; rate limiting is an Envoy ratelimit service you deploy, enabled per workload by cpln/rateLimit* tags. Assumes the workload primer (firewall deny-by-default, canonical URL rules, create-then-verify).

CDN

The pattern: the CDN proxies your domain and uses the workload's canonical endpoint as origin — read it from status.canonicalEndpoint or mcp__cpln__list_deployments, never construct it. A workload endpoint gives precise geo-routing and per-workload failover; a GVC endpoint serves one CDN route for many domains or wildcard subdomains, but keeps sending traffic to every location even when that location's workload is down.

Cloudflare

  1. DNS at Cloudflare: proxied CNAME (orange cloud on) from your subdomain to the canonical endpoint; SSL/TLS mode Full (strict).
  2. Origin certificate (SSL/TLS, then Origin Server; RSA 2048) becomes a Control Plane TLS secret — create_secret type tls with values: "user" (the user types the cert and key in the Console), TLS chain left empty (the origin cert is self-signed).
  3. Domain at Control Plane: mcp__cpln__create_domain (CNAME DNS mode), then one mcp__cpln__update_domain call: addPorts sets the secret as the listener's custom server certificate (tls.serverCertificate.secretLink) and addRoutes routes it to the workload. The apex domain must be verified before configuring a subdomain.

Amazon CloudFront

  1. ACM public certificate in us-east-1 (CloudFront requires that region), DNS validation, covering your subdomain or wildcard.
  2. Distribution: origin = the workload's canonical endpoint (BYOK: the per-location endpoint from mcp__cpln__list_deployments); alternate domain name = your subdomain; attach the ACM cert.
  3. DNS: CNAME your subdomain to the distribution's *.cloudfront.net name.

Read the full file on GitHub · 130 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. 1mo ago Changed 93742f679bcd
  2. 2mo ago Changed · -1 lines 1dc4149eea0a
  3. 2mo ago Changed · -19 lines f288b173f3aa
  4. 3mo ago First seen · 150 lines · 55 tokens per session scan A 8a275471320e

Subscribe to this mod's changes

cdn-rate-limiting is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 2,406 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

cdn-rate-limiting compared with skills from other repositories

cdn-rate-limiting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cdn-rate-limitingcontrolplane-com/ai-pluginSkill12yesterdayMITA55Claude Code
ak-cloud-deployyaalalabs/agent-kernelSkill195todayApache-2.0A204Claude Code, Codex
huawei-cloud-cce-env-assessmenthuaweicloud/huaweicloud-skillsSkill59todayMITA69Claude Code, Codex
cloud-native-aws-serverlessj4flmao/agent-skillsSkill4715d agoMITA84Claude Code, Codex
cloud-native-kubernetes-masteryj4flmao/agent-skillsSkill4715d agoMITA85Claude Code, Codex
cloud-native-azure-functionsj4flmao/agent-skillsSkill4715d agoMITA82Claude Code, Codex
cloud-native-security-defensivej4flmao/agent-skillsSkill4715d agoMITA91Claude Code, Codex