
Bun runtime
Guides your agent through using Bun for installs, scripts, bundling, tests and Vercel
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
- 71
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Bun runtime
This skill gives the agent working knowledge of Bun, an all-in-one JavaScript and TypeScript toolkit that covers running code, installing packages, bundling and testing. It explains when Bun is a good fit compared with Node, and when Node remains the safer choice because of ecosystem or legacy tooling concerns.
For existing projects, the skill walks through migrating from Node by swapping node invocations for bun run, using bun install in place of npm, and treating bun x as the npx equivalent. It also covers Vercel setup, including selecting the Bun runtime in project settings and using frozen-lockfile installs for reproducible deploys. Examples show env-file loading, the built-in bun test runner with a Jest-style API, and a few Bun runtime APIs such as Bun.file and Bun.serve.
The skill is instructions only, with no bundled scripts. It assumes the Bun CLI is installed locally and works with JavaScript or TypeScript projects.
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 (3 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 egc plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Fmarzochi/EGC
/plugin install egc@egcOr copy only this skill to ~/.claude/skills/bun-runtime:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.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.
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/Fmarzochi/EGC.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.
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/Fmarzochi/EGC.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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Fmarzochi/EGC.git --path .agents/skills/bun-runtimeOr copy the folder to ~/.gemini/skills/bun-runtime yourself.
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/Fmarzochi/EGC.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.
Get the folder:
git clone --depth 1 https://github.com/Fmarzochi/EGC.gitThen copy EGC/.agents/skills/bun-runtime into your agent's skills folder as bun-runtime. Agents that support SKILL.md read one folder per skill.
What it does
- Runtime selection guidance
- Explains when to choose Bun over Node based on speed, toolchain consolidation and compatibility trade-offs.
- Node migration steps
- Covers replacing node, npm install and npx calls with their Bun equivalents.
- Built-in test runner
- Shows how to write and run tests with bun test, including watch mode.
- Lockfile handling
- Describes the bun.lock and older bun.lockb formats and committing the lockfile for reproducible installs.
- Vercel deployment setup
- Outlines setting the Bun runtime and build and install commands for Vercel projects.
- Runtime API examples
- Demonstrates reading files with Bun.file and starting an HTTP server with Bun.serve.
Good for
- Migrate an existing Node project to Bun for installs and scripts
- Set up a TypeScript project to run and test with Bun
- Configure a Vercel deployment to build and run with Bun
- Write a Bun test file using the Jest-style API
- Decide whether Bun or Node fits a new project
Bun runtime FAQ
Does the skill run any scripts or change my files?
No. It contains only instructions and examples, with no bundled scripts.
Can I keep using npm packages with Bun?
The skill says most packages work with bun install, but it recommends checking for known issues in specific dependencies.
What lockfile does Bun use?
Current Bun versions use a text lockfile named bun.lock by default. Older versions used the binary bun.lockb.
Which Vercel settings does Bun runtime cover?
It covers setting the runtime to Bun, the build command and an install command using bun install --frozen-lockfile.
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 egc plugin, which includes it: /plugin marketplace add Fmarzochi/EGC, then /plugin install egc@egc.
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 Bun runtime, Vercel sandbox, Uno sandbox, Build tooling and Briq sandbox.
Where this comes from
- Description: from the skill's own SKILL.md.
More from Fmarzochi/EGC

Gives agents a structured workflow to capture, diagnose and recover from their own
- Open source
- 71 GitHub stars
- Developer tools

Builds a repo-specific EGC install plan that sorts components into daily and library sets
- Open source
- 71 GitHub stars
- Developer tools

Guides an agent through consistent REST API design: naming, status codes, pagination
- Open source
- 71 GitHub stars
- Developer tools

Drafts long-form articles, guides and newsletters in a consistent, specific voice
- Open source
- 71 GitHub stars
- Writing style

Guides an agent through Node.js and Express backend design, data access and error handling
- Open source
- 71 GitHub stars
- Developer tools

Builds a reusable writing style profile from your own samples for consistent copy
- Open source
- 71 GitHub stars
- Writing style




