clerk-migrate
Installation
SKILL.md
Clerk Migrate
clerk migrate export gets users out of an auth platform into a run. clerk migrate import maps that export onto Clerk's user schema, checks every user against the destination instance, and creates them through the Backend API. clerk migrate runs shows what each run did, and clerk migrate undo deletes the users an import created.
clerk migrate export <platform> [-o <path>.json] [-y] [--json]
clerk migrate import <file|export-run-id> [--source <key|path>] [--dry-run] [--allow-partial] [--new-run]
[--require-password] [--skip-legal-checks] [--reserve-unverified] [--yes] [--json]
clerk migrate runs [run-id] [--json]
clerk migrate undo <run-id> [--dry-run] [--yes] [--include-signed-in] [--json]
clerk migrate sources [source] [--json]
clerk migrate help
Every subcommand except sources takes --runs-dir <path>, which overrides the CLERK_MIGRATE_DIR environment variable. import, undo and export clerk also take --secret-key, --app and --instance. Bare clerk migrate prints help.
The binary is the source of truth. Run
clerk migrate <subcommand> --helpto confirm anything this skill claims, and prefer--helpwhen they disagree.
Install nothing and clone nothing.