Skip to content
Skill

Cloudflare pages stale assets

Diagnoses why a Cloudflare Pages site still serves old assets after a deploy

Cloudflare pages stale assets is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
18
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Cloudflare pages stale assets

This skill walks an agent through finding the layer responsible when a static site on Cloudflare Pages keeps showing old CSS, JavaScript, or UI after a successful deployment. It separates problems in the deployment itself, custom domain routing, edge or browser caching, and runtime JavaScript errors before any code is changed.

The workflow has the agent confirm the repository state and the output directory Pages uses, then request the pages.dev address, the apex domain and the www hostname with cache-busting query strings. It records status codes, redirects, ETag, CF-Cache-Status and Age headers to compare what each hostname serves against the latest commit.

When stale static files are the cause, the skill has the agent add release-specific version parameters to CSS and JS URLs across HTML pages, then re-fetch the live HTML and assets to confirm the change. It expects access to the project repository, network fetches of the live site and, where possible, a real browser for checking the rendered page. The skill ships as a single SKILL.md with no bundled scripts.

When your agent uses it

Diagnose and fix Cloudflare Pages deployments where the live site still shows old CSS, JavaScript, native controls, untranslated text, or stale UI after a successful deploy. Use for static websites on Cloudflare Pages, custom domains, pages.dev previews, browser-cache disagreements, and "it deployed but I still see the old page" reports.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/cloudflare-pages-stale-assets to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cloudflare-pages-stale-assets &&
cp -R "$tmp/shared_skills/active/cloudflare-pages-stale-assets" ~/.claude/skills/cloudflare-pages-stale-assets &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/cloudflare-pages-stale-assets inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/cloudflare-pages-stale-assets to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cloudflare-pages-stale-assets &&
cp -R "$tmp/shared_skills/active/cloudflare-pages-stale-assets" ~/.agents/skills/cloudflare-pages-stale-assets &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/cloudflare-pages-stale-assets inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/cloudflare-pages-stale-assets to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cloudflare-pages-stale-assets &&
cp -R "$tmp/shared_skills/active/cloudflare-pages-stale-assets" ~/.cursor/skills/cloudflare-pages-stale-assets &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/cloudflare-pages-stale-assets inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/JinNing6/Noosphere.git --path shared_skills/active/cloudflare-pages-stale-assets

Or copy the folder to ~/.gemini/skills/cloudflare-pages-stale-assets yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cloudflare-pages-stale-assets:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cloudflare-pages-stale-assets &&
cp -R "$tmp/shared_skills/active/cloudflare-pages-stale-assets" ~/.copilot/skills/cloudflare-pages-stale-assets &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/cloudflare-pages-stale-assets inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/JinNing6/Noosphere.git

Then copy Noosphere/shared_skills/active/cloudflare-pages-stale-assets into your agent's skills folder as cloudflare-pages-stale-assets. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Layered failure diagnosis
Separates deployment, domain routing, edge cache, browser cache and runtime causes before changing anything.
Multi-hostname comparison
Checks the pages.dev address, apex domain and www host and records headers that reveal cache state.
Asset versioning fix
Adds release identifiers to CSS and JavaScript URLs so browsers fetch current files.
Post-deploy verification
Confirms live HTML references the intended assets and that the rendered page behaves correctly.
Completion checklist
Defines the conditions that must hold before the work is considered finished, including commit scope.

Good for

  • Fix a Cloudflare Pages site that shows old styles after a successful deploy
  • Check whether a custom domain is serving the same build as the pages.dev preview
  • Version CSS and JavaScript URLs so visitors stop seeing a stale interface
  • Diagnose untranslated text or missing UI changes on a static Pages site

Cloudflare pages stale assets FAQ

What does Cloudflare pages stale assets need to run?

It assumes a static website hosted on Cloudflare Pages and access to its repository and live URLs. It bundles no scripts, and its instructions use network fetches and, when possible, a real browser.

When should the agent use Cloudflare pages stale assets?

When a site on Cloudflare Pages still shows old CSS, JavaScript, native controls or untranslated text after a deploy reported success, including reports involving custom domains or pages.dev previews.

Does Cloudflare pages stale assets change files automatically?

Its workflow can lead to edits, such as versioning static asset URLs in every HTML page or fixing a JavaScript exception, but the fix depends on which layer the diagnosis identifies.

How do I install Cloudflare pages stale assets in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cloudflare-pages-stale-assets to use it in all your projects, or to .claude/skills/cloudflare-pages-stale-assets in one project.

Does Cloudflare pages stale assets run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Cloudflare pages stale assets?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Cloudflare pages stale assets?

The closest alternatives to Cloudflare pages stale assets are Gem devops guidelines, Cloudflare deploy, Cloudflare, Vibe safe deploy and Deploy.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from JinNing6/Noosphere

  1. Checks a shared Noosphere skill registry before debugging a concrete software failure

    • Open source
    • 18 GitHub stars
    • Developer tools
  2. Has the agent check Noosphere shared debugging memory before fixing bugs and upload

    • Open source
    • 18 GitHub stars
    • Knowledge and memory
  3. Diagnoses browser clicks, hover and focus that fail though elements look visible

    • Open source
    • 18 GitHub stars
    • Browser automation
  4. Guides agents to trace async frontend bugs across event, state, data, lifecycle and render

    • Open source
    • 18 GitHub stars
    • Developer tools