EnvRelay: Backup, Restore & Migrate Dev Environments
БесплатноЗапускает вложенные скриптыНе проверенUse when backing up or restoring a development environment, or when asked to migrate one to a new machine - a new Mac, laptop or Linux box. Carries dotfiles…
от futrixdev492 установки в других каталогахОб этом скилле
EnvRelay
Moving a development environment to a new machine is a day of work that mostly consists of remembering. This skill is the remembering.
You do everything except two things. The envrelay binary holds the
passphrase, because a passphrase in your context is a passphrase in a
transcript. The user types that passphrase and confirms what gets carried.
Everything in between — deciding what matters, copying it, writing it down,
replaying it — is yours.
Nothing in this skill uploads or sends the user's data anywhere. What it makes is one encrypted file on this disk; where that file travels next is the user's choice.
Read the references before you need them, not after. Each one is a list you would otherwise reconstruct from memory and get 80% right:
| Reference | Read it when |
|---|---|
references/what-to-carry.md |
Building the candidate list, and copying it into staging. |
references/exclude-list.md |
Deciding what to copy. Always — it is the difference between a 2 GB backup and a 60 GB one. |
references/credential-locations.md |
Any time ~/.ssh, cloud CLI config, or tokens are in scope. |
references/software-inventory.md |
Enumerating installed packages, and again when installing them on the new machine. |
references/git-repos.md |
The source tree contains any git repository. |
references/ai-agents.md |
Any AI coding agent is on the machine — their config, MCP servers, skills and plugins, sessions and memory. |
references/manifest.md |
Writing manifest.json, and reading one back. |
The scripts
scripts/ holds the deterministic mechanics, so the fragile parts of this job
are not re-improvised as shell one-liners every time. The scripts do
mechanics; you do judgement. None of them decides anything, installs
anything, or deletes anything — they enumerate, copy, classify and record, and
hand you JSON. What to carry, what to install, what to tell the user: still
yours.
| Script | Does | Never does |
|---|---|---|
stage_copy.py SRC DEST [--exclude N…] [--hash] [--hash-prefix P] |
Copies one entry into staging: permissions and symlinks (dangling included) preserved, excludes applied, unreadable and special files skipped and recorded instead of sinking the copy, per-file SHA-256 with --hash, keys prefixed with --hash-prefix. Cleans up its own partial copy on failure |
Follow symlinks, read file contents, write outside DEST |
git_classify.py PATH… | --scan ROOT |
Finds repositories and reports facts: the five-state classification, remotes, branch, head, uncommitted/unpushed/stash counts | Choose a strategy, run any mutating git command, let a repository's config start a program |
sw_inventory.py [--apps] [--diff MANIFEST] |
One-shot batch enumeration of every present package manager, GUI apps by bundle id, and the manifest-vs-machine diff | Install, uninstall, resolve names against registries |
restore_ledger.py LEDGER CMD… |
Per-item restore state: init seeds one pending line per manifest entry, then set, list, report. Survives an interrupted restore so you resume instead of re-deriving |
Change anything outside its own ledger file |
agent_inventory.py [--agents …] [--no-sizes] [--recent-days N] [--diff MANIFEST] |
One pass over every AI coding agent on the machine: which are installed and at what version, their config/extension/session/credential paths with sizes, their extensions by name, their MCP servers with key names only, and what no rule accounts for | Read a session transcript, read a credential file, print any secret value |
verify_tree.py MANIFEST ROOT |
Compares a tree against the manifest's checksums map: matched, mismatched, missing |
Fix, delete, or re-copy anything |
Run them with python3 (3.9+, standard library only — nothing to install).
They print JSON to stdout, warnings to stderr, and exit non-zero only when
they could not run at all; per-item problems are inside the JSON, because
"this file could not be read" is inventory, not failure.
Run them by full path, never relative to the current directory — that is the
user's project, not this skill. The commands below start with
${CLAUDE_SKILL_DIR}: the directory this file is in (if it shows here
unexpanded, read it as that directory). The scripts/… commands in the
references are relative to the same directory.
install.sh, beside this file rather than in scripts/, is not one of the
scripts. It is the installer: it downloads the envrelay binary and puts it
on the machine, so it runs only after the user says yes — see "Before
anything" below.
The four rules
Everything else in this skill is judgement. These four are not.
- The passphrase never passes through you. You print the
envrelay encrypt/envrelay decryptcommand; the user runs it in their own terminal and types the passphrase there. You never invent one, never ask for one, never put one in a command you run, and never use--passphrase-file— tha
Установить EnvRelay: Backup, Restore & Migrate Dev Environments в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/*)FAQ
Что делает скилл EnvRelay: Backup, Restore & Migrate Dev Environments?
Use when backing up or restoring a development environment, or when asked to migrate one to a new machine - a new Mac, laptop or Linux box. Carries dotfiles, config, SSH keys and cloud credentials, git repositories, AI coding agent state (Claude Code, Codex, Cursor and the rest), and installed software; also use when working with an .envrelay backup file. Covers what to carry, what to leave behind and rebuild, how to record it in a manifest, and how to replay it on the new machine (macOS and Linux). Once the user agrees, it installs the envrelay binary, which encrypts the backup, into ~/.local/bin.
Как установить скилл EnvRelay: Backup, Restore & Migrate Dev Environments?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл EnvRelay: Backup, Restore & Migrate Dev Environments запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic