AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Edge Computing

skill-travisjneuman-claude-edge-computing · by travisjneuman

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.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-travisjneuman-claude-edge-computing

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-travisjneuman-claude-edge-computing)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Edge Computing? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Edge Computing

Platforms

| Platform | Runtime | Cold Start | Limits | |----------|---------|------------|--------| | Cloudflare Workers | V8 isolates | ~0ms | 128MB, 30s CPU | | Deno Deploy | V8 isolates | ~0ms | 512MB, 50ms CPU | | Vercel Edge Functions | V8 isolates | ~0ms | 128MB, 25s | | AWS Lambda@Edge | Node.js | ~100ms | 128MB, 5s (viewer) | | Bun | JavaScriptCore | N/A (server) | No hard limits |

Cloudflare Workers

export default {
  async fetch(request: Request, env: Env): Promise {
    const url = new URL(request.url);

    // KV storage
    const cached = await env.KV.get(url.pathname);
    if (cached) return new Response(cached, { headers: { 'Cache-Control': 'max-age=60' } });

    // D1 database
    const { results } = await env.DB.prepare('SELECT * FROM users WHERE id = ?')
      .bind(url.searchParams.get('id'))
      .all();

    // Durable Objects for state
    const id = env.COUNTER.idFromName('global');
    const obj = env.COUNTER.get(id);
    const count = await obj.fetch(request);

    return new Response(JSON.stringify(results));
  }
};

Edge Databases

| Database | Type | Best For | |----------|------|----------| | Cloudflare D1 | SQLite | Workers-native, SQL at edge | | Turso | libSQL (SQLite) | Multi-region replicas, embedded | | Cloudflare KV | Key-value | Simple caching, config | | Durable Objects | Stateful | Real-time, coordination, counters | | Upstash Redis | Redis | Rate limiting, sessions at edge |

Deno Deploy

Deno.serve(async (req: Request) => {
  const kv = await Deno.openKv();
  const url = new URL(req.url);

  if (req.method === "POST") {
    const body = await req.json();
    await kv.set(["items", crypto.randomUUID()], body);
    return new Response("Created", { status: 201 });
  }

  const entries = kv.list({ prefix: ["items"] });
  const items = [];
  for await (const entry of entries) items.push(entry.value);
  return Response.json(items);
});

Patterns

  • Edge-side rendering: SSR at the edge for <50ms TTFB globally
  • Smart routing: Geo-aware request routing based on request.cf.country
  • Edge caching: Cache API for fine-grained control, stale-while-revalidate
  • Rate limiting: Sliding window counters with Durable Objects or Upstash
  • A/B testing: Edge-side feature flags without origin round-trips
  • Image optimization: On-the-fly transforms at edge (Cloudflare Images, Imgproxy)

Constraints & Gotchas

  • No Node.js APIs (fs, net, etc.) in V8 isolate runtimes
  • No native modules or binaries (use WASM for compute-heavy work)
  • Limited CPU time per request — offload heavy work to queues
  • Cold starts are near-zero for isolates but real for Lambda@Edge
  • Database connections: use HTTP-based clients, not TCP connection pools

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.