Bun as runtime, package manager, bundler, and test runner. An agent skill from spinspire/pocketbase-sveltekit-starter.

MITAuto-check: notesFrontend & Design

Install Bun Runtime

skills CLI
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill bun-runtime -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install spinspire/pocketbase-sveltekit-starter bun-runtime --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bun-runtime .claude/skills/bun-runtime && rm -rf skills-src

Use ~/.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/

Facts

Skill name
bun-runtime
GitHub stars
511
Used in
5 other repos
Token cost
~653 tokens
SKILL.md length
256 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Bun as runtime, package manager, bundler, and test runner. An agent skill from spinspire/pocketbase-sveltekit-starter.

  • Frontend & Design work in your project
  • SKILL.md covers When to Use, How It Works, Examples and Best Practices
  • Calls bun, node and npm

What it does

Bun Runtime is an agent skill from spinspire/pocketbase-sveltekit-starter. Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.

Its SKILL.md is about 650 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 Frontend & Design. It works with Bun, Vercel and npm. The repository describes itself as: a starter project to build a SvelteKit frontend with PocketBase backend. The licence is MIT.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/bun-runtime”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 66f6dee. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • bun
    • node
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bun Runtime loads about 653 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~653

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:46
    bun run --env-file=.env dev

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.

SKILL.md

The full file from spinspire/pocketbase-sveltekit-starter at commit 66f6dee, republished under its MIT licence (© spinspire). 256 words, ~653 tokens.

Download SKILL.mdSave it as .claude/skills/bun-runtime/SKILL.md (or your agent's skills folder).
name
bun-runtime
description
Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.
authors
SpinSpire Team

Bun Runtime

Bun is a fast all-in-one JavaScript runtime and toolkit: runtime, package manager, bundler, and test runner.

When to Use

  • Prefer Bun for: new JS/TS projects, scripts where install/run speed matters, Vercel deployments with Bun runtime, and when you want a single toolchain (run + install + test + build).
  • Prefer Node for: maximum ecosystem compatibility, legacy tooling that assumes Node, or when a dependency has known Bun issues.

Use when: adopting Bun, migrating from Node, writing or debugging Bun scripts/tests, or configuring Bun on Vercel or other platforms.

How It Works

  • Runtime: Drop-in Node-compatible runtime (built on JavaScriptCore, implemented in Zig).
  • Package manager: bun install is significantly faster than npm/yarn. Lockfile is bun.lock (text) by default in current Bun; older versions used bun.lockb (binary).
  • Bundler: Built-in bundler and transpiler for apps and libraries.
  • Test runner: Built-in bun test with Jest-like API.

Migration from Node: Replace node script.js with bun run script.js or bun script.js. Run bun install in place of npm install; most packages work. Use bun run for npm scripts; bun x for npx-style one-off runs. Node built-ins are supported; prefer Bun APIs where they exist for better performance.

Vercel: Set runtime to Bun in project settings. Build: bun run build or bun build ./src/index.ts --outdir=dist. Install: bun install --frozen-lockfile for reproducible deploys.

Examples

Run and install
bash
# Install dependencies (creates/updates bun.lock or bun.lockb)
bun install

# Run a script or file
bun run dev
bun run src/index.ts
bun src/index.ts
Scripts and env
bash
bun run --env-file=.env dev
FOO=bar bun run script.ts
Testing
bash
bun test
bun test --watch
typescript
// test/example.test.ts
import { expect, test } from "bun:test";

test("add", () => {
  expect(1 + 2).toBe(3);
});
Runtime API
typescript
const file = Bun.file("package.json");
const json = await file.json();

Bun.serve({
  port: 3000,
  fetch(req) {
    return new Response("Hello");
  },
});

Best Practices

  • Commit the lockfile (bun.lock or bun.lockb) for reproducible installs.
  • Prefer bun run for scripts. For TypeScript, Bun runs .ts natively.
  • Keep dependencies up to date; Bun and the ecosystem evolve quickly.

© spinspire, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/bun-runtime of spinspire/pocketbase-sveltekit-starter.

Open the folder on GitHubat commit 66f6dee

Used in 5 other repositories

We found 16 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in spinspire/pocketbase-sveltekit-starter, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Bun Runtime 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.

Bun Runtime compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bun Runtime this skillspinspire/pocketbase-sveltekit-starter5115 repos~653Automated safety check: NotesMIT
Clawhub Production Releaseopenclaw/clawhub9.5k—~1kAutomated safety check: PassMIT
Bun Runtimeaffaan-m/ECC275k1 repos~443Automated safety check: NotesMIT
Bun Runtimeaffaan-m/ECC275k—~428Automated safety check: NotesMIT
Htmldropooiyeefei/ccc494—~5.2kAutomated safety check: WarnMIT
Before and After Screenshotsmichaelshimeles/skills1.3k2 repos~1kAutomated safety check: PassMIT

Similar skills

  • Run and verify ClawHub production deploys and stable ClawHub CLI npm releases.

    9.5k GitHub stars~1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Bun Runtime

    affaan-m/ECC

    Bun 作为运行时、包管理器、打包器和测试运行器。何时选择 Bun 而非 Node、迁移注意事项以及 Vercel 支持。

    275k GitHub starsUsed in 1 repo~443 tokens
    Auto-check: notes
  • Bun Runtime

    affaan-m/ECC

    ランタイムとしてのBun、パッケージマネージャー、バンドラー、テストランナー。Bun対Nodeを選択する場合、移行メモ、Vercelサポート。

    275k GitHub stars~428 tokensUpdated 3 days ago
    Auto-check: notes
  • Htmldrop

    ooiyeefei/ccc

    Reach for this skill when an HTML artifact — report, deck, brief, mockup, dashboard, proposal, spec, or landing page, whether the user already has it or you just generated it — needs to reach other…

    494 GitHub stars~5.2k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check: warnings
  • Before and After Screenshots

    michaelshimeles/skills

    Captures before and after screenshots of two URLs or images with the Vercel before-and-after CLI, uploads them and can add a markdown comparison to a pull request.

    1.3k GitHub starsUsed in 2 repos~1k tokens
    Testing & QAAuto-check passed
  • Dashclaw Ship

    ucsandman/DashClaw

    The single command that gets a DashClaw change ON MAIN AND LIVE — it resolves everything blocking production, never defers, and never hands back a checklist.

    310 GitHub stars~7.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from spinspire/pocketbase-sveltekit-starter

All 8 skills in this repo
  • Pb API

    spinspire/pocketbase-sveltekit-starter

    Operate PocketBase via its REST API. An agent skill from spinspire/pocketbase-sveltekit-starter.

    511 GitHub stars~562 tokensUpdated 1 mo ago
    Auto-check: notes
  • Pb Extend

    spinspire/pocketbase-sveltekit-starter

    Extend PocketBase with custom hooks and routes in JS or Go. An agent skill from spinspire/pocketbase-sveltekit-starter.

    511 GitHub stars~689 tokensUpdated 1 mo ago
    Auto-check: notes
  • Pwa

    spinspire/pocketbase-sveltekit-starter

    A skill your agent uses when the user asks to make a site installable, turn it into a PWA, add a service worker, add a web app manifest, enable "add to home screen", or support offline.

    511 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Frontend Design

    spinspire/pocketbase-sveltekit-starter

    Create distinctive, production-grade frontend interfaces with high design quality and accessible markup.

    511 GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Code Reuse

    spinspire/pocketbase-sveltekit-starter

    A skill your agent uses when building a UI component, PocketBase hook, page, or app feature and there is proven code to copy from the reference repos.

    511 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • Docker

    spinspire/pocketbase-sveltekit-starter

    Docker Compose conventions — short service names, no root, no host ports in base compose, override files for local customisations.

    511 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes

Works with

Questions about Bun Runtime

What does Bun Runtime do?

Bun as runtime, package manager, bundler, and test runner. An agent skill from spinspire/pocketbase-sveltekit-starter. Bun Runtime is an agent skill from spinspire/pocketbase-sveltekit-starter. Bun as runtime, package manager, bundler, and test runner.

When should I use Bun Runtime?

Bun Runtime fits situations like: frontend & Design work in your project.

How do I install Bun Runtime in Claude Code?

Run `npx skills add spinspire/pocketbase-sveltekit-starter --skill bun-runtime -a claude-code`. Or copy the skill folder (.agents/skills/bun-runtime in spinspire/pocketbase-sveltekit-starter) into .claude/skills/bun-runtime in your project. Claude Code loads it when a task matches its description.

How do I install Bun Runtime in Codex?

Run `npx skills add spinspire/pocketbase-sveltekit-starter --skill bun-runtime -a codex`. Or copy the skill folder (.agents/skills/bun-runtime in spinspire/pocketbase-sveltekit-starter) into .agents/skills/bun-runtime in your project. Codex loads it when a task matches its description.

Can I use Bun Runtime in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spinspire/pocketbase-sveltekit-starter --skill bun-runtime -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-runtime, .gemini/skills/bun-runtime, .github/skills/bun-runtime and .opencode/skills/bun-runtime in your project.

What does Bun Runtime need to run?

Going by SKILL.md and its folder, Bun Runtime needs the command-line tools its instructions call (bun, node and npm). Our summary lists: Node.js.

Does Bun Runtime access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Bun Runtime safe to install?

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.

What licence does Bun Runtime use?

Bun Runtime is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bun Runtime use?

About 653 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bun Runtime?

Skills that share tags, products or a category with Bun Runtime: Clawhub Production Release (openclaw/clawhub, 9.5k stars), Bun Runtime (affaan-m/ECC, 275k stars), Bun Runtime (affaan-m/ECC, 275k stars) and Htmldrop (ooiyeefei/ccc, 494 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bun Runtime?

spinspire (a GitHub organization) maintains it in spinspire/pocketbase-sveltekit-starter, which has 511 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 22, 2026.

Source: spinspire/pocketbase-sveltekit-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.