bun-toolkit

bun-toolkit is a skill for Claude Code, Codex from saski/arnesto. It costs 37 tokens per session (437 once invoked), scanned A, original, Unlicense.

A toolkit for running, installing, testing, and building JavaScript and TypeScript projects with Bun, an alternative to Node.js. It also supports TypeScript and JSX files directly.

In plain words
What is it for?
Use it to run JS or TS files, manage packages, run tests, create web builds, load environment variables, handle files, and build HTTP servers.
Why use it?
It gives Bun users one set of commands for common project tasks instead of relying on separate tools.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to run JS or TS files, manage packages, run tests, create web builds, load environment variables, handle files, and build HTTP servers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/bun-toolkit
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.

Any agent
npx skills add saski/arnesto --skill bun-toolkit
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Claude Code, Codex.

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 bun-toolkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/bun-toolkit/github.svg)](https://agentmods.dev/skills/saski/arnesto/bun-toolkit)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/bun-toolkit"><img src="https://agentmods.dev/badge/skills/saski/arnesto/bun-toolkit/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 bun-toolkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/bun-toolkit"><img src="https://agentmods.dev/badge/skills/saski/arnesto/bun-toolkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00037 $0.00437
Opus 5.5 $0.00015 $0.00175
Sonnet 5.5 $0.00007 $0.00087
Haiku 4.5 $0.00004 $0.00044

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

Security

Grade A, and why

bun-toolkit 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 2mo 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.

- **HTTP Server**: Use `Bun.serve({ fetch(req) { ... } })` for an extremely fast built-in web server.
.agents/skills/bun-toolkit/SKILL.md · 42 lines

What it actually says

Bun Toolkit

Bun is a fast, all-in-one JavaScript runtime and toolkit.

Core Features

  • Runtime: Fast JS/TS runtime, drop-in replacement for Node.js.
  • Package Manager: bun install is significantly faster than npm or yarn.
  • Test Runner: bun test provides a fast, Jest-compatible testing environment.
  • Bundler: bun build for bundling JS/TS for the web or other runtimes.

Common Commands

bun init                        # Start a new project
bun install                     # Install dependencies
bun add <package>               # Add a package
bun run <script>                # Run a package.json script
bun <file.ts>                   # Run a TS/JS file directly
bun test                        # Run tests
bun build ./index.ts --outdir ./build # Build for production

Awareness & Best Practices

  • TypeScript Support: Bun supports .ts and .tsx files out of the box. No separate compilation step needed.
  • Environment Variables: Automatically loads .env files. Access via process.env or Bun.env.
  • Fast I/O: Use Bun.file(path) and Bun.write(path, content) for high-performance file operations.
  • HTTP Server: Use Bun.serve({ fetch(req) { ... } }) for an extremely fast built-in web server.
  • SQLite: Built-in high-performance SQLite driver via import { Database } from "bun:sqlite".

When to use Bun Toolkit

  • When the project has a bun.lockb file.
  • When the user mentions "Bun".
  • When performance is a priority for JS/TS tasks (installing, testing, running).
  • For quick JS/TS scripts that need high performance.
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. 2mo ago First seen · 42 lines · 37 tokens per session scan A 2f475d71b426

Subscribe to this mod's changes

bun-toolkit is a skill published in the GitHub repository saski/arnesto (6 stars, last pushed 9d ago), licensed Unlicense. It adds 37 tokens to every session and 437 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

V3 Core Implementation

Core module implementation for claude-flow v3. Implements DDD domains, clean architecture patterns, dependency injection, and modular TypeScript codebase with comprehensive testing.

ruvnet/RuView · 37 tokens

migrate-to-shoehorn

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

mattpocock/skills · 48 tokens

typescript-test-writing

Use this skill when writing or modifying tests in the llxprt-code repository. Covers mandatory TDD, behavioral testing, bun:test conventions and file naming, mock hygiene (no mock theater), and what never to test. Distilled from dev-docs/RULES.md, which remains the source of truth.

vybestack/llxprt-code · 66 tokens

nestjs

Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…

ericrisco/rsc-harness · 81 tokens

typescript

TypeScript strict mode with eslint and jest.

alinaqi/maggy · 10 tokens

extending-personhog-test-harness

When and how to add scenarios, chaos events, and invariants to the personhog e2e test harness (rust/personhog-test-harness). Use after fixing a bug or regression in the personhog leader path (leader, router, writer, replica, coordination protocol) so the fix gets a permanent regression scenario; when adding a new…

PostHog/posthog · 134 tokens