cutover

cutover is a command for Claude Code from KhaledSaeed18/dotclaude. It costs 35 tokens per session (641 once invoked), scanned A, original, MIT.

A guided procedure for moving a live website domain from one host to another. DNS is the system that tells browsers which server a domain should use.

In plain words
What is it for?
Use it to rehearse a migration, verify the new host, switch the production domain, and check the result step by step during a cutover.
Why use it?
It makes the owner change DNS while each stage is verified, preserving the old destination for rollback and reducing the chance of switching traffic to an unready deployment.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; positional $N argument.

Part of the deploy plugin — 9 skills, 3 commands, 1 agent shipped together

Good fit Use it to rehearse a migration, verify the new host, switch the production domain, and check the result step by step during a cutover.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/khaledsaeed18/dotclaude/cutover
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.

Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code.

Or install deploy, the plugin that ships this one along with the rest of its 9 skills, 3 commands, 1 agent.

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 cutover

README.md
[![agentmods](https://agentmods.dev/badge/commands/khaledsaeed18/dotclaude/cutover/github.svg)](https://agentmods.dev/commands/khaledsaeed18/dotclaude/cutover)
Your own site
<a href="https://agentmods.dev/commands/khaledsaeed18/dotclaude/cutover"><img src="https://agentmods.dev/badge/commands/khaledsaeed18/dotclaude/cutover/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 cutover

Your own site · 80×15
<a href="https://agentmods.dev/commands/khaledsaeed18/dotclaude/cutover"><img src="https://agentmods.dev/badge/commands/khaledsaeed18/dotclaude/cutover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 641 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.00035 $0.00641
Opus 5.5 $0.00014 $0.00256
Sonnet 5.5 $0.00007 $0.00128
Haiku 4.5 $0.00003 $0.00064

Measured 11d ago against content hash 574c7570168d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cutover 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 11d 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.

.claude-plugin/plugins/deploy/commands/cutover.md · 38 lines

How it starts

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

Context

Request: $ARGUMENTS

Current DNS and deployment doc:

!D=$(echo "$ARGUMENTS" | awk '{print $1}'); [ -n "$D" ] && dig +noall +answer "$D" 2>/dev/null; dig +short NS "$(echo "$D" | awk -F. '{print $(NF-1)"."$NF}')" 2>/dev/null | head -2; ls docs/engineering/DEPLOYMENT.md 2>/dev/null

Task

Run the live-domain-cutover skill as a guided session. You verify; the owner edits DNS and hosting consoles from exact steps you give. Never advance a stage on an assumption: each stage ends with a verification whose output you show.

Stage 1: Record

Write the current record (type, value, TTL) and the authoritative servers into the deployment doc as the rollback value. Give the owner the TTL change (1 min on the existing record) and wait for "done"; confirm with dig @<ns>.

Stage 2: Rehearse

Give the owner the rehearsal record (<name>-next A to the new host, TTL 1 min). Deploy the app on that name only, then run the deploy-verification skill there in full, including a rolling-update probe and the header comparison with the old host. Fix and redeploy until every check passes. Report the checklist.

Stage 3: Switch

Agree a time. Give the owner the two edits (delete the old record, add the A record, TTL 1 min) and wait. Then: poll the authoritative server and two public resolvers; set the real domain as the only domain in Coolify and redeploy; watch the certificate until it verifies; switch the pipeline's probe variable; run deploy-verification on the real domain; ask the owner to reload their signed-in tab and confirm the session survived.

Stage 4: Soak and remove

Record the cutover time and results in the deployment doc. Ask the owner how long to soak. When they declare it over, give the removal steps (DNS cleanup and TTL back to Automatic, old host domain, Git connection and project, GitHub app access and environments, hook secrets in other repositories), verify each with dig, gh api and gh secret list, and finish the docs: migration section removed, follow-ups for other repositories listed.

Read the full file on GitHub · 38 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. 11d ago First seen · 38 lines · 35 tokens per session scan A 574c7570168d

Subscribe to this mod's changes

cutover is a command published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 2d ago), licensed MIT. It adds 35 tokens to every session and 641 once invoked, about $0.0001 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-10-05.