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 G1Joshi/Agent-Skills --skill bungit clone --depth 1 https://github.com/G1Joshi/Agent-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/g1joshi/agent-skills/bun)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/bun"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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/g1joshi/agent-skills/bun"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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.00043 | $0.01294 |
| Opus 5.5 | $0.00017 | $0.00518 |
| Sonnet 5.5 | $0.00009 | $0.00259 |
| Haiku 4.5 | $0.00004 | $0.00129 |
Grade A, and why
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 26d 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.
fetch(req) { How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bun
Bun is a drop-in replacement for Node.js, written in Zig. It is fast. v1.1 brings Windows support.
When to Use
- All-in-One JavaScript/TypeScript Runtime: Ultra-fast alternative to Node.js for server-side apps, bundlers, and package managers.
- High-Performance HTTP Services: Building web APIs using
Bun.serve()with native WebSocket and TLS support. - Rapid Package Management: Executing
bun installwith 10x-30x speedups over legacy package managers. - Built-in SQLite & Testing: Developing microservices with zero-dependency native SQLite (
bun:sqlite) andbun:test.
Quick Start
// server.ts
const server = Bun.serve({
port: 3000,
fetch(req) {
const url = new URL(req.url);
if (url.pathname === "/api/health") {
return Response.json({ status: "ok", runtime: "bun" });
}
return new Response("Hello from Bun!", { status: 200 });
},
});
console.log(`Listening on http://localhost:${server.port}`);
Core Concepts
High-Throughput HTTP Server with Bun.serve()
Native HTTP/1.1 and HTTP/2 web server with WebSockets:
const server = Bun.serve({
port: 3000,
fetch(req, server) {
const url = new URL(req.url);
// WebSocket upgrade
if (url.pathname === "/chat") {
if (server.upgrade(req)) return;
return new Response("Upgrade failed", { status: 400 });
}
if (url.pathname === "/api/health") {
return Response.json({ status: "healthy", timestamp: Date.now() });
}
return new Response("Not Found", { status: 404 });
},
websocket: {
message(ws, message) {
ws.send(`Echo: ${message}`);
},
open(ws) {
console.log("WebSocket client connected");
},
close(ws) {
console.log("WebSocket client disconnected");
},
},
});
console.log(`Bun server running at http://localhost:${server.port}`);
Native SQLite with bun:sqlite
High-speed zero-dependency embedded database:
import { Database } from "bun:sqlite";
const db = new Database("app.db", { create: true });
// Execute schema creation
db.run(`
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
email TEXT UNIQUE NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
)
`);
// Prepared statement
const insert = db.prepare("INSERT INTO users (email) VALUES ($email)");
insert.run({ $email: "[email protected]" });
const query = db.prepare("SELECT * FROM users WHERE email = $email");
const user = query.get({ $email: "[email protected]" });
console.log("Found user:", user);
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.
- 26d ago Changed · +5 lines a155fcb96223
- 1mo ago Changed · +124 lines · +25 tokens per session 0a14c2a425ce
- 1mo ago First seen · 45 lines · 18 tokens per session scan A 665eacd91569
bun is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 26d ago), licensed MIT. It adds 43 tokens to every session and 1,294 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-09-03.
Other skills, from other repositories
bun-runtime-expert
Expert guide for Bun 1.2+ JavaScript/TypeScript runtime — native Bun.sql Postgres client, Bun.s3 object storage, text lockfile, multi-core HTTP clusters, and bun:test / Panduan ahli runtime Bun 1.2+.
js-backend-expert
Expert-level skill for Node.js 24+ (LTS), Bun 1.2+, and Deno 2.x backend development. Covers Express 5, Fastify 5, Hono v4, NestJS, Prisma 6, Drizzle ORM, WebSockets, BullMQ, OpenTelemetry, and microservices in English and Indonesian.
dbos-typescript
Guide for building reliable, fault-tolerant TypeScript applications with DBOS durable workflows. Use when adding DBOS to existing TypeScript code, creating workflows and steps, or using queues for concurrency control.
nodejs-backend-patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.
api-and-interface-design
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
nodejs-backend-patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.