edge-computing

edge-computing is a skill for Claude Code, Codex from TheBeardedBearSAS/claude-craft. It costs 44 tokens per session (552 once invoked), scanned A, original, MIT.

Guidance for running code at edge locations, which are servers placed near users around the world.

In plain words
What is it for?
Use it for Cloudflare Workers, Deno Deploy, Vercel Edge Functions, CDN logic, geo-routing, global APIs, and edge caching.
Why use it?
It helps reduce response times and handle tasks such as regional routing, caching, and bot checks close to the user.

Skill for Claude CodeCodex

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

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.

agentmods
npx agentmods add skills/thebeardedbearsas/claude-craft/edge-computing
Any agent
npx skills add TheBeardedBearSAS/claude-craft --skill edge-computing
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code, Codex.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/edge-computing.svg)](https://agentmods.dev/skills/thebeardedbearsas/claude-craft/edge-computing)
Your own site
<a href="https://agentmods.dev/skills/thebeardedbearsas/claude-craft/edge-computing"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/edge-computing.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 552 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00044 $0.00552
Opus 5 $0.00022 $0.00276
Sonnet 5 $0.00009 $0.00110
Haiku 4.5 $0.00004 $0.00055

Measured yesterday against content hash dd5c3f29b906, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

edge-computing 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 yesterday.

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.

async fetch(req) {
.claude/skills/edge-computing/SKILL.md · 79 lines

What it actually says

Edge Computing — Cloudflare Workers, Deno Deploy

Compute global faible latence, proche utilisateur.

Platforms

Cloudflare Workers — V8, 300+ POPs, KV/Durable
Deno Deploy — Deno, 30+ POPs, TypeScript
Vercel Edge — V8, 20+ POPs, Next.js
Fastly Compute@Edge — WASM, 70+ POPs

Geo-Routing

export default {
  async fetch(req) {
    const api = req.cf.country === 'US' ? 'us-api' : 'eu-api';
    return fetch(`https://${api}.example.com${req.url}`);
  }
};

Edge Caching (KV)

const key = new URL(req.url).pathname;
let cached = await env.KV.get(key);
if (cached) return new Response(cached, { headers: { 'X-Cache': 'HIT' } });
const resp = await fetch('https://origin.com' + key);
const body = await resp.text();
await env.KV.put(key, body, { expirationTtl: 3600 });
return new Response(body, { headers: { 'X-Cache': 'MISS' } });

A/B Testing

const variant = Math.random() < 0.5 ? 'A' : 'B';
resp.cookies.set('ab_test', variant);

Bot Detection

if (/bot|crawler/i.test(req.headers.get('User-Agent'))) {
  return new Response('Forbidden', { status: 403 });
}

Durable Objects (Stateful)

export class ChatRoom {
  async fetch(req) {
    const [client, server] = Object.values(new WebSocketPair());
    this.sessions.push(server); server.accept();
    server.on('message', e => this.broadcast(e.data));
    return new Response(null, { status: 101, webSocket: client });
  }
}

Constraints

CPU 10-50ms → offload heavy
Memory 128MB → streaming
No FS → KV/R2


Voir @.claude/skills/wasm/SKILL.md

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. yesterday First seen · 79 lines · 0 tokens per session scan A dd5c3f29b906

Subscribe to this mod's changes

edge-computing is a skill published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 552 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

event-driven-architecture

Kafka, RabbitMQ, SQS/SNS, event sourcing, CQRS, saga patterns, dead letter queues, and idempotency. Use when designing asynchronous systems, implementing message-driven workflows, or building event streaming pipelines.

travisjneuman/.claude · 50 tokens

devops-cloud

DevOps, cloud infrastructure, and platform engineering. Use when working with AWS, GCP, Azure, Kubernetes, Terraform, CI/CD pipelines, or infrastructure as code.

travisjneuman/.claude · 38 tokens

edge-computing

Edge computing with Cloudflare Workers, Deno Deploy, Bun, Vercel Edge Functions, AWS Lambda@Edge, and edge databases (Turso, D1, DynamoDB Global Tables). Use when building low-latency edge applications, edge-side rendering, or globally distributed compute.

travisjneuman/.claude · 63 tokens

modal

Build serverless AI pipelines with Modal for cloud-based compute and inference.

UitbreidenOS/UitKit · 15 tokens

wshobson-ml-pipeline-workflow

Skill "wshobson-ml-pipeline-workflow" from ItamarZand88/awesome-agent-conventions, covering ml pipeline workflow, when to use this skill, what this skill provides, core capabilities and reference documentation.

ItamarZand88/awesome-agent-conventions · 0 tokens

azure-mgmt-fabric-dotnet

Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity"…

microsoft/skills · 88 tokens