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 $0.00037 $0.00282
Sonnet 5 $0.00015 $0.00113
Haiku 4.5 $0.00007 $0.00056

Measured 12d ago against content hash 19d539874ff4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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. 12d 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 5d ago), licensed Apache-2.0. It adds 75 tokens to every session and 565 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-08-30.

Related

Other skills, from other repositories

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens

optimize

Review code for efficiency and performance. Triggered by "/optimize" when user wants to identify bottlenecks or improve performance.

x-cmd/x-cmd · 29 tokens