bun-knowledge-patch

bun-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 8 tokens per session (2,865 once invoked), scanned A, original, MIT.

A reference guide for developing with Bun, a JavaScript runtime and toolkit that can run servers, tests, builds, and packages. It also covers Bun's compatibility with Node.js, the JavaScript runtime many projects already use.

In plain words
What is it for?
Use it when working on Bun applications, packages, builds, tests, servers, databases, networking, workspaces, runtime APIs, or Node.js compatibility.
Why use it?
Bun's behavior and compatibility can differ from older documentation or from Node.js. The guide helps check current details before relying on outdated advice or changing Node-oriented code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bun build ./src/server.ts --target=bun --outdir ./dist.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it when working on Bun applications, packages, builds, tests, servers, databases, networking, workspaces, runtime APIs, or Node.js compatibility.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins
agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/bun-knowledge-patch

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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-knowledge-patch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/bun-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/bun-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,865 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00008 $0.02865
Opus 5.5 $0.00003 $0.01146
Sonnet 5.5 $0.00002 $0.00573
Haiku 4.5 $0.00001 $0.00286

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

Security

Grade A, and why

bun-knowledge-patch 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 today.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| Spawn types | Replace deprecated `Bun.Spawn.OptionsObject` with `Bun.Spawn.BaseOptions` or the specific `spawn` or `spawnSync` option type. |
plugins/knowledge-patch/patches-claude/bun-knowledge-patch/SKILL.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bun knowledge patch

Load this skill for Bun migrations, package management, builds, testing, runtime APIs, database clients, HTTP servers, and Node.js compatibility. Use the quick reference for common decisions and the topic files for detailed options, examples, limitations, and version-specific behavior.

Reference index

Reference Topics
Builds and frontend HTML, CSS, HMR, plugins, transforms, checking, formatting, executable assets, bytecode, sourcemaps
Databases and storage SQL adapters, parameters, transactions, SQLite, Redis, S3, credentials
HTTP and networking Routes, cookies, CSRF, HTTP protocols, fetch, proxies, TLS, WebSockets, sockets, DNS
Node.js compatibility Built-ins, native addons, workers, VM, files, streams, cryptography, diagnostics, remaining differences
Packages and workspaces Lockfiles, linkers, catalogs, registries, trust, audits, updates, scripts, packing, publishing
Runtime and platforms CLI, environment, subprocesses, FFI, data formats, images, Markdown, WebView, cron, WebAssembly, profiling
Testing Isolation, parallel workers, sharding, selection, hooks, retries, mocks, snapshots, reporting, Node tests

Breaking changes and deprecations

Area Guidance
HTTP routing The static option became routes. Providing routes makes the top-level fetch handler optional.
Server types Bun.Server<Data> describes WebSocket .data; use Bun.Server<undefined> without WebSockets. Replace Bun.ServeOptions with Bun.Serve.Options.
Build types Replace Bun.Build.Target with Bun.Build.CompileTarget.
Spawn types Replace deprecated Bun.Spawn.OptionsObject with Bun.Spawn.BaseOptions or the specific spawn or spawnSync option type.
Server debugging Bun.serve() ignores the removed inspector option. Start with bun --inspect server.ts.
Build errors Bun.build() rejects on failure. Set throw: false to receive errors in result.logs.
Filesystem removal fs.rmdir(path, { recursive: true }) throws ERR_INVALID_ARG_VALUE. Use await fs.rm(path, { recursive: true, force: true }) with node:fs/promises; omit unset options instead of explicitly passing undefined.
Node HTTP Replace res.writeHeader() with res.writeHead().
Mock resets jest.resetAllMocks() and vi.resetAllMocks() reset implementations and calls. Use clearAllMocks() to retain implementations.
C strings new CString(ptr) returns a string without pointer or byte-buffer accessors. Retain the C pointer separately if the caller owns the allocation.
SQL passwords Bun.SQL stops reading generic PASSWORD. Use PGPASSWORD, MYSQL_PASSWORD, a connection URL, or the password option.
SQL transpilation Babel and SWC loose-mode output for sql tagged templates throws TypeError. Disable loose mode for template literals.
Runtime CSS Runtime stylesheet default exports are {}. A .module.css class-name map comes from bundling.
Node mode Bun running as node skips automatic environment files. Use node --env-file=.env ./app.js for explicit loading.
TOML Invalid unquoted strings, missing newlines between pairs, and unsafe integers raise SyntaxError, including in bunfig.toml.
Client certificates For mTLS with Bun.serve() or Bun.listen(), set requestCert: true alongside ca; ca alone no longer requests a certificate.
Publishing Prerelease publishing requires an explicit tag such as bun publish --tag beta or publishConfig.tag. Git dependencies require Git 2.24 or newer.

Read the full file on GitHub · 218 lines

Files

What ships with it

8 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.

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. today Changed · +19 lines ea02d4f34bbe
  2. 3mo ago First seen · 199 lines · 8 tokens per session scan A 76dd205c0f3d

Subscribe to this mod's changes

bun-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 2,865 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

bun-knowledge-patch compared with skills from other repositories

bun-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bun-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA8Claude Code
node-modernWrongStack/WrongStackSkill447todayMITA123Claude Code, Codex
better-authsecondsky/claude-skillsSkill2572d agoMITA53Claude Code
hono-routingsecondsky/claude-skillsSkill2572d agoMITA41Claude Code
pinme-emailglitternetwork/pinmeSkill3.8k2mo agoMITA35Claude Code, Codex
rpcfinom/vovkSkill575d agoMITA347Claude Code
basefinom/vovkSkill575d agoMITA123Claude Code