stateful-agent-migration
БесплатноБез исполняемых скриптовНе проверенMigrate or upgrade heavy stateful OpenClaw agents with rehearsal, embedding safety, rollback, and live proof.
от posthuman761 установка в других каталогахОб этом скилле
Migrate a Stateful OpenClaw Agent
Use this for major OpenClaw upgrades where Gateways own SQLite state, multiple agents, shared workspaces, credentials, automations, plugins, local embeddings, or external supervisors. Keep secrets and user content out of artifacts. End with live proof or an exact blocker.
Gather
Identify current and target versions, install method, executable, service manager, state and agent directories, workspaces, port, and rollback release. Confirm paths from live service metadata and
openclaw --version; finish when both releases and the running owner are unambiguous.Inventory every writer and restart owner: Gateways, sibling instances sharing writable assets, agents, detached sessions, automations, recovery timers, monitors, backup jobs, plugin workers, canaries, and terminals. Treat an unclassified writer as a blocker; finish when each owner has pause and resume actions.
Record a redacted baseline:
openclaw config validate
openclaw doctor --non-interactive
openclaw gateway status --deep --json
openclaw channels status
openclaw models status
openclaw plugins list --json
Record restart count, readiness and health, agent ids, model routes, channel status, automations, plugins, and non-sensitive counts or hashes. Record each model route's effective runtime and context window from a small probe turn, not from config: an upgrade can change which config fields a runtime honours. Never record credentials, raw config, transcripts, messages, or SQLite rows; finish when each acceptance row has a baseline.
Read target release notes, migration code, backup documentation, breaking changes, plugin compatibility, runtime prerequisites, and interactive setup requirements. Check credential kind against provider API route. For local memory, record each agent's model identity, cache root, index identity, vector state, chunk ceiling, and physical batch; finish when every schema, auth, runtime, plugin, and embedding change has a check.
Create and verify a recovery point outside live state and workspaces:
openclaw backup create --output <private-backup-directory> --verify
openclaw backup verify <archive>
backup create can stall on a FIFO or fail on a migration lease inside live state. Then take an offline archive with every writer stopped and verify its listing and checksum. Take an offline filesystem, volume, or VM snapshot when byte-exact volatile recovery is required. Protect backups like live state; finish when verification passes and the rollback release is accessible.
Mutate
- Restore the archive to a fresh private rehearsal directory:
openclaw backup restore <archive> --target <fresh-private-directory>
Run the target against the copy on a non-production port with outbound delivery and side effects blocked. State databases record absolute paths and migrations act on them, so present the copy at the live paths through bind mounts in a private mount namespace with no network, no service manager, and a read-only release; relocated copies fail or reach live files. Take online SQLite snapshots in one backup step, because a stepped backup restarts on every live write, and verify each copy with the target runtime's SQLite, which can be newer than the system library. Never point a canary, old binary, or test at live migrated state; finish when startup and offline migrations complete on the copy.
Run interactive migration and managed setup in a real PTY. Match prompts semantically, time out, and fail on an unexpected prompt. Record only prompt categories and status. Never accept a default that replaces an unrelated model, plugin, or credential; finish when the intended branch repeats successfully.
Validate the copy with config, Doctor/lint, first-class SQLite backup verification, plugin loading, route inspection, and redacted state comparison. Move deprecated or conflicting legacy files to timestamped rollback locations instead of deleting them; finish when no legacy file shadows canonical state.
Prepare one idempotent cutover helper with explicit stages, timeouts, a private temporary directory, status summary, and automatic rollback trap. Pin candidate and helper by version or checksum. Accept already-empty sources and never overwrite target credentials. Rehearse the rollback path too; finish when a second dry run changes nothing and a rehearsed rollback restores the copy.
Pause inbound work, sessions, automations, recovery timers, canaries, task monitors, supervisors, sibling Gateways sharing writable assets, and every inventoried writer. Require zero running or queued tasks and no active turn claim; judge idleness by recent transcript writes, excluding your own probes, because session listings can be capped or stale. Stop production last and fence supervisor recovery: a watchdog that depends on the Gateway service restarts it within seconds, so pause its timer and mask the unit for the window. Prove the stop by an empty cont
Установить stateful-agent-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл stateful-agent-migration?
Migrate or upgrade heavy stateful OpenClaw agents with rehearsal, embedding safety, rollback, and live proof.
Как установить скилл stateful-agent-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stateful-agent-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic