bun SKILL.md skillB
bun from belos-street/stock-analytics-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add belos-street/stock-analytics-agent/bun@git:20261016.13cf2a4Pins git:20261016.13cf2a4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- belos-street/stock-analytics-agent
- Path
.agents/dev/bun/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261016.13cf2a4, committed Oct 16, 2026
- Size
- 7,172 bytes
- Repository stars
- 56
- License
- MIT
Fast, modern JavaScript runtime and toolkit. IMPORTANT: This is Bun, NOT Node.js. Use Bun-specific APIs below. Do NOT use Node.js APIs like require(), process, fs (use Bun.file() instead).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
Bun 是面向现代 JavaScript 生态的全新运行时,定位为 Node.js 的替代方案,基于 JavaScriptCore 引擎和 Zig 语言编写。**请使用 Bun 特有的 API,不要使用 Node.js 的写法。**
## Quick Start
```bash
# Install Bun
curl -fsSL https://bun.sh/install | bash
# Run a file
bun run index.ts
# Install dependencies
bun install
# Run tests
bun test
```
## Key Features
- **Native TypeScript**: 直接运行 .ts/.tsx 文件,无需转译
- **Built-in Tools**: 包管理器、测试、打包工具内置
- **Node.js Compatible**: 兼容大部分 Node.js 生态
- **Web APIs**: 原生 fetch, WebSocket, ReadableStream
- **Bun.serve()**: 高性能 HTTP 服务
- **Bun.file()**: 简化文件操作
- **Bun.password**: 原生密码哈希(argon2)
- **bun:test**: 零配置测试框架
---
## Module Import/Export
**重要**: Bun 默认使用 ES 模块,兼容 CommonJS,无需额外配置。
```ts
// ✅ Bun 写法 - 默认 ES 模块
import fs from 'fs/promises';
export const foo = 'bar';
// ✅ Bun 写法 - 原生支持 TS/JSX(无需转译)
import App from './App.tsx';
// ✅ Bun 兼容 CommonJS(无需额外配置)
const fs = require('fs');
module.exports = { foo: 'bar' };
// ❌ 避免 - Node.js CommonJS 写法
const fs = require('fs'); // 可以用,但推荐上面写法
```
---
## Global Objects
**重要**: Bun 有自己的全局对象,优先使用 Bun 特有的写法。
```ts
// ✅ Bun 特有 - import.meta.dir/file (所有模块类型通用)
console.log(import.meta.dir); // 当前目录
console.log(import.meta.file); // 当前文件
…Read the whole file at its exact version.
How to install
mdr add belos-street/stock-analytics-agent/bun@sha256:bd2b84b0da85cbe5The line at the top of this page pins the label git:20261016.13cf2a4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_wn4wweubeyaak4di)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 16, 2026.
Audit of the latest version
- fail: No curl or wget piped into a shell (matched: curl -fsSL https://bun.sh/install | bash)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7172 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
belos-street/stock-analytics-agent · 56 stars · license MIT · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_wn4wweubeyaak4di GET https://markdownregistry.com/api/v1/resolve?ref=belos-street/stock-analytics-agent/bun GET https://markdownregistry.com/api/v1/blob/bd2b84b0da85cbe512111e3cfc97a33cedd51818491b0f9b53f0d0e13a04e23f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from belos-street/stock-analytics-agent
Every file in belos-street/stock-analytics-agent