cloudflare-router

cloudflare-router is a skill for Claude Code from oyi77/1ai-skills. It costs 33 tokens per session (801 once invoked), scanned A, original, MIT.

An API-based tool for managing Cloudflare DNS, CDN, SSL, web application firewall rules, tunnels, and edge caching.

In plain words
What is it for?
It helps create DNS records and subdomains, configure tunnel routes and reverse proxies, deploy edge settings, and monitor service health.
Why use it?
It reduces manual infrastructure work when connecting domains, routing traffic, and applying Cloudflare security or caching settings.

Skill for Claude Code

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

Part of the 1ai-skills plugin — 209 skills, 4 commands shipped together

Good fit It helps create DNS records and subdomains, configure tunnel routes and reverse proxies, deploy edge settings, and monitor service health.

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

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 209 skills, 4 commands.

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 cloudflare-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/cloudflare-router/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/cloudflare-router)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/cloudflare-router"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/cloudflare-router/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 cloudflare-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/cloudflare-router"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/cloudflare-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 801 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. 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.00033 $0.00801
Opus 5 $0.00016 $0.00400
Sonnet 5 $0.00007 $0.00160
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade A, and why

cloudflare-router 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 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.

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.

core/cloudflare-router/SKILL.md · 126 lines

How it starts

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

Cloudflare Router

When to Use

Trigger phrases:

  • "cloudflare router"

  • "Adding new subdomains pointing to local services"

  • "Managing Cloudflare Tunnel ingress rules"

  • "Generating nginx reverse proxy configs"

  • Adding new subdomains pointing to local services

  • Managing Cloudflare Tunnel ingress rules

  • Generating nginx reverse proxy configs

  • Deploying DNS records to Cloudflare

  • Monitoring service health and status

When NOT to Use

  • When the task can be solved with existing standard libraries
  • When the infrastructure is already in place and working
  • When the added complexity does not provide measurable benefit

Overview

Cloudflare Router is a foundational core infrastructure skill that provides system foundation capabilities for the agent ecosystem.

Architecture

  • Input layer — Receives and validates incoming requests
  • Processing layer — Core logic for system foundation
  • Output layer — Formats and delivers results
  • State management — Maintains context across invocations

Configuration

  • Set up required environment variables and paths
  • Configure logging level and output format
  • Define resource limits (memory, time, API calls)
  • Enable/disable features via configuration flags

Integration

  • Exposes standard interfaces for other skills to consume
  • Supports event-driven and request-response patterns
  • Compatible with the 1ai-skills hook system
  • Logs metrics for the skill performance monitor

Anti-Rationalization Table

Rationalization Reality
"I will add monitoring later" Without monitoring, you cannot detect failures. Add it from day one.
"One model is enough" Different tasks need different models. Route intelligently.
"Premature optimization" Infrastructure decisions are hard to change later. Design for scale early.
# Example: Model routing
ROUTES = {
    "code": ["claude-sonnet-4-20250514", "gpt-4o"],
    "vision": ["gemini-2.5-pro", "gpt-4o"],
    "fast": ["gemini-2.5-flash", "gpt-4o-mini"],
}

def route_request(task: str, prompt: str):
    models = ROUTES.get(task, ROUTES["fast"])
    for model in models:
        try:
            return call_model(model, prompt)
        except Exception:
            continue
    raise RuntimeError("All models failed")

Read the full file on GitHub · 126 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 · 126 lines · 33 tokens per session scan A c01cffc4cfa9

Subscribe to this mod's changes

cloudflare-router is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 801 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.