babel-docs

babel-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 34 tokens per session (1,495 once invoked), scanned A, original, MIT.

A reference guide to Babel, a JavaScript compiler that rewrites newer code so it can run in older browsers or other environments.

In plain words
What is it for?
Use it to configure Babel, transform JavaScript or TypeScript-related syntax, parse and inspect code, create plugins, and manage settings in projects with multiple packages, called monorepos.
Why use it?
It helps you understand which plugins, presets, and settings are needed when your source code uses features that a target environment does not support.

Skill for Claude CodeCodex

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

Good fit Use it to configure Babel, transform JavaScript or TypeScript-related syntax, parse and inspect code, create plugins, and manage settings in projects with multiple packages, called monorepos.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/babel/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/babel)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/babel"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/babel/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 babel-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/babel"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/babel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,495 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.00034 $0.01495
Opus 5 $0.00017 $0.00747
Sonnet 5 $0.00007 $0.00299
Haiku 4.5 $0.00003 $0.00150

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

Security

Grade A, and why

babel-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/babel/SKILL.md · 92 lines

How it starts

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

Babel

Babel is a JavaScript compiler — a toolchain mainly used to convert ECMAScript 2015+ code into backwards-compatible JavaScript in current and older browsers or environments.

Version: Babel 7.x / 8.x
Documentation: babeljs.io/docs
GitHub: github.com/babel/babel

Quick Reference

Topic File
Getting Started & Learn ES2015 (What is Babel, usage guide, installation, plugins & presets intro, configuration intro, polyfill, Learn ES2015 features: arrows, classes, destructuring, template strings, modules, generators, promises, proxies, symbols, etc., editor integrations) getting-started.md
Configuration & Options (config file types: babel.config.json/.babelrc.json/package.json/JS configs, project-wide vs file-relative config, monorepos, config function API: api.cache/api.env/api.caller/api.assertVersion, all options: primary/config loading/plugin & preset/output targets/config merging/source maps/misc/code generator/AMD-UMD-SystemJS, print effective configs, config merging, compiler assumptions) configuration.md
Plugins & Presets (using plugins, transform/syntax plugins, plugin ordering, plugin options, plugin development, full plugins list by ES version: ES3-ES2026 + TC39 proposals + module formats + React + Flow + TypeScript + misc + syntax-only, presets: official presets, creating presets, preset ordering, preset options, @babel/preset-env with all options, @babel/preset-react with all options, @babel/preset-typescript with all options, @babel/preset-flow) plugins-and-presets.md
API & CLI Reference (@babel/cli: all CLI flags and usage, @babel/core: transform/transformSync/transformAsync/transformFile/transformFromAst/parse APIs + advanced APIs, @babel/parser: options and plugins, @babel/generator: options, @babel/traverse: visitor pattern, path object, scope, @babel/types: builders, type checkers, assertions, utilities, @babel/template, @babel/standalone, @babel/register, @babel/eslint-parser) api-and-cli.md

Read the full file on GitHub · 92 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 · 92 lines · 34 tokens per session scan A 5477e08045a0

Subscribe to this mod's changes

babel-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,495 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.