configure-cache-busting

configure-cache-busting is a skill for Claude Code from laurigates/claude-plugins. It costs 39 tokens per session (2,023 once invoked), scanned A, original, MIT.

A setup guide for preventing web assets such as JavaScript, CSS, and images from being served from an outdated cache. It covers Next.js and Vite builds and CDN cache settings.

In plain words
What is it for?
Use it to configure content-based file names, set cache headers for Vercel or Cloudflare, and verify cache settings after framework upgrades.
Why use it?
It prevents users from receiving old files after a deployment, which can cause broken or mismatched application code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the configure-plugin plugin — 48 skills shipped together

Good fit Use it to configure content-based file names, set cache headers for Vercel or Cloudflare, and verify cache settings after framework upgrades.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/laurigates/claude-plugins/configure-cache-busting
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.

Any agent
npx skills add laurigates/claude-plugins --skill configure-cache-busting
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code.

Or install configure-plugin, the plugin that ships this one along with the rest of its 48 skills.

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 configure-cache-busting

README.md
[![agentmods](https://agentmods.dev/badge/skills/laurigates/claude-plugins/configure-cache-busting/github.svg)](https://agentmods.dev/skills/laurigates/claude-plugins/configure-cache-busting)
Your own site
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/configure-cache-busting"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/configure-cache-busting/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.

agentmods 80×15 button for configure-cache-busting

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/configure-cache-busting"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/configure-cache-busting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,023 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.02023
Opus 5.5 $0.00016 $0.00809
Sonnet 5.5 $0.00008 $0.00405
Haiku 4.5 $0.00004 $0.00202

Measured 1mo ago against content hash 46b6a1bd41b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

configure-cache-busting 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 1mo 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.

configure-plugin/skills/configure-cache-busting/SKILL.md · 202 lines

How it starts

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

When to Use This Skill

Use this skill when... Use another approach when...
Configuring content hashing for Next.js or Vite builds Optimizing server-side caching (nginx, CDN config directly)
Setting up CDN cache headers for Vercel or Cloudflare Debugging build output issues (system-debugging agent)
Verifying cache-busting compliance after a framework upgrade Configuring general CI/CD workflows (/configure:workflows)
Adding build verification scripts for hashed assets Setting up container builds (/configure:container)
Auditing static asset caching strategy across a project Profiling frontend performance (browser devtools)

Context

  • Project root: !pwd
  • Package files: !find . -maxdepth 1 -name 'package.json'
  • Next.js config: !find . -maxdepth 1 -name 'next.config.*'
  • Vite config: !find . -maxdepth 1 -name 'vite.config.*'
  • Build output: !find . -maxdepth 1 -type d \( -name '.next' -o -name 'dist' -o -name 'out' \)
  • CDN config: !find . -maxdepth 2 \( -path './vercel.json' -o -path './_headers' -o -path './_redirects' -o -path './public/_headers' \)
  • Project standards: !find . -maxdepth 1 -name '.project-standards.yaml'

Parameters

Parse from command arguments:

  • --check-only: Report compliance status without modifications (CI/CD mode)
  • --fix: Apply fixes automatically without prompting
  • --framework <nextjs|vite>: Override framework detection
  • --cdn <cloudflare|vercel|none>: Specify CDN provider for cache header configuration

Execution

Execute this cache-busting configuration check:

Step 1: Detect project framework

Identify the framework from file structure:

Indicator Framework Config File
next.config.js or next.config.mjs Next.js next.config.*
next.config.ts Next.js next.config.ts
vite.config.js or vite.config.ts Vite vite.config.*
.next/ directory Next.js (built) Detection only
dist/ directory + vite in package.json Vite (built) Detection only

Read the full file on GitHub · 202 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 202 lines · 39 tokens per session scan A 46b6a1bd41b9

Subscribe to this mod's changes

configure-cache-busting is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 2,023 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

web-design

A tool for designing and publishing single-page HTML websites, such as reports, landing pages, and data displays. It uses common web libraries for layouts, charts, icons, and responsive pages, then can deploy the result to Cloudflare Pages.

countbot-ai/CountBot · 81 tokens

huawei-cloud-obs-website-host

Configure Huawei Cloud OBS static website hosting with Python SDK and a custom domain. Use when the user needs to enable or repair OBS website hosting, set index or error pages, expose an existing bucket for public website access through a custom domain, or connect that domain through Huawei Cloud DNS when Huawei…

huaweicloud/huaweicloud-skills · 129 tokens

use

Reach Anthropic's first-party playground capability in one step: verify the upstream playground plugin is installed, invoke its skill for interactive single-file HTML explorers (controls beside a live preview, output is a prompt to paste back), or emit the exact install commands when it is absent. Use when: 'make me a…

melodic-software/claude-code-plugins · 183 tokens

kirby-performance-and-media

Improves Kirby performance and media delivery (cache tuning, CDN, responsive images, lazy loading). Use when optimizing page speed, caching, or image handling.

bnomei/kirby-mcp · 37 tokens

postcss-plugins

Use when postCSS plugin ecosystem — Autoprefixer, cssnano, nesting, custom plugins, preset configuration. Use when working with postcss plugins.

oyi77/1ai-skills · 36 tokens

publish-website

Publish a website to Porkbun Secure Static Hosting. Use when the user asks you to build, create, update or put live a website, landing page or placeholder page for a domain they have at Porkbun, mentions Porkbun hosting or static hosting, or asks how to upload site files to Porkbun.

oborseth/Porkbun-MCP · 65 tokens