Bun Workers
Use Bun's Workers API to create and communicate with a new JavaScript instance running on a separate thread while sharing I/O resources with the main thread
Install
npx skills add jarle/bun-skills --skill Bun Workersgit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-workers ~/.claude/skills/Bun-WorkersPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Workers
> Use Bun's Workers API to create and communicate with a new JavaScript instance running on a separate thread while sharing I/O resources with the main thread
<Warning>
The `Worker` API is still experimental (particularly for terminating workers). We are actively working on improving
this.
</Warning>
[`Worker`](https://developer.mozilla.org/en-US/docs/Web/API/Worker) lets you start and communicate with a new JavaScript instance running on a separate thread while sharing I/O resources with the main thread.
Bun implements a minimal version of the [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) with extensions that make it work better for server-side use cases. Like the rest of Bun, `Worker` in Bun support CommonJS, ES Modules, TypeScript, JSX, TSX and more out of the box. No extra build steps are necessary.
## Creating a `Worker`
Like in browsers, [`Worker`](https://developer.mozilla.org/en-US/docs/Web/API/Worker) is a global. Use it to create a new worker thread.
### From the main thread
```ts index.ts icon="https://mintcdn.com/bun-1dd33a4e/nIz6GtMH5K-dfXeV/icons/typescript.svg?fit=max&auto=format&n=nIz6GtMH5K-dfXeV&q=85&s=5d73d76daf7eb7b158469d8c30d349b0" theme={"theme":{"light":"github-light","dark":"dracula"}}
const worker = new Worker("./worker.ts");
worker.postMessage("hello");
worker.onmessage = event => {
console.log(event.data);
};
```
### Worker threadDetails
- Skill name
Bun Workers- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-workers/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Workers skill do?
Use Bun's Workers API to create and communicate with a new JavaScript instance running on a separate thread while sharing I/O resources with the main thread
How do I install the Bun Workers skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Workers. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Workers popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Workspaces
9jarle/bun-skills
Develop complex monorepos with multiple independent packages
Bun Welcome to Bun
9jarle/bun-skills
Bun is an all-in-one toolkit for developing modern JavaScript/TypeScript applications.
Code Analyzer
5tomada1114/tomada-claude-plugins
Review code structure, complexity, and security patterns under a hard read-only guarantee — the editing tools are removed for the turn, so findings can be produced against an untrusted or production checkout without any risk of a write. Use when auditing an unfamiliar codebase, scoping a refactor, or reviewing a branch that has to stay unmodified.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.