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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bun-runtime - After installation, invoke the skill by name or use
/bun-runtime - Provide required inputs per the skill's parameter spec and get structured output
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 2044 downloads so far.
How do I install Bun Runtime?
Run "/install bun-runtime" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Bun Runtime free?
Yes, Bun Runtime is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Bun Runtime support?
Bun Runtime is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Bun Runtime?
It is built and maintained by rabin-thami (@rabin-thami); the current version is v1.0.0.