Bun
bastani-inc/atomic
A skill your agent uses when building, testing, and deploying JavaScript/TypeScript applications.
A skill your agent uses when building, running, testing, or bundling JavaScript/TypeScript applications.
$ npx skills add galfrevn/apollo --skill bun -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install galfrevn/apollo bun --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/galfrevn/apollo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bun .claude/skills/bun && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "bun" agent skill from https://github.com/galfrevn/apollo/tree/main/.agents/skills/bun into .claude/skills/bun/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bun", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/galfrevn/apollo/tree/main/.agents/skills/bunType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add galfrevn/apollo --skill bun -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install galfrevn/apollo bun --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/galfrevn/apollo.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/bun .agents/skills/bun && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bun" agent skill from https://github.com/galfrevn/apollo/tree/main/.agents/skills/bun into .agents/skills/bun/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bun", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add galfrevn/apollo --skill bun -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install galfrevn/apollo bun --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/galfrevn/apollo.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/bun .cursor/skills/bun && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "bun" agent skill from https://github.com/galfrevn/apollo/tree/main/.agents/skills/bun into .cursor/skills/bun/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bun", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/galfrevn/apollo.git --path .agents/skills/bun--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add galfrevn/apollo --skill bun -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install galfrevn/apollo bun --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/galfrevn/apollo.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/bun .gemini/skills/bun && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "bun" agent skill from https://github.com/galfrevn/apollo/tree/main/.agents/skills/bun into .gemini/skills/bun/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bun", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install galfrevn/apollo bunInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add galfrevn/apollo --skill bun -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/galfrevn/apollo.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/bun .github/skills/bun && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "bun" agent skill from https://github.com/galfrevn/apollo/tree/main/.agents/skills/bun into .github/skills/bun/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bun", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add galfrevn/apollo --skill bun -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install galfrevn/apollo bun --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/galfrevn/apollo.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/bun .opencode/skills/bun && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "bun" agent skill from https://github.com/galfrevn/apollo/tree/main/.agents/skills/bun into .opencode/skills/bun/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bun", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
bunA skill your agent uses when building, running, testing, or bundling JavaScript/TypeScript applications.
Bun is an agent skill from galfrevn/apollo. Use when building, running, testing, or bundling JavaScript/TypeScript applications. Reach for Bun when you need to execute scripts, manage dependencies, run tests, or bundle code for production. Bun is a drop-in replacement for Node.js with integrated package manager, test runner, and bundler.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA. It works with TypeScript, Node.js, JavaScript and Bun. The repository describes itself as: The open-source brain for physical agentic devices, powered by Cloudflare Workers. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c7605d6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunbunxtscFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
bun.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Bun loads about 2k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 773 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
| `.env` | Environment variables (auto-loaded) |**Environment variables auto-load from `.env`:** Disable with `env = false` in `bunfig.toml` if needed] Environment variables are set (check `.env` or CI/CD config)Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from galfrevn/apollo at commit c7605d6, republished under its MIT licence (© galfrevn). 773 words, ~2,001 tokens.
.claude/skills/bun/SKILL.md (or your agent's skills folder).Bun is an all-in-one JavaScript/TypeScript runtime and toolkit. It replaces Node.js, npm, Jest, and esbuild with a single fast executable. Bun runs TypeScript and JSX natively without configuration, starts 4x faster than Node.js, and includes a package manager (30x faster than npm), test runner (Jest-compatible), and bundler.
Key files and commands:
bunfig.toml — Bun configuration (optional, in project root)package.json — Standard Node.js manifest; Bun reads it directlybun run <file> — Execute TypeScript/JavaScript filesbun install — Install dependencies (creates bun.lock)bun test — Run tests (finds *.test.ts, *.spec.ts, etc.)bun build — Bundle code for productionbunx <package> — Execute packages without installingPrimary docs: https://bun.com/docs
Use this skill when:
bun runbun initbun buildDo not use for:
tsc separately)| Task | Command |
|---|---|
| Run a file | bun run index.ts or bun index.ts |
| Run a script | bun run dev (from package.json scripts) |
| Install deps | bun install |
| Add a package | bun add react |
| Add dev dep | bun add -d @types/react |
| Remove package | bun remove react |
| Run tests | bun test |
| Watch tests | bun test --watch |
| Bundle code | bun build ./index.ts --outdir ./dist |
| Watch bundler | bun build ./index.ts --outdir ./dist --watch |
| Execute package | bunx cowsay "Hello" |
| Initialize project | bun init |
| Pattern | Meaning |
|---|---|
*.test.ts, *.test.js | Test files (auto-discovered) |
*_test.ts, *_spec.ts | Alternative test patterns |
bunfig.toml | Bun configuration (optional) |
bun.lock | Lockfile (text format, commit to git) |
.env | Environment variables (auto-loaded) |
# Runtime
[serve]
port = 3000
[test]
root = "./__tests__"
coverage = true
timeout = 5000
[install]
optional = true
dev = true
production = false
linker = "hoisted" # or "isolated"
[run]
shell = "system"
bun = true
silent = falsebun run vs bun <file>| Scenario | Use |
|---|---|
Running a script from package.json | bun run dev |
| Running a file directly | bun index.ts or bun run index.ts |
| Running with Bun flags (watch, etc.) | bun --watch run index.ts |
| Running a system command | bun run ls (inside package.json script) |
bun install vs bun add| Scenario | Use |
|---|---|
Install all dependencies from package.json | bun install |
| Add a new package | bun add react |
| Add a dev dependency | bun add -d typescript |
| Install in production (no devDeps) | bun install --production |
| Frozen lockfile (CI/CD) | bun install --frozen-lockfile |
hoisted vs isolated linker| Scenario | Use |
|---|---|
Traditional npm behavior, shared node_modules | hoisted |
| Strict dependency isolation, prevent phantom deps | isolated |
| New workspaces/monorepos | isolated (default) |
| Existing projects | hoisted (default for backward compat) |
| Scenario | Use |
|---|---|
| Development, rapid iteration | bun run (no bundling) |
| Production server code | bun build --target bun |
| Browser/client code | bun build --target browser |
| Node.js compatibility | bun build --target node |
| Single executable | bun build --target bun --outfile app |
bun init
# Choose template: Blank, React, or Library
cd my-app
bun run index.tsbun add react react-dom
bun add -d typescript @types/react# Edit index.ts with TypeScript/JSX
bun run index.ts
# Or watch for changes
bun --watch run index.tsCreate math.test.ts:
import { test, expect } from "bun:test";
test("2 + 2 = 4", () => {
expect(2 + 2).toBe(4);
});Run tests:
bun test
bun test --watch
bun test --coverage# Bundle for browser
bun build ./src/index.tsx --outdir ./dist --target browser
# Bundle for server
bun build ./src/server.ts --outdir ./dist --target bun
# Create single executable
bun build ./src/server.ts --outfile app --target bun[serve]
port = 8080
[test]
coverage = true
timeout = 10000
[install]
linker = "isolated"# Build for production
bun build ./src/server.ts --outdir ./dist --minify
# Run in production
bun ./dist/server.jsBun global: Install @types/bun and configure tsconfig.json with "lib": ["ESNext"]trustedDependencies in package.json to allow postinstall scriptsbun run flags must come before the script name: Use bun --watch run dev, not bun run dev --watch*.test.ts, *_test.ts, *.spec.ts, or *_spec.ts.env: Disable with env = false in bunfig.toml if neededbun.lock is text format: Commit it to git; it's human-readable and mergeabletsc --noEmit separately for type checkinginstall.auto = "disable" in bunfig.toml for CI/CDBefore submitting work with Bun:
bun test runs without errorsbunx tsc --noEmit (if using TypeScript)bun run index.ts or bun run devbun add <package> (not manually edited package.json)bun.lock is committed (if using version control)bunfig.toml is configured for your use case (if needed)bun build ./src/index.ts --outdir ./dist.env or CI/CD config)Comprehensive navigation: https://bun.com/docs/llms.txt
Critical documentation pages:
Bun.serveFor additional documentation and navigation, see: https://bun.com/docs/llms.txt
© galfrevn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/bun of galfrevn/apollo.
Open the folder on GitHubat commit c7605d6
Bun next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Bun this skillgalfrevn/apollo | 237 | — | ~2k | Automated safety check: Notes | MIT | |
| Bunbastani-inc/atomic | 850 | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Bun Runtime and Toolkitmweinbach/agent-coworker | 156 | — | ~2.2k | Automated safety check: Notes | Custom licence | |
| Javascript SDKaiskillstore/marketplace | 430 | 1 repos | ~3.3k | Automated safety check: Pass | None | |
| Otel JSollygarden/opentelemetry-agent-skills | 106 | — | ~655 | Automated safety check: Pass | Apache-2.0 | |
| Bun DevelopmentGabrielMartinMoran/mind | 148 | 12 repos | ~3.5k | Automated safety check: Notes | MIT |
bastani-inc/atomic
A skill your agent uses when building, testing, and deploying JavaScript/TypeScript applications.
mweinbach/agent-coworker
Quick reference for using Bun to run TypeScript and JavaScript, install packages, bundle code, run tests and serve HTTP, with the key files and commands.
aiskillstore/marketplace
JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate with all models.
ollygarden/opentelemetry-agent-skills
OpenTelemetry in Node.js / JavaScript / TypeScript — NodeSDK, declarative YAML configuration, auto-instrumentations, ESM vs CJS import patterns.
GabrielMartinMoran/mind
Modern JavaScript/TypeScript development with Bun runtime. An agent skill from GabrielMartinMoran/mind.
crowdin/crowdin-api-client-js
Run end-to-end tests against the real Crowdin or Crowdin Enterprise API using credentials from .env.
galfrevn/apollo
Runs the Greptile CLI on the current local branch, fixes what the review finds, and reviews again, until the review comes back 5/5 with zero comments.
galfrevn/apollo
Structured diagnostic for technical SEO problems. An agent skill from galfrevn/apollo.
galfrevn/apollo
Optimize content for AI search engines — ChatGPT, Perplexity, Claude, Gemini, Google AI Overviews.
Works with
Categories
A skill your agent uses when building, running, testing, or bundling JavaScript/TypeScript applications. Bun is an agent skill from galfrevn/apollo. Use when building, running, testing, or bundling JavaScript/TypeScript applications.
Bun fits situations like: bundling JavaScript/TypeScript applications.
Run `npx skills add galfrevn/apollo --skill bun -a claude-code`. Or copy the skill folder (.agents/skills/bun in galfrevn/apollo) into .claude/skills/bun in your project. Claude Code loads it when a task matches its description.
Run `npx skills add galfrevn/apollo --skill bun -a codex`. Or copy the skill folder (.agents/skills/bun in galfrevn/apollo) into .agents/skills/bun in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add galfrevn/apollo --skill bun -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bun, .gemini/skills/bun, .github/skills/bun and .opencode/skills/bun in your project.
Going by SKILL.md and its folder, Bun needs the command-line tools its instructions call (bun, bunx and tsc). Our summary lists: Node.js.
SKILL.md names 1 domain. As links in the text: bun.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Bun is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Bun: Bun (bastani-inc/atomic, 850 stars), Bun Runtime and Toolkit (mweinbach/agent-coworker, 156 stars), Javascript SDK (aiskillstore/marketplace, 430 stars) and Otel JS (ollygarden/opentelemetry-agent-skills, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
galfrevn (a GitHub user) maintains it in galfrevn/apollo, which has 237 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on August 17, 2026.
Source: galfrevn/apollo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.