cloudflare-pages-stale-assets

cloudflare-pages-stale-assets is a skill for Claude Code, Codex from JinNing6/Noosphere. It costs 75 tokens per session (565 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for Cloudflare Pages websites that still show old files or old interface text after deployment. Cloudflare Pages is a service that publishes websites from a code repository.

In plain words
What is it for?
Use it to compare live domains, check cache and deployment headers, find stale CSS or JavaScript, and verify which layer prevents the latest site from appearing.
Why use it?
It helps identify whether the problem comes from the deployment, domain routing, edge cache, browser cache, or JavaScript errors before you change the code again.

Skill for Claude CodeCodex

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

Good fit Use it to compare live domains, check cache and deployment headers, find stale CSS or JavaScript, and verify which layer prevents the latest site from appearing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jinning6/noosphere/cloudflare-pages-stale-assets
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 JinNing6/Noosphere --skill cloudflare-pages-stale-assets
Clone the repo
git clone --depth 1 https://github.com/JinNing6/Noosphere

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 cloudflare-pages-stale-assets

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinning6/noosphere/cloudflare-pages-stale-assets/github.svg)](https://agentmods.dev/skills/jinning6/noosphere/cloudflare-pages-stale-assets)
Your own site
<a href="https://agentmods.dev/skills/jinning6/noosphere/cloudflare-pages-stale-assets"><img src="https://agentmods.dev/badge/skills/jinning6/noosphere/cloudflare-pages-stale-assets/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 cloudflare-pages-stale-assets

Your own site · 80×15
<a href="https://agentmods.dev/skills/jinning6/noosphere/cloudflare-pages-stale-assets"><img src="https://agentmods.dev/badge/skills/jinning6/noosphere/cloudflare-pages-stale-assets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 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.
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.00075 $0.00565
Opus 5.5 $0.00030 $0.00226
Sonnet 5.5 $0.00015 $0.00113
Haiku 4.5 $0.00007 $0.00056

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

Security

Grade A, and why

cloudflare-pages-stale-assets 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.

shared_skills/active/cloudflare-pages-stale-assets/SKILL.md · 40 lines

How it starts

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

Cloudflare Pages Stale Assets

Use this before changing UI code again. First prove whether the failure is deployment, domain routing, edge/browser cache, or runtime JavaScript.

Workflow

  1. Confirm the repo state:
    • Read project agent rules first.
    • Check the current branch, latest commit, and dirty files.
    • Identify the exact generated/static output directory used by Pages.
  2. Compare every live hostname:
    • Fetch https://<pages-project>.pages.dev/, the apex custom domain, and www.
    • Add a cache-busting query to HTML, CSS, and JS URLs, for example ?codex_check=<timestamp>.
    • Record status, redirect target, ETag, CF-Cache-Status, Age, and whether the expected new code appears.
  3. Distinguish failure layers:
    • Deployment: latest commit is not in the live HTML.
    • Domain routing: pages.dev is current but custom domain is stale or SSL/route-broken.
    • Asset cache: HTML is current but references unversioned old CSS/JS.
    • Browser cache: network fetch is current but the user's browser still displays old assets.
    • Runtime: assets are current but console errors prevent enhancement.
  4. Fix at the owning layer:
    • If production branch is wrong, fix Pages branch control or redeploy the intended branch.
    • If custom domain differs, fix Pages custom domain binding and DNS before editing UI.
    • If stale CSS/JS is plausible, version static asset URLs in every HTML page, such as style.css?v=<release-id> and language.js?v=<release-id>.
    • If runtime fails, inspect console errors and fix the actual JavaScript exception.
  5. Verify after deploy:
    • Fetch live HTML and confirm it references versioned assets.
    • Fetch versioned CSS/JS and confirm they contain the expected selectors/functions.
    • Use a real browser when possible to confirm DOM enhancement, not only source text.
    • Tell the user whether they need a hard refresh; after versioned assets they usually should not.

Completion Standard

The latest live HTML is proven to reference the intended assets, all affected hostnames are checked or explicitly reported as unreachable, runtime errors are ruled out or fixed, and the final commit includes only task-scoped files.

Read the full file on GitHub · 40 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. 3mo ago First seen · 40 lines · 75 tokens per session scan A 19d539874ff4

Subscribe to this mod's changes

cloudflare-pages-stale-assets is a skill published in the GitHub repository JinNing6/Noosphere (18 stars, last pushed 7d ago), licensed Apache-2.0. It adds 75 tokens to every session and 565 once invoked, about $0.0003 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.

Related

cloudflare-pages-stale-assets compared with skills from other repositories

cloudflare-pages-stale-assets next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloudflare-pages-stale-assetsJinNing6/NoosphereSkill187d agoApache-2.0A75Claude Code, Codex
error-recoverybojieli/ai-agent-bookSkill60kyesterdayApache-2.0A111Claude Code, Codex
pathways-workloadgoogle/skillsSkill25kyesterdayApache-2.0A178Claude Code, Codex
gke-workload-scaling-troubleshootinggoogle/skillsSkill25kyesterdayApache-2.0A170Claude Code, Codex
api-gateway-troubleshootinggoogle/skillsSkill25kyesterdayApache-2.0A196Claude Code, Codex
gke-node-notreadygoogle/skillsSkill25kyesterdayApache-2.0A112Claude Code, Codex
gke-ai-troubleshooting-tpu-performance-degradationgoogle/skillsSkill25kyesterdayApache-2.0A200Claude Code, Codex