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.
git clone --depth 1 https://github.com/Nevaberry/nevaberry-pluginsnpx agentmods add skills/nevaberry/nevaberry-plugins/bun-knowledge-patchWrote 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/nevaberry/nevaberry-plugins/bun-knowledge-patch)<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.
<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>- NVIDIA SkillSpector pass
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.00008 | $0.02865 |
| Opus 5.5 | $0.00003 | $0.01146 |
| Sonnet 5.5 | $0.00002 | $0.00573 |
| Haiku 4.5 | $0.00001 | $0.00286 |
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. | 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. |
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.
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.
- today Changed · +19 lines ea02d4f34bbe
- 3mo ago First seen · 199 lines · 8 tokens per session scan A 76dd205c0f3d
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.
bun-knowledge-patch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bun-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | yesterday | MIT | A | 8 | Claude Code |
| node-modernWrongStack/WrongStack | Skill | 447 | today | MIT | A | 123 | Claude Code, Codex |
| better-authsecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 53 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 41 | Claude Code |
| pinme-emailglitternetwork/pinme | Skill | 3.8k | 2mo ago | MIT | A | 35 | Claude Code, Codex |
| rpcfinom/vovk | Skill | 57 | 5d ago | MIT | A | 347 | Claude Code |
| basefinom/vovk | Skill | 57 | 5d ago | MIT | A | 123 | Claude Code |