Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/IgniteUI/igniteui-clinpx agentmods add skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-sizeWrote 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.
[](https://agentmods.dev/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size)<a href="https://agentmods.dev/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size/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.
<a href="https://agentmods.dev/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.03907 |
| Opus 5.5 | $0.00010 | $0.01563 |
| Sonnet 5.5 | $0.00005 | $0.00781 |
| Haiku 4.5 | $0.00003 | $0.00391 |
Grade A, and why
igniteui-wc-optimize-bundle-size 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 710 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Optimize Bundle Size
This skill helps users minimize their application's bundle size when using Ignite UI Web Components by importing only the components they need and following best practices for tree-shaking.
Example Usage
- "My bundle size is too large"
- "How do I reduce the size of igniteui-webcomponents?"
- "Import only the components I need"
- "Tree-shake unused components"
- "Optimize imports for production"
Related Skills
- igniteui-wc-integrate-with-framework - Proper integration setup
- igniteui-wc-customize-component-theme - Theming after optimization
When to Use
- User's bundle size is too large
- User wants to optimize for production
- User is importing more components than needed
- User asks about tree-shaking or optimization
- User wants to improve load times
Key Principles
- Import only what you use - Don't use
defineAllComponents() - Use named imports - Enable tree-shaking
- Analyze your bundle - Identify what's being included
- Lazy load when possible - Load components on demand
Import Strategies
❌ Bad: Import Everything
// DON'T DO THIS - imports ALL components (~500KB+)
import { defineAllComponents } from 'igniteui-webcomponents';
defineAllComponents();
Impact: Includes all 60+ components whether you use them or not.
✅ Good: Import Specific Components
// DO THIS - import only what you need
import {
defineComponents,
IgcButtonComponent,
IgcInputComponent,
IgcCardComponent
} from 'igniteui-webcomponents';
defineComponents(IgcButtonComponent, IgcInputComponent, IgcCardComponent);
Impact: Bundle includes only 3 components and their dependencies.
React Applications
If you're using React, consider using the igniteui-react package instead of igniteui-webcomponents. It provides the same components with React-friendly wrappers and typically results in better tree-shaking:
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.
- 3mo ago First seen · 710 lines · 25 tokens per session scan A 66bd8a7f8ea4
igniteui-wc-optimize-bundle-size is a skill published in the GitHub repository IgniteUI/igniteui-cli (137 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 3,907 once invoked, about $0.0001 per session on Opus 5.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.
igniteui-wc-optimize-bundle-size compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| igniteui-wc-optimize-bundle-sizeIgniteUI/igniteui-cli | Skill | 137 | yesterday | MIT | A | 25 | Claude Code |
| agent-upkeepNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 115 | Claude Code, Codex |
| summarize-video-releasesNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 109 | Claude Code, Codex |
| agent-dependenciesNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 73 | Claude Code, Codex |
| summarize-releasesNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 77 | Claude Code, Codex |
| authoring-benchmarksNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| guidance-webgpu-performanceNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 98 | Claude Code, Codex |