Skip to content
Skill

Bun runtime

Guides your agent on using Bun for running, installing, bundling and testing JavaScript

Bun runtime is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
73
Last commit
License
MIT
Listing updated

Similar skills

About Bun runtime

This skill covers Bun, a JavaScript and TypeScript toolkit that combines a runtime, package manager, bundler and test runner. It tells the agent when Bun is a better fit than Node and when Node remains the safer choice, such as for legacy tooling or dependencies with known Bun problems. It also covers moving an existing Node project over, with equivalent commands for running scripts, installing packages and using npx-style one-off runs.

The guidance includes dependency management commands such as adding, updating, auditing and deduplicating packages, along with notes on monorepo workspaces and the bun.lock lockfile. It points the agent toward Bun's built-in APIs for file I/O, SQLite, HTTP servers, SQL, Redis and S3 before adding a third-party package. Deployment notes cover pinning the Bun version on Vercel and using frozen lockfile installs for reproducible builds.

The skill is instruction-only with no bundled scripts. Working through it requires the Bun CLI to be installed, and the agent is told to check the local version with bun --version because flag names can change between releases.

When your agent uses it

Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (6 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/bun-runtime:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bun-runtime &&
cp -R "$tmp/.agents/skills/bun-runtime" ~/.claude/skills/bun-runtime &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/bun-runtime inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/bun-runtime to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bun-runtime &&
cp -R "$tmp/.agents/skills/bun-runtime" ~/.agents/skills/bun-runtime &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/bun-runtime inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/bun-runtime to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bun-runtime &&
cp -R "$tmp/.agents/skills/bun-runtime" ~/.cursor/skills/bun-runtime &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/bun-runtime inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/bun-runtime

Or copy the folder to ~/.gemini/skills/bun-runtime yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bun-runtime:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bun-runtime &&
cp -R "$tmp/.agents/skills/bun-runtime" ~/.copilot/skills/bun-runtime &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/bun-runtime inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/bun-runtime into your agent's skills folder as bun-runtime. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Runtime versus Node choice
Explains when Bun suits a project and when Node is the better option.
Node migration steps
Maps common Node commands such as node, npm install and npx to Bun equivalents.
Package management commands
Covers adding, updating, auditing, deduplicating and pruning dependencies with Bun.
Built-in API guidance
Points to Bun's native file, SQLite, server, SQL, Redis and S3 APIs.
Test runner usage
Describes bun test with its Jest-like API and options for CI sharding and parallel runs.
Vercel deployment settings
Shows how to pin the Bun version and build and install commands for Vercel.

Good for

  • Migrate a Node project to run on Bun
  • Set up bun test for a TypeScript codebase
  • Decide whether Bun or Node fits a new project
  • Configure a Bun build for a Vercel deployment
  • Audit and clean up dependencies in a Bun workspace monorepo

Bun runtime FAQ

Does Bun runtime require any scripts or extra tools?

It ships no scripts. It assumes the Bun CLI is installed and advises checking the version with bun --version before relying on flags.

Which lockfile does Bun runtime expect?

It recommends bun.lock, the text lockfile used by current Bun versions. It notes that older bun.lockb files can still be read for migration.

Does Bun runtime change my project when used?

The skill itself is guidance. Some commands it describes, such as bun audit fix and bun add, do modify dependencies and the lockfile, and it asks the agent to treat them as installs.

How do I install Bun runtime in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bun-runtime to use it in all your projects, or to .claude/skills/bun-runtime in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Bun runtime run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Bun runtime?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Bun runtime?

The closest alternatives to Bun runtime are Build tooling, Antfu, V development, Sandbox NPM install and Nuxt.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 73 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 73 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 73 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 73 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 73 GitHub stars
    • Finance and payments