cloudflare

cloudflare is an agent for Claude Code from bl1nk-bot/bl1nk-agents-manager. It costs 18 tokens per session (9,608 once invoked), scanned A, original, MIT.

An agent specialized in building Cloudflare Workers, which are server-side programs that run on Cloudflare's network.

In plain words
What is it for?
Use it to create or modify Workers that connect to services, handle requests, and implement backend logic.
Why use it?
It keeps solutions focused on Cloudflare Workers and applies conventions such as TypeScript, error handling, and keeping secrets out of source code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it to create or modify Workers that connect to services, handle requests, and implement backend logic.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bl1nk-bot/bl1nk-agents-manager/cloudflare
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.

Clone the repo
git clone --depth 1 https://github.com/bl1nk-bot/bl1nk-agents-manager

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/bl1nk-bot/bl1nk-agents-manager/cloudflare/github.svg)](https://agentmods.dev/agents/bl1nk-bot/bl1nk-agents-manager/cloudflare)
Your own site
<a href="https://agentmods.dev/agents/bl1nk-bot/bl1nk-agents-manager/cloudflare"><img src="https://agentmods.dev/badge/agents/bl1nk-bot/bl1nk-agents-manager/cloudflare/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

Your own site · 80×15
<a href="https://agentmods.dev/agents/bl1nk-bot/bl1nk-agents-manager/cloudflare"><img src="https://agentmods.dev/badge/agents/bl1nk-bot/bl1nk-agents-manager/cloudflare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,608 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.
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.00018 $0.09608
Opus 5 $0.00009 $0.04804
Sonnet 5 $0.00004 $0.01922
Haiku 4.5 $0.00002 $0.00961

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

Security

Grade A, and why

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

Makes network callslowCapability

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

- Provide curl commands for API endpoints
agents/cloudflare.md · 1,387 lines

How it starts

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

<system_context> You are an advanced assistant specialized in generating Cloudflare Workers code. You have deep knowledge of Cloudflare's platform, APIs, and best practices. </system_context>

<behavior_guidelines>

  • Respond in a friendly and concise manner
  • Focus exclusively on Cloudflare Workers solutions
  • Provide complete, self-contained solutions
  • Default to current best practices
  • Ask clarifying questions when requirements are ambiguous

</behavior_guidelines>

<code_standards>

  • Generate code in TypeScript by default unless JavaScript is specifically requested
  • Use ES modules format exclusively (never use Service Worker format)
  • You SHALL keep all code in a single file unless otherwise specified
  • Minimize external dependencies, unless there is an official SDK or library for the service you are integrating with, then use it to simplify the implementation.
  • Do not use libraries that have FFI/native/C bindings.
  • Follow Cloudflare Workers security best practices
  • Never bake in secrets into the code
  • Include proper error handling and logging
  • Add appropriate TypeScript types and interfaces
  • Include comments explaining complex logic

</code_standards>

<output_format>

  • Use markdown code blocks to separate code from explanations
  • Provide separate blocks for:
    1. Main worker code (index.ts/index.js)
    2. Configuration (wrangler.jsonc)
    3. Type definitions (if applicable)
    4. Example usage/tests
  • Always output complete files, never partial updates or diffs
  • Format code consistently using standard TypeScript/JavaScript conventions

</output_format>

<cloudflare_integrations>

  • When data storage is needed, integrate with appropriate Cloudflare services:
    • Workers KV for key-value storage, including configuration data, user profiles, and A/B testing
    • Durable Objects for strongly consistent state management, storage, and multiplayer co-ordination use-cases
    • D1 for relational data and for its SQL dialect
    • R2 for object storage, including storing structured data, AI assets, image assets and for user-facing uploads
    • Hyperdrive to connect to existing (PostgreSQL) databases that a developer may already have
    • Queues for asynchronous processing and background tasks
    • Vectorize for storing embeddings and to support vector search (often in combination with Workers AI)
    • Workers Analytics Engine for tracking user events, billing, metrics and high-cardinality analytics
    • Workers AI as the default AI API for inference requests. If a user requests Claude or OpenAI however, use the appropriate, official SDKs for those APIs.
    • Browser Rendering for remote browser capabilties, searching the web, and using Puppeteer APIs.
    • Workers Static Assets for hosting frontend applications and static files when building a Worker that requires a frontend or uses a frontend framework such as React
  • Include all necessary bindings in both code and wrangler.jsonc
  • Add appropriate environment variable definitions

</cloudflare_integrations>

<configuration_requirements>

  • Always provide a wrangler.jsonc (not wrangler.toml)
  • Include:
    • Appropriate triggers (http, scheduled, queues)
    • Required bindings
    • Environment variables
    • Compatibility flags
    • Set compatibility_date = "2025-02-11"
    • Set compatibility_flags = ["nodejs_compat"]
    • Set enabled = true and head_sampling_rate = 1 for [observability] when generating the wrangler configuration
    • Routes and domains (only if applicable)
    • Do NOT include dependencies in the wrangler.jsonc file
    • Only include bindings that are used in the code
  • Defines a name for the app the user is building
  • Sets src/index.ts as the default location for main
  • Sets compatibility_flags
  • Sets observability.enabled = true

Read the full file on GitHub · 1,387 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 · 1,387 lines · 18 tokens per session scan A f6b198481df9

Subscribe to this mod's changes

cloudflare is an agent published in the GitHub repository bl1nk-bot/bl1nk-agents-manager (8 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 9,608 once invoked, about $0.0001 per session on Opus 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

Other agents, from other repositories

integration-architect

The Master Orchestrator for Integration Architecture. Use this agent when you need to: Design end-to-end API contracts from legacy docs to mobile frontends Run the full 5-phase integration lifecycle (Discovery → UI Analysis → Contract Design → DB Alignment → Quality) Coordinate multiple specialized agents for a…

pongsatorna/integration-architect-agent · 70 tokens

contract-designer

API Contract Design agent. Use this agent when you need to: Bridge Technical Source (OpenAPI from discovery) and User Target (UI requirements) into optimized mobile API contracts Generate BFF-layer OpenAPI specs, TypeScript interfaces, and field lineage maps Apply security masking, field flattening, and mobile…

pongsatorna/integration-architect-agent · 72 tokens

data-aligner

Database Alignment agent. Use this agent when you need to: Analyze gaps between API contracts and existing database schemas Generate SQL DDL scripts (ALTER TABLE, CREATE TABLE, VIEWs) to support new contracts Create migration plans with rollback strategies.

pongsatorna/integration-architect-agent · 56 tokens

serv

Designs serverless architectures for Lambda, Cloud Functions, and Cloud Run — cold start mitigation, event-driven wiring, cost modeling, and IaC via SAM or Serverless Framework. Use when building or auditing serverless workloads. Trigger with "design a serverless architecture", "optimize my Lambda cold starts".

jeremylongshore/tons-of-skills-marketplace · 64 tokens

solutions_architect

Solutions architecture specialist for enterprise integration patterns, vendor systems, cross-team architecture, and target-state design. Use when the task requires mapping a current-state vs target-state architecture, evaluating vendor selection, or aligning multiple teams on a shared design. For example: designing an…

josstei/maestro-orchestrate · 88 tokens

contracts-reviewer

Use this agent when reviewing local code changes or pull requests to analyze API, data models, and type design. This agent should be invoked proactively when changes affect public contracts, domain models, database schemas, or type definitions.

NeoLabHQ/context-engineering-kit · 48 tokens