rolldown-docs

rolldown-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 36 tokens per session (2,180 once invoked), scanned A, original, MIT.

Documentation for Rolldown, a JavaScript bundler written in Rust that combines source files and dependencies into files browsers can load. It follows the familiar Rollup interface and supports features such as tree-shaking, plugins, code splitting, and minification.

In plain words
What is it for?
Use it to set up or troubleshoot JavaScript builds, choose plugins, remove unused code, split output into chunks, transform files, and control minified production bundles.
Why use it?
It helps you configure builds and understand bundling behavior when using Rolldown directly or through tools such as Vite.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up or troubleshoot JavaScript builds, choose plugins, remove unused code, split output into chunks, transform files, and control minified production bundles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/rolldown
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.

Any agent
npx skills add pledgeandgrow/pledge-skills --skill rolldown
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-skills

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 rolldown-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/rolldown/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/rolldown)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/rolldown"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/rolldown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rolldown-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/rolldown"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/rolldown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00036 $0.02180
Opus 5 $0.00018 $0.01090
Sonnet 5 $0.00007 $0.00436
Haiku 4.5 $0.00004 $0.00218

Measured 10d ago against content hash 5673344256ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

rolldown-docs 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 10d 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.

skills/rolldown/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rolldown

Blazing fast Rust-based bundler for JavaScript with Rollup-compatible API and esbuild feature parity. Designed as the unified bundler powering Vite 8+.

Website: https://rolldown.rs | GitHub: https://github.com/rolldown/rolldown | Discord: https://chat.rolldown.rs | REPL: https://repl.rolldown.rs

What is Rolldown

Rolldown is a JavaScript bundler written in Rust. It is primarily designed to serve as the underlying bundler in Vite, replacing esbuild and Rollup with one unified build tool. It can also be used standalone as a general-purpose bundler — a drop-in replacement for Rollup, or an esbuild alternative when better chunking control is needed.

Key Properties

  • Speed of Rust: Handles tens of thousands of modules without breaking a sweat. On par with esbuild, 10-30x faster than Rollup. WASM build is also significantly faster than esbuild's.
  • Rollup Compatible: Familiar API & options with a rich plugin ecosystem. Same plugin API as Rollup / Vite.
  • Esbuild Feature Parity: Built-in transforms, define, inject, minify & more.
  • Designed for Vite: The unified bundler powering Vite 8+.

Benchmark

Bundling 19k modules (10k React JSX components + 9k iconify JS files, with minification and source maps):

Bundler Time
Rolldown 1.61s
esbuild 1.70s
rspack 4.07s
Rollup + esbuild 40.10s

Why Rolldown

  1. Performance: Written in Rust, same performance level as esbuild, 10-30x faster than Rollup.
  2. Ecosystem Compatibility: Same plugin API as Rollup / Vite, ensuring compatibility with existing ecosystem.
  3. Additional Features: Important features needed in Vite but unlikely to be implemented by esbuild and Rollup.

Feature Scope

  • Rollup-compatible APIs (especially plugin interface) with similar treeshaking capabilities
  • esbuild-like feature scope: platform presets, TypeScript/JSX/syntax lowering transforms, Node.js module resolution, ESM/CJS interop, define, inject, minification
  • Unique features: manual code splitting, HMR support (WIP), module types (experimental), plugin hook filters

Read the full file on GitHub · 204 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 204 lines · 36 tokens per session scan A 5673344256ba

Subscribe to this mod's changes

rolldown-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 2,180 once invoked, about $0.0002 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-31.