audit-bundle-size

audit-bundle-size is a skill for Claude Code, Codex from kensaurus/cursor-kenji. It costs 82 tokens per session (2,568 once invoked), scanned A, original, MIT.

A 4D View Pro command that selects a range of spreadsheet cells and makes its first cell active. The range can include separate groups of cells.

In plain words
What is it for?
Use it to select cells after loading data, moving through a worksheet, or responding to user actions.
Why use it?
It lets code control what the user sees as selected instead of relying on manual mouse or keyboard selection.

Skill for Claude CodeCodex

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

Not installable on its own: it reads a path above its own folder, which only exists inside its repository. The line is const HeavyChart = dynamic(() => import('../components/HeavyChart'), {.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 audit-bundle-size

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/audit-bundle-size.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/audit-bundle-size)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/audit-bundle-size"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/audit-bundle-size.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,568 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.1 $0.00082 $0.02568
Opus 5 $0.00041 $0.01284
Sonnet 5 $0.00016 $0.00514
Haiku 4.5 $0.00008 $0.00257

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

Security

Grade A, and why

audit-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 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.

skills/audit-bundle-size/SKILL.md · 287 lines

How it starts

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

audit-bundle-size — Find and Eliminate Bundle Bloat

Degree of freedom: MIXED — Offender triage and swap choice [HIGH freedom]; Phase 1 production build + analyser [LOW freedom — run exactly].

Audit-and-fix exception. Measure the payload, then shrink it. Runtime slowness → audit-performance.

Every kilobyte of JavaScript the browser must download, parse, and compile before showing anything costs real users real time. A large initial bundle is the #1 avoidable cause of slow LCP and poor Core Web Vitals. Find exactly what is bloating it and fix each item.

How to reason — Observe → Interpret → Classify → Severity

  1. Observe — quote First Load JS / chunk gzip and the treemap contributor (file + package)
  2. Interpret — is this unused code on the critical path, a duplicate, or a missing split?
  3. Classify — giant-vendor / full-library import / missing-lazy / unused-dep / dev-in-prod / duplicate
  4. Severity — by gzip on the initial route: >250 KB First Load JS = review; do not delete a feature to save KB

Worked example

Observe: Next.js First Load JS 420 KB gzip. Treemap: default lodash import in lib/utils.ts; moment with all locales in the shared layout. Interpret: two libraries pull unused code onto every route. Classify: full-library import + oversized date lib. Severity: High — over the 250 KB review threshold. Finding: named lodash/debounce + replace moment with dayjs; remesure First Load JS before claiming a save.


Phase 0: Detect bundler and existing setup [HIGH freedom]

package.json scripts.build   → build command and framework
vite.config.*                → Vite + rollupOptions
next.config.*                → Next.js (webpack / Turbopack)
webpack.config.*             → standalone Webpack
astro.config.*               → Astro (islands, Vite underneath)

Identify:

  • Bundler: Vite / Webpack / Rollup / esbuild / Turbopack / Next.js built-in
  • Analyser available: rollup-plugin-visualizer, webpack-bundle-analyzer, @next/bundle-analyzer, source-map-explorer
  • Framework: Next.js (App / Pages), SvelteKit, Astro, Remix, Nuxt, Vite SPA

Read the full file on GitHub · 287 lines

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 · 287 lines · 82 tokens per session scan A 30d2f03516fb

Subscribe to this mod's changes

audit-bundle-size is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 8d ago), licensed MIT. It adds 82 tokens to every session and 2,568 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-09-03.

Related

Other skills, from other repositories

work-markitdown

办公文档通用 Inflow 编排:把 DOCX、PDF、PPTX、XLSX、图片、HTML、CSV 等 15+ 格式稳定转换为 Markdown。extends 上游 markitdown 技能,补充本地环境适配和批量转换工作流。用户提到'转成 md''文档转 markdown''解析文档''读取文档内容'时使用。.

seed-forge/harness-ai-kit · 93 tokens

markitdown

使用当前环境已安装的 MarkItDown,把 DOCX、PDF、PPTX、XLSX、图片、HTML、CSV 等文件稳定转换为 Markdown。用户提到“转成 md”“markitdown”“文档转 markdown”“把 docx/pdf/pptx/xlsx 变成 markdown”时使用。.

seed-forge/harness-ai-kit · 73 tokens

data-export

异步数据导出服务,支持 Excel/CSV/JSON 格式导出、进度追踪、任务管理。当需要大数据量报表导出或后台异步任务处理时使用。.

nongjun/feishu-cursor-claw · 46 tokens

xlsx

Create, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, financial models, multi-sheet workbooks, and tabular cleanup exported to Excel. Also applies to .csv/.tsv when the user wants spreadsheet output. Do NOT use for…

K-Dense-AI/scientific-agent-skills · 94 tokens

weekly-crm-report

Cleans a weekly CRM export and produces a regional sales summary. Activates when the user asks to clean a CRM export, deduplicate sales rows, calculate regional totals, or generate a weekly sales report from a CSV.

FrancyJGLisboa/agent-skill-creator · 49 tokens

liteparse

Parse documents into LLM-ready content entirely on the local machine — PDF / DOCX / XLSX / PPTX / images → Markdown, structured JSON (with bounding boxes), or page screenshots, via the lit CLI. No cloud, no LLM, works offline. Use whenever the user attaches or points to a document that must be read before reasoning…

Prismer-AI/PrismerCloud · 90 tokens