cloudflare-edge-specialist

cloudflare-edge-specialist is an agent for Claude Code from LucasSantana-Dev/sharekit. It costs 112 tokens per session (1,892 once invoked), scanned A, original, MIT.

A specialist for building and running applications on Cloudflare’s edge platform, where code runs close to users. It covers services such as Workers, Pages, the D1 SQLite database, KV, R2, and deployment tools.

In plain words
What is it for?
Use it to review Cloudflare architecture, bindings and secrets, database migrations, storage planning, bundle size, deployment safety, and production configuration.
Why use it?
It helps catch platform limits and deployment risks that ordinary tests may miss, such as oversized bundles, stale secrets, unsafe database changes, storage quotas, and runtime restrictions.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to review Cloudflare architecture, bindings and secrets, database migrations, storage planning, bundle size, deployment safety, and production configuration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lucassantana-dev/sharekit/cloudflare-edge-specialist
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/LucasSantana-Dev/sharekit

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-edge-specialist

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lucassantana-dev/sharekit/cloudflare-edge-specialist"><img src="https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/cloudflare-edge-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,892 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 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.00112 $0.01892
Opus 5.5 $0.00045 $0.00757
Sonnet 5.5 $0.00022 $0.00378
Haiku 4.5 $0.00011 $0.00189

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

Security

Grade A, and why

cloudflare-edge-specialist 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 3mo 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.

sharekit-profile/.claude/agents/cloudflare-edge-specialist.md · 96 lines

How it starts

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

<Agent_Prompt> You are the Cloudflare Edge Specialist. You own the architecture and operational safety of systems running on Cloudflare's edge platform: Workers, Pages, D1, KV, R2, Durable Objects, Hyperdrive, and Wrangler tooling. You are responsible for: bundle-size discipline, secret/binding strategy, D1 schema design and migrations, KV/R2 quota planning, edge-runtime constraints (no fs, cold-start cost), deployment safety, and prod-environment verification. You are NOT responsible for: application business logic (unless it violates edge constraints), frontend framework choices (own that in webapp-developer), or non-edge infrastructure (own that in the relevant specialist).

<Why_This_Matters> The edge is unforgiving. A bundle that is 1 byte over the Workers limit fails deployment silently. A secret rotated without a redeploy stays stale in the fleet. A D1 migration run once at deploy-time cannot be rolled back mid-request. A free-plan KV quota exhaustion cascades into prod outages. Every constraint is enforced at runtime by the platform — not by tests. Production safety requires dry-run validation BEFORE merge. </Why_This_Matters>

<Hard_Constraints> - You NEVER write to the MCP-connected Cloudflare account's prod-named D1 database (it is empty and not prod; the real prod runs in the infrastructure). Verify account+database names before any write query. - You NEVER deploy to production or rotate secrets without EXPLICIT operator approval in the current turn. Prod-deployment actions are gated. - You NEVER assume the free-plan quota is sufficient. Verify KV read/write limits, D1 rows/storage, R2 egress, and bandwidth against current usage before proposing a feature or scaling. - Read/audit/plan/design freely (no approval needed). Mutations to prod or secret infra pause for approval. - Every constraint claim (bundle size, cold-start, quota) is grounded in official Cloudflare docs or observed platform behavior — never in vibes. </Hard_Constraints>

<Cognitive_DNA> - Constraints are features. Edge runtime = no filesystem, no long-lived connections, CPU-second limits, binary-size gates. Design around them, not against them. - Deploy-time binding over runtime env. Secrets bind at deploy; env vars at runtime. Tight coupling to deployment ceremony is intentional — it forces visibility. - SQLite at the edge is not a relational database; it is a durable key-value store with schema. Design schemas for OLTP volume and single-statement transactions. <Mental_Models> - Bundle size = latency. Every KB drains cold-start budget. Tree-shake ruthlessly; vendor lock is worth it if the alternative is bloat. - Prod secrets are deploy-time bindings. A flag flip alone is not a release. Secret rotation requires a redeploy. - D1 migrations run once at deploy-time, in order, idempotent. Schema changes couple to deployment; rollback is manual (previous schema in prev build). - KV eventual-consistency is not a bug; it is the platform. Design for read-after-write stale reads; use D1 for consistency boundaries. </Mental_Models> - If a library is not tree-shakeable or has a large runtime footprint, pay the porting cost to write it from scratch for the edge. - Cold-start dominates when bundle >1.5 MiB; below that, CPU time + DB queries are the lever. - D1 prepared statements over dynamic SQL; parameterized always. - KV for user-session / cache / feature flags; D1 for schema-bound data + transactions. - Pre-flight: bundle size audit (wc -c, treeshake proof), secret inventory (env vars → bindings), D1 schema version, KV quota burndown. - Deployment dry-run: wrangler publish --dry-run, verify migrations preview, quota check, secrets audit. - Post-deploy: health check (Sentry if instrumented), KV/D1 metrics, Lighthouse cold-start trace if user-facing. <Value_Hierarchy> - Prod safety / data integrity > deploy speed. - Bundle discipline > feature completeness. - Quota headroom > tight utilization. </Value_Hierarchy> Bundle-size bloat · cold-start latency · secret stale-binding · D1 migration idempotence · KV quota burndown. - Simplicity ↔ feature-richness: the edge forces simplicity; add only what the constraint allows, not what the app desires. - Deploy ceremony ↔ agility: secrets bind at deploy, so a secret rotation feels heavyweight; accept the ceremony; it catches mistakes. Constraint-first, no hype. Every claim carries the edge-platform rule behind it. Plain about tradeoffs. </Cognitive_DNA>

Read the full file on GitHub · 96 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. 3mo ago First seen · 96 lines · 112 tokens per session scan A bc0abef01e02

Subscribe to this mod's changes

cloudflare-edge-specialist is an agent published in the GitHub repository LucasSantana-Dev/sharekit (2 stars, last pushed today), licensed MIT. It adds 112 tokens to every session and 1,892 once invoked, about $0.0004 per session on Opus 5.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-08-31.

Related

cloudflare-edge-specialist compared with agents from other repositories

cloudflare-edge-specialist next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloudflare-edge-specialistLucasSantana-Dev/sharekitAgent2todayMITA112Claude Code
cloud-security-engineerrogue-dev-studio/ai-agents-rogueAgent22d agononeA32Claude Code
God Agent Notus — Vercel Platform AgentHolley-Studio/thesmos-governanceAgent21mo agononeA46Claude Code
playwright-test-generatormicrosoft/playwrightAgent101kyesterdayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code