Bun Archive

Create and extract tar archives with Bun's fast native implementation

9 stars 1 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jarle/bun-skills --skill Bun Archive
Manual install
git 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-archive ~/.claude/skills/Bun-Archive

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Archive

> Create and extract tar archives with Bun's fast native implementation

Bun provides a fast, native implementation for working with tar archives through `Bun.Archive`. It supports creating archives from in-memory data, extracting archives to disk, and reading archive contents without extraction.

## Quickstart

**Create an archive from files:**

```ts  theme={"theme":{"light":"github-light","dark":"dracula"}}
const archive = new Bun.Archive({
  "hello.txt": "Hello, World!",
  "data.json": JSON.stringify({ foo: "bar" }),
  "nested/file.txt": "Nested content",
});

// Write to disk
await Bun.write("bundle.tar", archive);
```

**Extract an archive:**

```ts  theme={"theme":{"light":"github-light","dark":"dracula"}}
const tarball = await Bun.file("package.tar.gz").bytes();
const archive = new Bun.Archive(tarball);
const entryCount = await archive.extract("./output");
console.log(`Extracted ${entryCount} entries`);
```

**Read archive contents without extracting:**

```ts  theme={"theme":{"light":"github-light","dark":"dracula"}}
const tarball = await Bun.file("package.tar.gz").bytes();
const archive = new Bun.Archive(tarball);
const files = await archive.files();

for (const [path, file] of files) {
  console.log(`${path}: ${await file.text()}`);
}
```

## Creating Archives

Use `new Bun.Archive()` to create an archive from an object where keys are file paths and values are file contents. By default, archives are uncompressed:
Read the full skill on GitHub

Details

Skill name
Bun Archive
Path
skills/bun-runtime-archive/SKILL.md
License
MIT
Repo updated
24 February 2026

FAQ

What does the Bun Archive skill do?

Create and extract tar archives with Bun's fast native implementation

How do I install the Bun Archive skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Archive. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bun Archive popular?

It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.

Related skills

Bun Auto Install

9

jarle/bun-skills

Bun's automatic package installation feature for standalone script execution

Other

Bun Bun Add

9

jarle/bun-skills

Add packages to your project with Bun's fast package manager

Software Development

Bun Bun APIs

9

jarle/bun-skills

Overview of Bun's native APIs available on the Bun global object and built-in modules

Other

Interview Questions

5

getclera/claude-skills

Generate a structured interview question bank for a specific role, seniority, and the traits being hired for. Use this skill whenever the user says "give me interview questions", "what should I ask this candidate", "build an interview guide", "questions for a [role] interview", or is preparing a hiring panel. Produces competency, behavioral, and role-specific questions, each with what a good vs. bad answer looks like, so interviewers know what they're listening for.

Other

Comp Negotiation

5

getclera/claude-skills

Help a job-seeker understand their market worth and negotiate compensation. Use this skill whenever someone says "how much should I ask for", "help me negotiate my offer", "what's the market rate for [role]", "they asked my salary expectations", "should I counter this offer", or wants to know where an offer sits. Pulls live market data on the role/level/location, tells them where they stand, and generates the actual negotiation language for their situation — counters, scripts, and how to handle the awkward moments. Gather the role, level, location, and offer details first.

Other

Bun Bun Filter

9

jarle/bun-skills

Select packages by pattern in a monorepo using the --filter flag

Other

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.