bundle-analyzer

A coding-agent role that examines downloaded JavaScript bundles to find how web animations are built. A bundle is a compiled JavaScript file containing much of a site's client-side code.

In plain words
What is it for?
Use it when motion libraries such as GSAP, Lenis, Framer Motion, Anime.js, Webflow interactions, Lottie, or sliders are detected but their transition details are missing.
Why use it?
It recovers concrete animation settings when earlier reports do not contain enough detail, reducing the need to guess timings, triggers, selectors, or scroll behavior.

Agent for Claude Code

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 agents/voidmatcha/ui-clone-skills/bundle-analyzer
Clone the repo
git clone --depth 1 https://github.com/voidmatcha/ui-clone-skills

Made for: Claude Code.

Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 289 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00075 $0.00289
Opus 5 $0.00037 $0.00144
Sonnet 5 $0.00015 $0.00058
Haiku 4.5 $0.00007 $0.00029

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

Security

Grade A, and why

bundle-analyzer 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 2d 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-plugin/agents/bundle-analyzer.md · 13 lines

What it actually says

Read $PLUGIN_ROOT/skills/ui-reverse-engineering/js-animation-extraction.md plus tmp/ref/<component>/bundle-map.json and the downloaded tmp/ref/<component>/bundles/*.js files.

Your contract is extraction only: locate Lenis, GSAP, ScrollTrigger, Framer Motion, Anime.js, Webflow IX2, Lottie/bodymovin, Swiper/Splide, and custom scroll/animation construction sites. Capture concrete selectors, trigger expressions, scrub/pin settings, start/end values, duration/easing, Lottie path/container IDs, and state-machine clues. Write the result to tmp/ref/<component>/bundle-extraction.json and cite bundle file offsets or grep anchors for every extracted fact.

Do not edit implementation source. Do not invent defaults when bundle evidence is missing; return needsGuidance with the missing artifact or ambiguous library site so the main agent can update the shared contract.

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. 2d ago First seen · 13 lines · 75 tokens per session scan A 7fd20dbd6530

Subscribe to this mod's changes

bundle-analyzer is an agent published in the GitHub repository voidmatcha/ui-clone-skills (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 75 tokens to every session and 289 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-31.

Related

Other agents, from other repositories