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.
npx skills add DaleSeo/bun-skills --skill cloudflare-to-bungit clone --depth 1 https://github.com/DaleSeo/bun-skillsWrote 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.
[](https://agentmods.dev/skills/daleseo/bun-skills/cloudflare-to-bun)<a href="https://agentmods.dev/skills/daleseo/bun-skills/cloudflare-to-bun"><img src="https://agentmods.dev/badge/skills/daleseo/bun-skills/cloudflare-to-bun/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.
<a href="https://agentmods.dev/skills/daleseo/bun-skills/cloudflare-to-bun"><img src="https://agentmods.dev/badge/skills/daleseo/bun-skills/cloudflare-to-bun.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.02913 |
| Opus 5.5 | $0.00016 | $0.01165 |
| Sonnet 5.5 | $0.00008 | $0.00583 |
| Haiku 4.5 | $0.00004 | $0.00291 |
Grade A, and why
cloudflare-to-bun 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> { How it starts
The opening of the file, as written. The whole thing — 506 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cloudflare Workers to Bun Migration
You are assisting with migrating Cloudflare Workers applications to Bun. This involves converting edge runtime APIs, replacing Cloudflare bindings, and adapting from edge to server deployment.
Quick Reference
For detailed patterns, see:
- Runtime APIs: runtime-apis.md - Cloudflare to Bun API mapping
- Bindings Migration: bindings.md - KV, R2, D1, Durable Objects replacements
- Deployment: deployment.md - Edge to server deployment strategies
Migration Workflow
1. Pre-Migration Analysis
Check current setup:
# Check Cloudflare CLI
wrangler --version
# Check Bun installation
bun --version
# Analyze wrangler.toml
cat wrangler.toml
Review worker configuration:
# Check compatibility flags
grep compatibility_flags wrangler.toml
# Check bindings
grep -E "kv_namespaces|r2_buckets|d1_databases|durable_objects" wrangler.toml
2. Worker Types Analysis
Determine what type of Worker you're migrating:
- Service Worker: Traditional
addEventListener('fetch')format - Module Worker: Modern
export default { fetch() }format - Scheduled Worker: Cron triggers
- Durable Objects: Stateful objects
- Pages Functions: Next.js-like file-based routing
3. Runtime API Conversion
Basic Fetch Handler
Cloudflare Worker (Module format):
export default {
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
return new Response('Hello World');
},
};
Bun Server:
Bun.serve({
port: 3000,
fetch(request: Request): Response | Promise<Response> {
return new Response('Hello World');
},
});
console.log('Server running on http://localhost:3000');
Request/Response Handling
Cloudflare Worker:
export default {
async fetch(request: Request): Promise<Response> {
const url = new URL(request.url);
if (url.pathname === '/api/data') {
return Response.json({ data: 'value' });
}
return new Response('Not found', { status: 404 });
},
};
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 506 lines · 39 tokens per session scan A ff5021ade4c6
cloudflare-to-bun is a skill published in the GitHub repository DaleSeo/bun-skills (4 stars, last pushed 10mo ago), licensed MIT. It adds 39 tokens to every session and 2,913 once invoked, about $0.0002 per session on Opus 5.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.
cloudflare-to-bun compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cloudflare-to-bunDaleSeo/bun-skills | Skill | 4 | 10mo ago | MIT | A | 39 | Claude Code |
| hf-cloud-python-env-setuphuggingface/skills | Skill | 11k | 3d ago | Apache-2.0 | A | 128 | Claude Code |
| aws-sst-developmentsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 26 | Claude Code |
| azure-storage-blob-rustmicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 57 | Claude Code |
| latchbio-integrationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| modal-serverless-gpusynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| tensorpool-gpu-cloudsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 34 | Claude Code, Codex |