javascriptcore-garbage-collector

javascriptcore-garbage-collector is a skill for Claude Code, Codex from oven-sh/bun. It costs 80 tokens per session (5,913 once invoked), scanned A, original, no licence file.

A reference for managing JavaScriptCore's garbage collector in Bun, a JavaScript runtime. Garbage collection removes objects that are no longer needed, while references and barriers help keep objects alive when native code still uses them.

In plain words
What is it for?
Use it when debugging Bun's JavaScriptCore integration or working with garbage-collection hooks, object references, memory reporting, and object cleanup.
Why use it?
It helps diagnose memory bugs such as objects being freed too soon, objects that never get released, or use-after-free errors where code accesses freed memory.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/oven-sh/bun/javascriptcore-garbage-collector
Any agent
npx skills add oven-sh/bun --skill javascriptcore-garbage-collector
Clone the repo
git clone --depth 1 https://github.com/oven-sh/bun

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for javascriptcore-garbage-collector

README.md
[![agentmods](https://agentmods.dev/badge/skills/oven-sh/bun/javascriptcore-garbage-collector.svg)](https://agentmods.dev/skills/oven-sh/bun/javascriptcore-garbage-collector)
Your own site
<a href="https://agentmods.dev/skills/oven-sh/bun/javascriptcore-garbage-collector"><img src="https://agentmods.dev/badge/skills/oven-sh/bun/javascriptcore-garbage-collector.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00080 $0.05913
Opus 5 $0.00040 $0.02957
Sonnet 5 $0.00016 $0.01183
Haiku 4.5 $0.00008 $0.00591

Measured 4d ago against content hash 5e703eb6432f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

javascriptcore-garbage-collector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/javascriptcore-garbage-collector/SKILL.md · 367 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 367 lines · 80 tokens per session scan A 5e703eb6432f

Subscribe to this mod's changes

javascriptcore-garbage-collector is a skill published in the GitHub repository oven-sh/bun (95,832 stars, last pushed 2d ago), with no licence file. It adds 80 tokens to every session and 5,913 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bun-docs

Bun 1.2 — runtime, package manager, HTTP server, SQLite, test runner, bundler, TypeScript, FFI, shell API.

pledgeandgrow/pledge-skills · 36 tokens

bun

Bun all-in-one JavaScript runtime and toolkit reference. Covers runtime APIs (file I/O, HTTP server, SQLite, shell), ultra-fast package manager, built-in bundler with plugins, test runner with mocking, TypeScript support, and Node.js compatibility.

bytesagain/ai-skills · 55 tokens

mcpp-style-ref

为 mcpp 项目应用 Modern/Module C++ (C++23) 编码风格。适用于编写或审查带模块的 C++ 代码、命名标识符、组织 .cppm/.cpp 文件,或用户提及 mcpp、module C++、现代 C++ 风格时。.

Sunrisepeak/mbun · 73 tokens

mbun-runtime-debugging

调试 mbun 运行时测试失败/崩溃时用。提供仓库实测可用的定位配方——选二进制、单文件跑测、gdb 抓 backtrace、按 API 定位源码、常见坑排查清单、何时跳过。凡处理 bun 测试跑不过/段错误/hang/断言失败,先读本 skill 再动手,避免每个 task 重复摸索拖慢。.

Sunrisepeak/mbun · 109 tokens

dev-process

在本仓开发任何改动前用。规定 issue 先行的开发流程,按 bugfix / 优化 / 新功能分流;新功能须经 issue 充分讨论并在 .agents/docs 落地设计方案;衔接 tdd-workflow 与本体验证 / 测试 / CI / PR 规范。开发前先读本 skill。.

Sunrisepeak/mbun · 82 tokens

tdd-workflow

在 mbun 项目中开发任何功能或修复缺陷时使用。规定以 bun/node 原生测试集为验收标准的 TDD 开发循环、checkpoint 提交约定与记录流程。.

Sunrisepeak/mbun · 50 tokens