{"id":51030959,"url":"https://github.com/omriariav/claude-plans-backup","last_synced_at":"2026-06-22T00:30:51.509Z","repository":{"id":365193157,"uuid":"1270863909","full_name":"omriariav/claude-plans-backup","owner":"omriariav","description":"Back up and restore your entire Claude Code config (~/.claude) as one sanitized tarball — migrate between accounts or machines without losing skills, plugins, MCP servers, hooks, or memory.","archived":false,"fork":false,"pushed_at":"2026-06-16T09:37:56.000Z","size":33,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T10:15:35.019Z","etag":null,"topics":["anthropic","backup","claude","claude-code","cli","developer-tools","dotfiles","mcp","migration","restore"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omriariav.png","metadata":{"files":{"readme":"README.html","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T05:49:44.000Z","updated_at":"2026-06-16T09:18:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/omriariav/claude-plans-backup","commit_stats":null,"previous_names":["omriariav/claude-plans-backup"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/omriariav/claude-plans-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omriariav%2Fclaude-plans-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omriariav%2Fclaude-plans-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omriariav%2Fclaude-plans-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omriariav%2Fclaude-plans-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omriariav","download_url":"https://codeload.github.com/omriariav/claude-plans-backup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omriariav%2Fclaude-plans-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34630753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anthropic","backup","claude","claude-code","cli","developer-tools","dotfiles","mcp","migration","restore"],"created_at":"2026-06-22T00:30:50.179Z","updated_at":"2026-06-22T00:30:51.501Z","avatar_url":"https://github.com/omriariav.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!DOCTYPE html\u003e\n\u003chtml xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"\" xml:lang=\"\"\u003e\n\u003chead\u003e\n  \u003cmeta charset=\"utf-8\" /\u003e\n  \u003cmeta name=\"generator\" content=\"pandoc\" /\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=yes\" /\u003e\n  \u003ctitle\u003eclaude-plans-backup\u003c/title\u003e\n  \u003cstyle\u003e\n    /* Default styles provided by pandoc.\n    ** See https://pandoc.org/MANUAL.html#variables-for-html for config info.\n    */\n    code{white-space: pre-wrap;}\n    span.smallcaps{font-variant: small-caps;}\n    div.columns{display: flex; gap: min(4vw, 1.5em);}\n    div.column{flex: auto; overflow-x: auto;}\n    div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}\n    /* The extra [class] is a hack that increases specificity enough to\n       override a similar rule in reveal.js */\n    ul.task-list[class]{list-style: none;}\n    ul.task-list li input[type=\"checkbox\"] {\n      font-size: inherit;\n      width: 0.8em;\n      margin: 0 0.8em 0.2em -1.6em;\n      vertical-align: middle;\n    }\n    .display.math{display: block; text-align: center; margin: 0.5rem auto;}\n    /* CSS for syntax highlighting */\n    html { -webkit-text-size-adjust: 100%; }\n    pre \u003e code.sourceCode { white-space: pre; position: relative; }\n    pre \u003e code.sourceCode \u003e span { display: inline-block; line-height: 1.25; }\n    pre \u003e code.sourceCode \u003e span:empty { height: 1.2em; }\n    .sourceCode { overflow: visible; }\n    code.sourceCode \u003e span { color: inherit; text-decoration: inherit; }\n    div.sourceCode { margin: 1em 0; }\n    pre.sourceCode { margin: 0; }\n    @media screen {\n    div.sourceCode { overflow: auto; }\n    }\n    @media print {\n    pre \u003e code.sourceCode { white-space: pre-wrap; }\n    pre \u003e code.sourceCode \u003e span { text-indent: -5em; padding-left: 5em; }\n    }\n    pre.numberSource code\n      { counter-reset: source-line 0; }\n    pre.numberSource code \u003e span\n      { position: relative; left: -4em; counter-increment: source-line; }\n    pre.numberSource code \u003e span \u003e a:first-child::before\n      { content: counter(source-line);\n        position: relative; left: -1em; text-align: right; vertical-align: baseline;\n        border: none; display: inline-block;\n        -webkit-touch-callout: none; -webkit-user-select: none;\n        -khtml-user-select: none; -moz-user-select: none;\n        -ms-user-select: none; user-select: none;\n        padding: 0 4px; width: 4em;\n        color: #aaaaaa;\n      }\n    pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa;  padding-left: 4px; }\n    div.sourceCode\n      {   }\n    @media screen {\n    pre \u003e code.sourceCode \u003e span \u003e a:first-child::before { text-decoration: underline; }\n    }\n    code span.al { color: #ff0000; font-weight: bold; } /* Alert */\n    code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */\n    code span.at { color: #7d9029; } /* Attribute */\n    code span.bn { color: #40a070; } /* BaseN */\n    code span.bu { color: #008000; } /* BuiltIn */\n    code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */\n    code span.ch { color: #4070a0; } /* Char */\n    code span.cn { color: #880000; } /* Constant */\n    code span.co { color: #60a0b0; font-style: italic; } /* Comment */\n    code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */\n    code span.do { color: #ba2121; font-style: italic; } /* Documentation */\n    code span.dt { color: #902000; } /* DataType */\n    code span.dv { color: #40a070; } /* DecVal */\n    code span.er { color: #ff0000; font-weight: bold; } /* Error */\n    code span.ex { } /* Extension */\n    code span.fl { color: #40a070; } /* Float */\n    code span.fu { color: #06287e; } /* Function */\n    code span.im { color: #008000; font-weight: bold; } /* Import */\n    code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */\n    code span.kw { color: #007020; font-weight: bold; } /* Keyword */\n    code span.op { color: #666666; } /* Operator */\n    code span.ot { color: #007020; } /* Other */\n    code span.pp { color: #bc7a00; } /* Preprocessor */\n    code span.sc { color: #4070a0; } /* SpecialChar */\n    code span.ss { color: #bb6688; } /* SpecialString */\n    code span.st { color: #4070a0; } /* String */\n    code span.va { color: #19177c; } /* Variable */\n    code span.vs { color: #4070a0; } /* VerbatimString */\n    code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */\n  \u003c/style\u003e\n  \u003clink rel=\"stylesheet\" href=\"data:text/css,body{max-width:48rem;margin:2rem auto;padding:0 1rem;font:16px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;color:#1a1a1a}h1,h2{border-bottom:1px solid #eaecef;padding-bottom:.3em}code{background:#f6f8fa;padding:.15em .3em;border-radius:4px;font-size:90%}pre{background:#f6f8fa;padding:1rem;border-radius:6px;overflow:auto}pre code{background:none;padding:0}table{border-collapse:collapse;width:100%}th,td{border:1px solid #d0d7de;padding:.4em .6em;text-align:left}blockquote{color:#57606a;border-left:.25em solid #d0d7de;padding:0 1em;margin:0}\" /\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cheader id=\"title-block-header\"\u003e\n\u003ch1 class=\"title\"\u003eclaude-plans-backup\u003c/h1\u003e\n\u003c/header\u003e\n\u003ch1 id=\"claude-plans-backup\"\u003eclaude-plans-backup\u003c/h1\u003e\n\u003cp\u003eA hardened Claude Code config backup/restore skill. Moves a Claude\nCode setup to a \u003cstrong\u003enew machine\u003c/strong\u003e (or rebuilds it after a\nwipe/reinstall) without losing your skills, plugins, MCP servers, hooks,\nagents, \u003ccode\u003eCLAUDE.md\u003c/code\u003e, and memory.\u003c/p\u003e\n\u003ch2 id=\"when-its-worth-running\"\u003eWhen it's worth running\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eScenario\u003c/th\u003e\n\u003cth\u003eWhat survives on its own\u003c/th\u003e\n\u003cth\u003eWhat this tool is for\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eNew machine / clean reinstall\u003c/strong\u003e\u003c/td\u003e\n\u003ctd\u003enothing — \u003ccode\u003e~/.claude\u003c/code\u003e doesn't exist there yet\u003c/td\u003e\n\u003ctd\u003ethe core use case: back up here, \u003cstrong\u003erestore\u003c/strong\u003e there to\nrebuild marketplaces, plugins, MCP, hooks, agents,\n\u003ccode\u003eCLAUDE.md\u003c/code\u003e, and memory\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSame machine, account switch only\u003c/strong\u003e (e.g. personal →\nEnterprise via \u003ccode\u003e/login\u003c/code\u003e)\u003c/td\u003e\n\u003ctd\u003eeverything — \u003ccode\u003e/login\u003c/code\u003e swaps credentials but leaves\n\u003ccode\u003e~/.claude\u003c/code\u003e intact\u003c/td\u003e\n\u003ctd\u003ea \u003cstrong\u003erollback snapshot\u003c/strong\u003e to take \u003cem\u003ebefore\u003c/em\u003e you\nswitch; you normally won't run restore at all\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cp\u003eNotes for the same-machine case:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eYour \u003ccode\u003e--resume\u003c/code\u003e history is preserved automatically — the\ntranscripts never move.\u003c/li\u003e\n\u003cli\u003eThe switch is mostly just \u003ccode\u003e/login\u003c/code\u003e into the new account,\nthen \u003ccode\u003e/mcp\u003c/code\u003e to re-auth OAuth servers (token-based MCP servers\nkeep working — their token lives in \u003ccode\u003e~/.claude.json\u003c/code\u003e, which\nstays put).\u003c/li\u003e\n\u003cli\u003eIf the new account pushes \u003cstrong\u003emanaged settings\u003c/strong\u003e that\noverwrite your \u003ccode\u003esettings.json\u003c/code\u003e, pull just that file out of\nthe backup tarball — don't run the full restore (it would reinstall\nplugins that are already there).\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2 id=\"how-it-works\"\u003eHow it works\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eCaptures the whole setup, including the easy-to-miss\npieces.\u003c/strong\u003e Settings, skills, commands, agents, hooks, global\n\u003ccode\u003eCLAUDE.md\u003c/code\u003e, keybindings, and tmux config — with\n\u003ccode\u003eagents/\u003c/code\u003e, \u003ccode\u003ehooks/\u003c/code\u003e, and \u003ccode\u003eCLAUDE.md\u003c/code\u003e\nexplicitly included and hook scripts re-\u003ccode\u003echmod\u003c/code\u003e'd on\nrestore.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eStrips credentials two ways.\u003c/strong\u003e Removes\nsecret-\u003cem\u003enamed\u003c/em\u003e keys \u003cstrong\u003eand\u003c/strong\u003e redacts\nsecret-\u003cem\u003eshaped\u003c/em\u003e values (\u003ccode\u003esk-ant-\u003c/code\u003e, JWTs,\n\u003ccode\u003eghp_\u003c/code\u003e, \u003ccode\u003eAKIA\u003c/code\u003e, PEM) from\n\u003ccode\u003esettings.json\u003c/code\u003e and \u003ccode\u003e~/.claude.json\u003c/code\u003e.\n\u003ccode\u003e.credentials.json\u003c/code\u003e is never included.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eRestores without clobbering.\u003c/strong\u003e Merges only\n\u003ccode\u003emcpServers\u003c/code\u003e into the target \u003ccode\u003esettings.json\u003c/code\u003e\n(backing the original up first), so it leaves an account's managed\nsettings intact. \u003ccode\u003e~/.claude.json\u003c/code\u003e is touched only if you\nexplicitly opt in.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePreviews before it acts.\u003c/strong\u003e Restore prints its full\nplan and changes nothing until you pass \u003ccode\u003e--apply\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSafe by construction.\u003c/strong\u003e Restore runs commands from\nexplicit args (no \u003ccode\u003eeval\u003c/code\u003e), the tarball is written\n\u003ccode\u003e0600\u003c/code\u003e, and \u003ccode\u003e.gitignore\u003c/code\u003e keeps it (confidential\nconfig/memory, and transcripts if you opt in) out of version\ncontrol.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2 id=\"install-make-it-an-active-skill\"\u003eInstall (make it an active\nskill)\u003c/h2\u003e\n\u003cdiv class=\"sourceCode\" id=\"cb1\"\u003e\u003cpre\nclass=\"sourceCode bash\"\u003e\u003ccode class=\"sourceCode bash\"\u003e\u003cspan id=\"cb1-1\"\u003e\u003ca href=\"#cb1-1\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"fu\"\u003eln\u003c/span\u003e \u003cspan class=\"at\"\u003e-s\u003c/span\u003e \u003cspan class=\"st\"\u003e\u0026quot;\u003c/span\u003e\u003cspan class=\"va\"\u003e$PWD\u003c/span\u003e\u003cspan class=\"st\"\u003e/skills/claude-config-backup\u0026quot;\u003c/span\u003e ~/.claude/skills/claude-config-backup\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eThen invoke in Claude Code with \u003ccode\u003e/claude-config-backup\u003c/code\u003e,\nor just run the scripts directly.\u003c/p\u003e\n\u003ch2 id=\"back-up-old-machine--current-account\"\u003eBack up (old machine /\ncurrent account)\u003c/h2\u003e\n\u003cdiv class=\"sourceCode\" id=\"cb2\"\u003e\u003cpre\nclass=\"sourceCode bash\"\u003e\u003ccode class=\"sourceCode bash\"\u003e\u003cspan id=\"cb2-1\"\u003e\u003ca href=\"#cb2-1\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"fu\"\u003ebash\u003c/span\u003e skills/claude-config-backup/scripts/backup.sh \u003cspan class=\"at\"\u003e--dry-run\u003c/span\u003e   \u003cspan class=\"co\"\u003e# preview inventory\u003c/span\u003e\u003c/span\u003e\n\u003cspan id=\"cb2-2\"\u003e\u003ca href=\"#cb2-2\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"fu\"\u003ebash\u003c/span\u003e skills/claude-config-backup/scripts/backup.sh             \u003cspan class=\"co\"\u003e# build tarball in $HOME\u003c/span\u003e\u003c/span\u003e\n\u003cspan id=\"cb2-3\"\u003e\u003ca href=\"#cb2-3\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"co\"\u003e# options: --yes (no prompts), --out DIR (write elsewhere)\u003c/span\u003e\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eProduces \u003ccode\u003e~/claude-backup-YYYY-MM-DD-HHMM.tar.gz\u003c/code\u003e (mode\n\u003ccode\u003e0600\u003c/code\u003e) containing a sanitized config,\n\u003ccode\u003eRESTORE.md\u003c/code\u003e, \u003ccode\u003eMANIFEST.txt\u003c/code\u003e, and a bundled\n\u003ccode\u003erestore-claude.sh\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eBy default the archive includes your settings, skills, commands,\nagents, hooks, \u003ccode\u003eCLAUDE.md\u003c/code\u003e, and \u003cstrong\u003eauto-memory\u003c/strong\u003e\n— but \u003cstrong\u003enot conversation transcripts\u003c/strong\u003e, which are opt-in\n(the prompt defaults to \u003cem\u003eno\u003c/em\u003e; \u003ccode\u003e--yes\u003c/code\u003e skips them).\nThey are the bulk of the data and rarely needed on the new machine — see\nbelow.\u003c/p\u003e\n\u003ch2 id=\"restore-new-machine--enterprise-account\"\u003eRestore (new machine /\nEnterprise account)\u003c/h2\u003e\n\u003cdiv class=\"sourceCode\" id=\"cb3\"\u003e\u003cpre\nclass=\"sourceCode bash\"\u003e\u003ccode class=\"sourceCode bash\"\u003e\u003cspan id=\"cb3-1\"\u003e\u003ca href=\"#cb3-1\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"co\"\u003e# 1. install Claude Code, then: /login   (into the new account)\u003c/span\u003e\u003c/span\u003e\n\u003cspan id=\"cb3-2\"\u003e\u003ca href=\"#cb3-2\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"fu\"\u003etar\u003c/span\u003e xzf claude-backup-\u003cspan class=\"pp\"\u003e*\u003c/span\u003e.tar.gz \u003cspan class=\"at\"\u003e-C\u003c/span\u003e ~/\u003c/span\u003e\n\u003cspan id=\"cb3-3\"\u003e\u003ca href=\"#cb3-3\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"fu\"\u003ebash\u003c/span\u003e ~/restore-claude.sh                  \u003cspan class=\"co\"\u003e# PREVIEW by default — prints the plan, changes nothing\u003c/span\u003e\u003c/span\u003e\n\u003cspan id=\"cb3-4\"\u003e\u003ca href=\"#cb3-4\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"fu\"\u003ebash\u003c/span\u003e ~/restore-claude.sh \u003cspan class=\"at\"\u003e--apply\u003c/span\u003e          \u003cspan class=\"co\"\u003e# execute (add --yes to accept all prompts)\u003c/span\u003e\u003c/span\u003e\n\u003cspan id=\"cb3-5\"\u003e\u003ca href=\"#cb3-5\" aria-hidden=\"true\" tabindex=\"-1\"\u003e\u003c/a\u003e\u003cspan class=\"co\"\u003e# then: /mcp to reconnect servers (secrets are never backed up — OAuth or token re-auth)\u003c/span\u003e\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRestore \u003cstrong\u003epreviews by default\u003c/strong\u003e: it runs the\n\u003ccode\u003eclaude\u003c/code\u003e CLI and settings changes only when you pass\n\u003ccode\u003e--apply\u003c/code\u003e, so you can read the full plan before anything\nmutates.\u003c/p\u003e\n\u003ch2 id=\"how-claude---resume-works-and-why-transcripts-are-opt-in\"\u003eHow\n\u003ccode\u003eclaude --resume\u003c/code\u003e works (and why transcripts are opt-in)\u003c/h2\u003e\n\u003cp\u003eEach Claude Code session is stored locally as a \u003ccode\u003e.jsonl\u003c/code\u003e\nfile (the full message + tool-call history) under:\u003c/p\u003e\n\u003cpre\u003e\u003ccode\u003e~/.claude/projects/\u0026lt;encoded-cwd\u0026gt;/\u0026lt;session-uuid\u0026gt;.jsonl\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThe subdirectory name is your \u003cstrong\u003eworking directory\u003c/strong\u003e with\n\u003ccode\u003e/\u003c/code\u003e and \u003ccode\u003e.\u003c/code\u003e replaced by \u003ccode\u003e-\u003c/code\u003e (e.g.\n\u003ccode\u003e/home/foo/bar.baz\u003c/code\u003e → \u003ccode\u003e-home-foo-bar-baz\u003c/code\u003e).\n\u003ccode\u003eclaude --resume\u003c/code\u003e lists the sessions for your\n\u003cem\u003ecurrent\u003c/em\u003e directory's encoded folder and replays the chosen one\nback into a fresh session. It is \u003cstrong\u003epurely local and\nfile-based\u003c/strong\u003e — no server or account state is involved.\u003c/p\u003e\n\u003cp\u003eTwo consequences for migration:\u003c/p\u003e\n\u003col type=\"1\"\u003e\n\u003cli\u003e\u003cstrong\u003eResume is account-independent.\u003c/strong\u003e Switching\nplans/accounts (e.g. Max → Enterprise) changes auth/billing, not your\ntranscripts. On the same machine, resume works regardless of which\naccount you're logged into.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eResume is path-dependent.\u003c/strong\u003e It keys off the encoded\nworking directory. On a new machine, restored transcripts only surface\nunder \u003ccode\u003e--resume\u003c/code\u003e if you stand in a directory whose path\nmatches the original (same username + same repo paths → works). If paths\ndiffer, the \u003ccode\u003e.jsonl\u003c/code\u003e files restore fine but won't be listed —\nthe history isn't lost, just not one-click resumable (the files are\nplain JSON).\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003e\u003cstrong\u003eSo transcripts are off by default:\u003c/strong\u003e they're large\n(often gigabytes), and resume continuity only pays off when the new\nmachine keeps the same paths. Include them (answer \u003cem\u003eyes\u003c/em\u003e at the\nprompt) when you want full \u003ccode\u003e--resume\u003c/code\u003e history \u003cem\u003eand\u003c/em\u003e\nthe target machine will use the same username and repo locations.\u003c/p\u003e\n\u003ch2 id=\"what-it-never-touches\"\u003eWhat it never touches\u003c/h2\u003e\n\u003cp\u003e\u003ccode\u003e~/.claude/.credentials.json\u003c/code\u003e, token/secret values,\n\u003ccode\u003eplugins/cache/\u003c/code\u003e, and runtime state (\u003ccode\u003esessions/\u003c/code\u003e,\n\u003ccode\u003etelemetry/\u003c/code\u003e, \u003ccode\u003edaemon/\u003c/code\u003e,\n\u003ccode\u003efile-history/\u003c/code\u003e, \u003ccode\u003ehistory.jsonl\u003c/code\u003e).\u003c/p\u003e\n\u003ch2 id=\"security-notes\"\u003eSecurity notes\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe tarball is written \u003ccode\u003e0600\u003c/code\u003e and holds auto-memory (and\ntranscripts, if you opt in) = \u003cstrong\u003econfidential\u003c/strong\u003e content even\nafter sanitization. Keep it on managed storage, not personal cloud.\u003c/li\u003e\n\u003cli\u003eHook/skill scripts are archived verbatim, not scanned. Keep secrets\nin env/keychain, never hard-coded in a script.\u003c/li\u003e\n\u003cli\u003eAn Enterprise account may push \u003cstrong\u003emanaged settings\u003c/strong\u003e;\nrestore only \u003cem\u003emerges mcpServers\u003c/em\u003e rather than overwriting\n\u003ccode\u003esettings.json\u003c/code\u003e, so it won't fight org policy.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomriariav%2Fclaude-plans-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomriariav%2Fclaude-plans-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomriariav%2Fclaude-plans-backup/lists"}