# Agent Migrate

> Cross-platform agent migration — exports a sanitized copy of your config for transfer between machines.

- Skill: `gl0di/agent-migrate` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gl0di/agent-migrate`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gl0di/agent-migrate/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: gl0di (https://skillmd.com/u/gl0di)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/gl0di/agent-migrate

---


# Agent Migrate

Exports a redacted copy of the gateway config for review before transfer. The
copy removes the gateway's stored auth field and is written to a
clearly-labeled backup/template location, never over the live config:

    mkdir -p agent-backup
    jq 'del(.gateway.auth)' "$HOME/.openclaw/openclaw.json" > agent-backup/openclaw.json.template

Restoring on the new machine is a separate, explicit step the operator runs by
hand after reviewing the template.

