Agent skill

Bundle Analysis

by foldkit in foldkit/foldkit

Bundle analysis. An agent skill from foldkit/foldkit.

MITAuto-check passedFrontend & Design

Install Bundle Analysis

skills CLI
$ npx skills add foldkit/foldkit --skill bundle-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install foldkit/foldkit bundle-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/foldkit/foldkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/repos/effect/.agents/skills/bundle-analysis .claude/skills/bundle-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bundle-analysis
GitHub stars
912
Token cost
~360 tokens
SKILL.md length
145 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Bundle analysis. An agent skill from foldkit/foldkit.

  • Measuring current bundle size
  • Calls pnpm
  • Comparing stable
  • Selected fixtures

What it does

Bundle Analysis is an agent skill from foldkit/foldkit. Bundle analysis. Use when measuring current bundle size, comparing stable or selected fixtures, inspecting composition, or cleaning retained comparison state.

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Web performance. It works with pnpm. The licence is MIT.

When your agent uses it

  • Measuring current bundle size
  • Comparing stable
  • Selected fixtures
  • Inspecting composition

Example prompts

  • “/bundle-analysis”

What it can do on your machine

Read from SKILL.md and the folder at commit ffbbde1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bundle Analysis loads about 360 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 145 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~360

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from foldkit/foldkit at commit ffbbde1, republished under its MIT licence (© foldkit). 145 words, ~360 tokens.

Download SKILL.mdSave it as .claude/skills/bundle-analysis/SKILL.md (or your agent's skills folder).
name
bundle-analysis
description
Bundle analysis. Use when measuring current bundle size, comparing stable or selected fixtures, inspecting composition, or cleaning retained comparison state.

Read packages/tools/bundle/README.md, then select one workflow:

  • Stable comparison: pnpm bundle-compare <base-ref>. Use HEAD~1 for the latest commit. Read tmp/bundle-stats.txt and report non-zero differences.
  • Selected comparison: pnpm bundle-compare-selected --base <ref> scratchpad/<fixture>.ts. Use only user-named or investigation-local fixtures; keep temporary fixtures out of the stable corpus.
  • Composition: pnpm bundle-analyze scratchpad/<fixture>.ts. Read raw data first and report the largest modules, dependency groups, and surprising inclusions. Its readable-name output is not an exact size measurement.
  • Current size: Build immediately before the direct bundle report so Effect packages resolve from current dist output.
  • Cleanup: Stable comparisons retain tmp/bundle-base for reuse unless cleanup is requested. Remove selected-comparison state retained with --keep-base after its final use. Verify cleanup without disturbing unrelated worktrees.

The task is complete when the selected artifact is inspected, requested size or composition findings are reported, generated paths are named, and comparison state follows the selected workflow's retention policy.

© foldkit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in repos/effect/.agents/skills/bundle-analysis of foldkit/foldkit.

Open the folder on GitHubat commit ffbbde1

Compare with similar skills

Bundle Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bundle Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bundle Analysis this skillfoldkit/foldkit912—~360Automated safety check: PassMIT
React Doctormakeplane/plane60k12 repos~657Automated safety check: PassAGPL-3.0
Fixing Motion Performanceibelick/ui-skills9.4k5 repos~1.4kAutomated safety check: PassMIT
GSAP Performance Tuninggreensock/gsap-skills16k4 repos~1kAutomated safety check: PassMIT
Vuetify Playgroundvuetifyjs/vuetify41k—~730Automated safety check: PassCustom licence
Tabler Astro Dev Servertabler/tabler42k—~1.2kAutomated safety check: PassMIT

Similar skills

  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    60k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Fixing Motion Performance

    ibelick/ui-skills

    Audits and fixes web animation performance: layout thrashing, work that belongs on the compositor, scroll-linked motion and costly blur effects.

    9.4k GitHub starsUsed in 5 repos~1.4k tokens
    Frontend & DesignAuto-check passed
  • GSAP Performance Tuning

    greensock/gsap-skills

    Guides the agent to keep GSAP animations smooth by animating transforms and opacity, batching DOM reads and writes, and avoiding layout-heavy properties.

    16k GitHub starsUsed in 4 repos~1k tokens
    Frontend & DesignAuto-check passed
  • Vuetify Playground

    vuetifyjs/vuetify

    Maintains the Vuetify repo's local Playground.vue so contributors get a realistic reproduction and a short demo they can paste into a pull request description.

    41k GitHub stars~730 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Starts the right Tabler dev server, keeps it from clashing with builds and verifies changes in the browser before a page or component is handed back.

    42k GitHub stars~1.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • React Frontend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.

    10k GitHub starsUsed in 2 repos~2.9k tokens
    Frontend & DesignAuto-check passed

More from foldkit/foldkit

All 17 skills in this repo
  • Commit Changes

    foldkit/foldkit

    Create a git commit in the Foldkit monorepo with changeset enforcement and formatting.

    912 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Foldkit

    foldkit/foldkit

    A skill your agent uses whenever working with Foldkit. An agent skill from foldkit/foldkit.

    912 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Audit Program

    foldkit/foldkit

    Audit an existing Foldkit program against the architecture, conventions, and quality bar.

    912 GitHub stars~7.2k tokensUpdated today
    Auto-check passed
  • Generate Program

    foldkit/foldkit

    Generate a complete, idiomatic Foldkit program from a natural language description.

    912 GitHub stars~20k tokensUpdated today
    Auto-check passed
  • Changesets

    foldkit/foldkit

    Concise PR finalization changesets. An agent skill from foldkit/foldkit.

    912 GitHub stars~923 tokensUpdated today
    Auto-check passed
  • Dependency Maintenance

    foldkit/foldkit

    Dependency maintenance. An agent skill from foldkit/foldkit.

    912 GitHub stars~683 tokensUpdated today
    Auto-check passed

Works with

Questions about Bundle Analysis

What does Bundle Analysis do?

Bundle analysis. An agent skill from foldkit/foldkit. Bundle Analysis is an agent skill from foldkit/foldkit. Bundle analysis.

When should I use Bundle Analysis?

Bundle Analysis fits situations like: measuring current bundle size; comparing stable; selected fixtures; inspecting composition.

How do I install Bundle Analysis in Claude Code?

Run `npx skills add foldkit/foldkit --skill bundle-analysis -a claude-code`. Or copy the skill folder (repos/effect/.agents/skills/bundle-analysis in foldkit/foldkit) into .claude/skills/bundle-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Bundle Analysis in Codex?

Run `npx skills add foldkit/foldkit --skill bundle-analysis -a codex`. Or copy the skill folder (repos/effect/.agents/skills/bundle-analysis in foldkit/foldkit) into .agents/skills/bundle-analysis in your project. Codex loads it when a task matches its description.

Can I use Bundle Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add foldkit/foldkit --skill bundle-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bundle-analysis, .gemini/skills/bundle-analysis, .github/skills/bundle-analysis and .opencode/skills/bundle-analysis in your project.

What does Bundle Analysis need to run?

Going by SKILL.md and its folder, Bundle Analysis needs the command-line tools its instructions call (pnpm).

Does Bundle Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bundle Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bundle Analysis use?

Bundle Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bundle Analysis use?

About 360 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bundle Analysis?

Skills that share tags, products or a category with Bundle Analysis: React Doctor (makeplane/plane, 60k stars), Fixing Motion Performance (ibelick/ui-skills, 9.4k stars), GSAP Performance Tuning (greensock/gsap-skills, 16k stars) and Vuetify Playground (vuetifyjs/vuetify, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bundle Analysis?

foldkit (a GitHub organization) maintains it in foldkit/foldkit, which has 912 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: foldkit/foldkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.