Agent skill

Bun Runtime

by affaan-m in affaan-m/ECC

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

MITAuto-check: notes

Install Bun Runtime

skills CLI
$ npx skills add affaan-m/ECC --skill bun-runtime -a claude-code

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

GitHub CLI
$ gh skill install affaan-m/ECC 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/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/ja-JP/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
276k
Token cost
~428 tokens
SKILL.md length
41 words
Files
1
Skills in repo
673
Repo updated
First seen
Licence
MIT

At a glance

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

  • SKILL.md covers 使用時期, 動作方法, 例 and 常見の問題
  • Calls bun, node and npm

What it does

Bun Runtime is an agent skill from affaan-m/ECC. ランタイムとしてのBun、パッケージマネージャー、バンドラー、テストランナー。Bun対Nodeを選択する場合、移行メモ、Vercelサポート。

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Bun, Vercel and npm. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

Example prompts

  • “/bun-runtime”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit ef648e0. 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 428 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 41 words of instructions outside code blocks.

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

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 affaan-m/ECC at commit ef648e0, republished under its MIT licence (© affaan-m). 41 words, ~428 tokens.

Download SKILL.mdSave it as .claude/skills/bun-runtime/SKILL.md (or your agent's skills folder).
name
bun-runtime
description
ランタイムとしてのBun、パッケージマネージャー、バンドラー、テストランナー。Bun対Nodeを選択する場合、移行メモ、Vercelサポート。
origin
ECC

Bunランタイム

Bunは高速なオールインワンJavaScriptランタイムとツールキット:ランタイム、パッケージマネージャー、バンドラー、テストランナー。

使用時期

  • Bunを好む:新しいJS/TSプロジェクト、インストール/実行速度が重要なスクリプト、Bunランタイムでのデプロイメント、単一のツールチェーン(実行+インストール+テスト+ビルド)が必要な場合。
  • Nodeを好む:最大のエコシステム互換性、ノードを仮定するレガシーツール、またはある依存関係が既知のBun問題がある場合。

使用時期:Bunを採用、Nodeから移行、Bunスクリプト/テストを書いたりデバッグしたり、Vercelまたは他のプラットフォームでBunを構成する場合。

動作方法

  • ランタイム:ドロップイン互換のNodeランタイム(JavaScriptCoreで構築、Zigで実装)。
  • パッケージマネージャー:bun installはnpm/yarnよりも大幅に高速です。ロックファイルはbun.lock(テキスト)(デフォルト)。古いバージョンはbun.lockb(バイナリ)を使用しました。
  • バンドラー:アプリとライブラリ用の組み込みバンドラーとトランスパイラー。
  • テストランナー:Jest様のAPIを備えた組み込みbun test。

Nodeからの移行:node script.jsをbun run script.jsまたはbun script.jsに置き換えます。npm installの代わりにbun installを実行します。ほとんどのパッケージは機能します。npm スクリプトにはbun runを使用します。bun xをnpxスタイルの1回限りの実行に使用します。Nodeの組み込みはサポートされています。パフォーマンスの向上のため、Bunチャネルが存在する場合は優先。

Vercel:プロジェクト設定でBunに設定をランタイムに設定します。ビルド:bun run buildまたはbun build ./src/index.ts --outdir=dist。インストール:再現可能なデプロイの場合はbun install --frozen-lockfile。

例

実行とインストール
bash
# 依存関係をインストール(bun.lockまたはbun.lockbを作成/更新)
bun install

# スクリプトまたはファイルを実行
bun run dev
bun run src/index.ts
bun src/index.ts
スクリプトとenv
bash
bun run --env-file=.env dev
FOO=bar bun run script.ts
テスト
bash
bun test
bun test --watch
typescript
// test/example.test.ts
import { expect, test } from "bun:test";

test("add", () => {
  expect(1 + 2).toBe(3);
});

常見の問題

  • bun installはnode_modulesを作成しますが、シンボリックリンクの多用により構造が異なります。
  • 古い依存関係にはBun互換性の問題がある可能性があります。Node にフォールバックする。
  • VercelでBun使用時は設定とビルドコマンドが必須。

© affaan-m, 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 docs/ja-JP/skills/bun-runtime of affaan-m/ECC.

Open the folder on GitHubat commit ef648e0

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 skillaffaan-m/ECC276k—~428Automated safety check: NotesMIT
Bun Runtimespinspire/pocketbase-sveltekit-starter5115 repos~653Automated safety check: NotesMIT
Vercel Deploybytedance/deer-flow84k10 repos~797Automated safety check: PassMIT
Before and After Screenshotsmichaelshimeles/skills1.3k1 repos~1kAutomated safety check: PassMIT
Next Upgradevercel-labs/openreview1.7k6 repos~502Automated safety check: PassNone
Check Deps SyncHyk260/PureChat546—~594Automated safety check: PassMIT

Similar skills

  • Bun Runtime

    spinspire/pocketbase-sveltekit-starter

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

    511 GitHub starsUsed in 5 repos~653 tokens
    Frontend & DesignAuto-check: notes
  • Vercel Deploy

    bytedance/deer-flow

    Deploys a project to Vercel with one script and no login, then returns a live preview URL and a claim link for moving the deployment into your own Vercel account.

    84k GitHub starsUsed in 10 repos~797 tokens
    DevOps & CloudAuto-check passed
  • 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 1 repo~1k tokens
    Testing & QAAuto-check passed
  • Next Upgrade

    vercel-labs/openreview

    Official

    Upgrade Next.js to the latest version following official migration guides and codemods

    1.7k GitHub starsUsed in 6 repos~502 tokens
    DevelopmentAuto-check passed
  • Check Deps Sync

    Hyk260/PureChat

    Check if package.json files are in sync with pnpm-lock.yaml.

    546 GitHub stars~594 tokensUpdated 22 days ago
    DevOps & CloudAuto-check passed
  • Bun

    galfrevn/apollo

    A skill your agent uses when building, running, testing, or bundling JavaScript/TypeScript applications.

    237 GitHub stars~2k tokensUpdated 1 mo ago
    Testing & QAAuto-check: notes

More from affaan-m/ECC

All 673 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    276k GitHub starsUsed in 5 repos~1.9k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    276k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    276k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    276k GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Measures whether agents actually follow a skill, rule or agent definition by generating scenarios at three strictness levels and scoring tool-call traces.

    276k GitHub starsUsed in 1 repo~623 tokens
    Auto-check passed
  • Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    276k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Bun Runtime

What does Bun Runtime do?

ランタイムとしてのBun、パッケージマネージャー、バンドラー、テストランナー。Bun対Nodeを選択する場合、移行メモ、Vercelサポート。. Bun Runtime is an agent skill from affaan-m/ECC.

How do I install Bun Runtime in Claude Code?

Run `npx skills add affaan-m/ECC --skill bun-runtime -a claude-code`. Or copy the skill folder (docs/ja-JP/skills/bun-runtime in affaan-m/ECC) 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 affaan-m/ECC --skill bun-runtime -a codex`. Or copy the skill folder (docs/ja-JP/skills/bun-runtime in affaan-m/ECC) 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 affaan-m/ECC --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 428 tokens (SKILL.md is roughly 1.7k 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: Bun Runtime (spinspire/pocketbase-sveltekit-starter, 511 stars), Vercel Deploy (bytedance/deer-flow, 84k stars), Before and After Screenshots (michaelshimeles/skills, 1.3k stars) and Next Upgrade (vercel-labs/openreview, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bun Runtime?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 275,546 GitHub stars. The repository holds 673 skills in this directory. The repository was last updated on October 5, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.