SC

    Site Cutover & Takedown Checklist – Claude Code Skill

    by GlowHalo

    1

    Inventory the hosts, routes, redirects and callbacks your files show for your site before a move or takedown; what files cannot show becomes questions.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more
    SC

    Site Cutover & Takedown Checklist – Claude Code Skill

    Example session with this skill installed

    Use the Site Cutover & Takedown Checklist on this sample repository (an invented example). I'm moving old-example.com to new-example.com. Git remote origin is https://github.com/acme/old-example.git. Files:

    --- CNAME ---
    www.old-example.com

    --- index.html ---

    <!doctype html> <html><head>
    <link rel="canonical" href="https://www.old-example.com/">
    <meta property="og:url" content="https://www.old-example.com/">
    <meta property="og:image" content="https://www.old-example.com/img/og.png">
    </head><body><a href="https://www.old-example.com/about.html">About</a></body></html>
    

    --- about.html ---

    <!doctype html> <html><head>
    <link rel="canonical" href="https://www.old-example.com/about.html">
    <meta property="og:url" content="https://www.old-example.com/about.html">
    </head><body><a href="https://www.old-example.com/">Home</a></body></html>
    

    --- sitemap.xml ---
    <urlset><url><loc>https://www.old-example.com/</loc></url><url><loc>https://www.old-example.com/about.html</loc></url></urlset>

    --- robots.txt ---
    User-agent: *
    Sitemap: https://www.old-example.com/sitemap.xml

    --- _redirects ---
    /blog/* https://www.old-example.com/news/:splat 301
    /home / 302

    --- wrangler.toml ---
    name = "old-example"
    routes = [
    { pattern = "old-example.com/", zone_name = "old-example.com" },
    { pattern = "api.old-example.com/
    ", zone_name = "old-example.com" }
    ]

    --- .github/workflows/deploy.yml ---
    name: deploy
    on: { push: { branches: [main] } }
    jobs:
    deploy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: cloudflare/pages-action@v1
    with:
    projectName: old-example-site
    directory: .

    --- README.md ---

    old-example

    Mirror repo: acme/old-example-mirror publishes a snapshot.
    OAuth callback: https://www.old-example.com/auth/callback

    --- src/config.js ---
    export const API_BASE = "https://api.old-example.com";

    • Read your context and instructions
    • Compiled the site cutover

    Goal: cutover — 4 distinct hosts / 14 inventory rows — 10 questions open — verified 0 (nothing run yet)

    Scope

    • Goal: cutover. You said "I'm moving old-example.com to new-example.com".

    Old: old-example.com, which in the files also appears as www.old-example.com and api.old-example.com. Repo https://github.com/acme/old-example.git (stated by user).

    New: new-example.com (stated by user). This is a

    NEW host. Whether the new canonical host is the apex or www. is not stated (Q1).

    Files searched: the 10 files pasted in your message: CNAME, index.html, about.html, sitemap.xml, robots.txt, _redirects, wrangler.toml, .github/workflows/deploy.yml, README.md, src/config.js. Line numbers are counted from the paste. I read nothing on disk.

    • Remotes: only origin (stated by user). No .gitmodules was provided.

    Dates: none given.

    Cache window: no TTL given, so I assume the

    48h default. This is a default, not a measurement.

    Host inventory

    #CategoryHost / URLWhat it doesSourceNeeds action
    1A. DNSwww.old-example.comCustom domain for the site (GitHub Pages-style CNAME file)CNAME:1 "www.old-example.com"Yes: switch, then redirect
    2B. Edgeold-example.com/* (apex)Route bound to Worker old-example in zone old-example.comwrangler.toml:3 { pattern = "old-example.com/*", zone_name = "old-example.com" }Yes: re-route or redirect
    3B. Edgeapi.old-example.com/*Route bound to the same Workerwrangler.toml:4 { pattern = "api.old-example.com/*", ... }Yes
    4B. EdgeWorker old-exampleServes #2 and #3wrangler.toml:1 name = "old-example"Yes: new routes, then retire old ones
    5D. DeployCloudflare Pages project old-example-siteCI publishes the repo root on push to main.github/workflows/deploy.yml:8,10 cloudflare/pages-action@v1, projectName: old-example-siteYes: custom domains in the dashboard (Q3)
    6D. MirrorRepo acme/old-example-mirror"publishes a snapshot". The publishing address is unknown (Q5)README.md:2 "Mirror repo: acme/old-example-mirror publishes a snapshot."Yes: retire after cutover (IRREVERSIBLE if deleted)
    7D. Repogithub.com/acme/old-exampleOrigin repo. The CNAME file suggests GitHub Pages may also be on (Q4)stated by user + CNAME:1Check
    8C. Redirect/blog/* → https://www.old-example.com/news/:splat 301Absolute redirect target on the old host. After cutover it would send traffic back to the old domain_redirects:1Yes: make it relative or point it at NEW
    9C. Redirect/home → / 302Relative, so it is unaffected by the domain change. It is temporary (302), not permanent_redirects:2No (for this cutover)
    10E. Sitemap/robotshttps://www.old-example.com/, /about.html, /sitemap.xmlSitemap URLs and the robots Sitemap: line name the old hostsitemap.xml:1, robots.txt:2Yes: files to change
    11F. Canonical/metahttps://www.old-example.com/…canonical, og:url, og:imageindex.html:3,4,5, about.html:3,4Yes: files to change
    12G. Hard-codedhttps://www.old-example.com/about.html, https://www.old-example.com/Absolute nav linksindex.html:6, about.html:5Yes: files to change (or make relative)
    13H. Callbackhttps://www.old-example.com/auth/callbackOAuth redirect URI. The provider console is unknown (Q6)README.md:3Yes: register the new one first, remove the old one last
    14G/H. API basehttps://api.old-example.comFront-end API base URLsrc/config.js:1 API_BASE = "https://api.old-example.com"Yes: file to change, plus CORS on the API (Q7)

    Other observations

    • I. Analytics, verification and mail: none found in the files searched. That does not mean none exists (Q8).
    • Secrets: none found.

    Deploy publishes the repo root. deploy.yml:11 has directory: ., so files like README.md (with the callback URL), wrangler.toml and CNAME are likely publicly served on the Pages site. This is a side note, not a cutover blocker.

    Questions (not findings)

    1. Is the new canonical host new-example.com or www.new-example.com? This decides every redirect target and the new OAuth callback.
    2. Is there an apex A/AAAA record or CNAME for old-example.com outside the Worker route, and any other records (MX, TXT, other subdomains)? Check the Cloudflare DNS panel for zone old-example.com.
    3. Is there a custom domain on the Pages project old-example-site, presumably www.old-example.com? Is its *.pages.dev default address in use or linked anywhere? Check Cloudflare dashboard → Workers & Pages → old-example-site → Custom domains.
    4. Is GitHub Pages enabled on acme/old-example, given the CNAME file? Check Repo → Settings → Pages.
    5. Where does acme/old-example-mirror publish its snapshot (GitHub Pages, Pages project, other)? Does the snapshot contain anything personal? Check that repo's Settings → Pages and its workflows.
    6. Which OAuth provider holds https://www.old-example.com/auth/callback? Check that provider's app console.
    7. Does the API behind api.old-example.com have a CORS or allowed-origins list that must add new-example.com? Are there webhooks or partners calling api.old-example.com? Is there a real endpoint path I can use for verification? None appears in the pasted code.
    8. Are there analytics or tag-manager properties, or a Search Console property for old-example.com? Check the analytics and Search Console accounts.
    9. Is the old-example Worker's *.workers.dev address enabled? Check Worker → Settings → Domains & Routes.
    10. Are there social profiles, listings, QR codes or print material with the old URL? This is outside the repo.

    Runbook

    1. Freeze and snapshot: export the DNS zone for old-example.com, screenshot the Pages/Worker custom domains and routes, and run git tag pre-cutover | verify: tag exists, export saved | rollback: n/a (this is the anchor) | no | you
    2. Lower the DNS TTL on www, apex and api records (Q2) at least 48h before the switch. Read the current TTL with dig old-example.com A (ANSWER SECTION, TTL column); without a reading it stays UNSURE | verify: dig shows the new TTL | rollback: restore the old TTL | no | you
    3. Stand up NEW: add the new-example.com custom domain to Pages project old-example-site (or a new project), and add a Worker route for api.new-example.com/* if the API moves (Q7). Test directly before relying on DNS | verify: curl -sI https://new-example.com/ → 200 | rollback: remove the new domain or route | no | you
    4. Change files (not done by this Skill): index.html:3,4,5,6, about.html:3,4,5, sitemap.xml:1, robots.txt:2, _redirects:1, src/config.js:1, README.md:3, and CNAME:1 (or delete it if GitHub Pages is unused, Q4) | verify: grep -rn "old-example\.com" . returns only intended hits | rollback: git revert | no | you or a later session
    5. Register the new OAuth callback (Q6) and add the new origin to API CORS (Q7). Keep the old values | verify: OAuth login works on NEW | rollback: remove the new entries | no | you
    6. Switch routes and DNS one at a time: Pages custom domain, then the Worker routes in wrangler.toml:3–4 (add NEW patterns and zone) | verify: Phase 5 lines for each host | rollback: restore from the step 1 snapshot | no | you
    7. Install path-preserving 301s from www.old-example.com/*, old-example.com/* and (if moving) api.old-example.com/* to NEW, e.g. a Cloudflare Redirect Rule on the old zone | verify: deep-path curl → 301 → 200 on NEW | rollback: remove the rule | no | you
    8. Search and analytics: add a property for NEW, run Change of Address, resubmit the sitemap (Q8) | verify: console status | rollback: n/a | partly | you
    9. Retire old hosts only after step 7 passes: the mirror acme/old-example-mirror (Q5), GitHub Pages on acme/old-example (Q4), the workers.dev and pages.dev defaults if unused (Q3, Q9). Back up the mirror (git clone --mirror) before deleting; deletion is IRREVERSIBLE, so confirm first. Do

    not release the old zone or domain, because the redirects depend on it | verify: mirror-host lines in Phase 5 → 404 or DNS gone | rollback: restore from the clone (only if backed up) |

    IRREVERSIBLE (delete) | you
    10. After the cache window: remove the old OAuth callback and old CORS origin, restore TTLs, and rerun the status table | verify: Phase 5 again | rollback: re-add the callback | no | you

    Verification commands

    www.old-example.com (expected: 301 → NEW, same path)

    curl -sI https://www.old-example.com/
    curl -sI https://www.old-example.com/about.html
    curl -sI https://www.old-example.com/blog/test
    curl -sI -L https://www.old-example.com/about.html | grep -i "^HTTP\|^location"
    curl -sI http://www.old-example.com/
    curl -s https://www.old-example.com/robots.txt | head
    dig +short www.old-example.com CNAME
    

    old-example.com (apex, expected: 301 → NEW)

    curl -sI https://old-example.com/
    curl -sI https://old-example.com/about.html
    curl -sI -L https://old-example.com/ | grep -i "^HTTP\|^location"
    curl -sI http://old-example.com/
    dig +short old-example.com A ; dig +short old-example.com CNAME ; dig +short old-example.com MX
    

    api.old-example.com (expected: 301/308 to the new API, or still served until step 10; add a real endpoint path per Q7)

    curl -sI https://api.old-example.com/
    dig +short api.old-example.com CNAME ; dig +short api.old-example.com A
    

    new-example.com (NEW, expected: 200, never retired)

    curl -sI https://new-example.com/
    curl -sI https://new-example.com/about.html
    curl -s https://new-example.com/robots.txt | head
    curl -s https://new-example.com/sitemap.xml | head
    dig +short new-example.com A ; dig +short new-example.com CNAME
    

    Mirror and default addresses (Q3, Q4, Q5, Q9) get commands only after you confirm the actual URLs.

    Status table

    HostExpectedEvidence pastedStatus
    www.old-example.com301 → NEW (path kept)noneUNSURE (not yet checked)
    old-example.com301 → NEW (path kept)noneUNSURE (not yet checked)
    api.old-example.comredirect to the new API, or served until step 10noneUNSURE (not yet checked)
    new-example.com200noneUNSURE (not yet checked)

    Limits of this check

    • I only saw the 10 pasted files. Grep cannot see the Cloudflare DNS, Pages or Worker dashboards, GitHub Pages settings, the mirror repo, the OAuth console, analytics, or any third-party links. Those are the open questions above.
    • I made no network calls and ran no commands.
    • Cache window: no TTLs were given, so assume up to 48h (default) before treating any "gone" or "moved" reading as final. A HIT or a nonzero age within that window means UNSURE.

    Paste the command output and I will fill in the status table.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Before you move a site to a new host or domain, switch repositories, or take a site down, build a read-only inventory of the places your files show serving or referencing it, not just the one repository you are looking at. Greps your repo and config for DNS hints, CDN and edge routes, redirects, mirrors and second repos, sitemaps, canonical tags, hard-coded URLs, callback URLs, analytics properties and cache clues. Outputs an ordered runbook with per-host verification commands (you run them), rollback points, and a verified gone / verified moved / UNSURE table based on the command output you paste back. Read-only: it greps your repo and prints commands for you to run; it changes nothing. It does not execute changes or make network calls and is instructed not to invent a host; anything not found, or only visible in a dashboard, becomes a question.

    Anthropic, Claude Code, OpenAI, Codex, OpenClaw and any platform names mentioned (such as GitHub) are trademarks of their respective owners. This Skill is an independent product and is not affiliated with, endorsed by or sponsored by any of them.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 20 days ago

    Accounts
    OldApi
    Software
    Git

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    Allowed Hosts

    old
    www.old
    api.old
    Listed1 month ago
    Updated14 days ago

    What's inside

    Frequently Asked Questions

    Inventory the hosts, routes, redirects and callbacks your files show for your site before a move or takedown; what files cannot show becomes questions.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Site Cutover & Takedown Checklist – Claude Code Skill on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.