Bun Runtime
/install bun-runtime
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
scripts/bun-fs.sh read /path/to/file.txt
Returns JSON: {"content": "file contents"}
Write File
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
scripts/bun-glob.sh "/tmp/*.txt"
Returns JSON: {"files": ["/tmp/file1.txt", "/tmp/file2.txt"], "count": 2}
Process Operations
Execute Command
scripts/bun-process.sh "ls -la"
Runs shell command and returns output.
Network Operations
HTTP Request
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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bun-runtime - 安装完成后,直接呼叫该 Skill 的名称或使用
/bun-runtime触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Bun Runtime 是什么?
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2044 次。
如何安装 Bun Runtime?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bun-runtime」即可一键安装,无需额外配置。
Bun Runtime 是免费的吗?
是的,Bun Runtime 完全免费(开源免费),可自由下载、安装和使用。
Bun Runtime 支持哪些平台?
Bun Runtime 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bun Runtime?
由 rabin-thami(@rabin-thami)开发并维护,当前版本 v1.0.0。