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.
npx skills add IgniteUI/igniteui-react --skill igniteui-react-optimize-bundle-sizegit clone --depth 1 https://github.com/IgniteUI/igniteui-reactWrote 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-react/igniteui-react-optimize-bundle-size)<a href="https://agentmods.dev/skills/igniteui/igniteui-react/igniteui-react-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-react/igniteui-react-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-react/igniteui-react-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-react/igniteui-react-optimize-bundle-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00154 | $0.01192 |
| Opus 5.5 | $0.00062 | $0.00477 |
| Sonnet 5.5 | $0.00031 | $0.00238 |
| Haiku 4.5 | $0.00015 | $0.00119 |
Grade A, and why
igniteui-react-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 2mo 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.
This is a copy
100% identical to igniteui-react-optimize-bundle-size — 450 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Optimizing Ignite UI for React Bundle Size
Standard React techniques (React.lazy + Suspense, route splitting, minification, compression, bundle analyzers) apply unchanged. This skill covers only what is specific to Ignite UI.
Where the weight is
igniteui-react is published with "sideEffects": false and per-component modules, so named imports tree-shake well — a handful of core components costs little. The heavy families are separate packages:
| Package | Weight | Notes |
|---|---|---|
igniteui-react |
light per component | core UI; tree-shakes cleanly |
igniteui-grid-lite |
small | MIT grid; far lighter than the premium grids |
igniteui-react-grids |
heavy | Data/Tree/Pivot/Hierarchical grid |
igniteui-react-charts / -maps / -gauges |
heavy | legacy DV packages, weaker tree-shaking |
Two conclusions: install only the families you use, and split the heavy families out of the initial chunk. Downgrading IgrGrid to IgrGridLite is often the single largest win when the app only displays flat, read-only data — check the feature list in DATAVIZ.md first.
Import rules
import { IgrButton, IgrCard } from 'igniteui-react'; // ✅ tree-shakes
import * as IgniteUI from 'igniteui-react'; // ❌ defeats tree-shaking
import { IgcButtonComponent } from 'igniteui-webcomponents'; // ❌ bypasses the wrapper
Never import from igniteui-webcomponents (or igniteui-webcomponents-grids) directly. It pulls a second copy of the element definitions alongside the wrappers and skips the auto-registration the wrapper performs.
Splitting the heavy families
Lazy-load at the route or panel boundary, not the component. IgrGrid and the DV charts are only worth splitting when the whole view that uses them is deferred.
const Dashboard = lazy(() => import('./pages/Dashboard')); // grid + its theme CSS
const Analytics = lazy(() => import('./pages/Analytics')); // charts + registration
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.
- 2mo ago Changed · +1 lines · +81 tokens per session d8c297e0a576
- 2mo ago Changed · -353 lines · +23 tokens per session 164654a9cc0a
- 3mo ago First seen · 440 lines · 50 tokens per session scan A cd0be380fbcf
igniteui-react-optimize-bundle-size is a skill published in the GitHub repository IgniteUI/igniteui-react (57 stars, last pushed 5d ago), licensed MIT. It adds 154 tokens to every session and 1,192 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to igniteui-react-optimize-bundle-size, differing in 450 lines, and is treated as a copy.
igniteui-react-optimize-bundle-size compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| igniteui-react-optimize-bundle-sizeIgniteUI/igniteui-react | Skill | 57 | 5d ago | MIT | A | 154 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 214 | Claude Code, Codex |
| chakra-ui-migratechakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 137 | Claude Code, Codex |
| chakra-ui-refactorchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 139 | Claude Code, Codex |
| material-ui-nextjsmui/material-ui | Skill | 99k | today | MIT | A | 76 | Claude Code, Codex |
| material-ui-themingmui/material-ui | Skill | 99k | today | MIT | A | 63 | Claude Code, Codex |
| material-ui-stylingmui/material-ui | Skill | 99k | today | MIT | A | 52 | Claude Code, Codex |