Skip to content
Back to skills

Bun Runtime

ASecurity

Bun runtime capabilities for filesystem, process, and network operations. Use when you need to execute Bun-specific operations like Bun.file(), Bun.write(), or Bun.glob() for optimized file handling, or when working with Bun's native process/network APIs. Triggered by requests for Bun runtime features, file operations with Bun, or high-performance I/O tasks.

  • 21 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added June 7, 2026
toolsshellbashapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill bun-runtime --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bun Runtime?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bun Runtime
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-bun-runtime/badge)](https://www.skillsdirectory.com/skills/modbender-bun-runtime)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bun-runtime
description: Bun runtime capabilities for filesystem, process, and network operations. Use when you need to execute Bun-specific operations like Bun.file(), Bun.write(), or Bun.glob() for optimized file handling, or when working with Bun's native process/network APIs. Triggered by requests for Bun runtime features, file operations with Bun, or high-performance I/O tasks.
---

# Bun Runtime

Native Bun runtime operations for filesystem, process, and network tasks.

## When to Use

Use this skill when:
- Working with Bun's native file APIs (`Bun.file()`, `Bun.write()`, `Bun.glob()`)
- Need optimized I/O operations in Bun environment
- Running Bun-specific process commands
- Making network requests with Bun's fetch

## Filesystem Operations

### Read File

```bash
scripts/bun-fs.sh read /path/to/file.txt
```

Returns JSON: `{"content": "file contents"}`

### Write File

```bash
scripts/bun-fs.sh write /path/to/file.txt "content here"
```

Creates parent directories automatically.
Returns JSON: `{"written": true, "path": "/path/to/file.txt"}`

### Glob Files

```bash
scripts/bun-glob.sh "/tmp/*.txt"
```

Returns JSON: `{"files": ["/tmp/file1.txt", "/tmp/file2.txt"], "count": 2}`

## Process Operations

### Execute Command

```bash
scripts/bun-process.sh "ls -la"
```

Runs shell command and returns output.

## Network Operations

### HTTP Request

```bash
scripts/bun-fetch.sh "https://api.example.com" "GET"
```

Makes HTTP request using Bun's native fetch.

## Notes

- All scripts use Bun's native APIs for better performance
- File operations automatically handle encoding
- Errors are returned with clear messages

Files in this skill

  • SKILL.md1.7 KB
  • package.json201 B
  • scripts/bun-fetch.sh632 B
  • scripts/bun-fs.sh936 B
  • scripts/bun-glob.sh526 B
  • scripts/bun-process.sh329 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.