From llm-obsidian-wiki
Upgrades wiki-curator vault schema_version to target via idempotent bash migration scripts. Creates backups, logs changes, verifies with audit. Use for 'migrate wiki' or schema mismatch.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-obsidian-wiki:migrateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run schema migration scripts to upgrade vault from current `schema_version` to target. Idempotent. Backup-first.
Run schema migration scripts to upgrade vault from current schema_version to target. Idempotent. Backup-first.
Used by wiki-curator.
--target schema_version (default = latest plugin version)schema_versionwiki/_logs/migration-<chain>-<date>.md<vault>.bak.v<old>/Read current schema_version from wiki.config.md:
current=$(lib_read_yaml_key "$VAULT_PATH/wiki.config.md" schema_version)
Determine target version:
--target provided, use it${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.jsonFind migration chain:
scripts/migrations/v<X>-to-v<Y>/migrate.shRun scripts in order, idempotent:
for migration in chain:
"$migration" --vault "$VAULT_PATH"
Verify post-conditions: each migration script does its own verify; in addition, run audit skill at the end.
Print summary with chain executed, pages affected, log location.
<vault>.bak.v<old>/schema_version field — only via migration scripts${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.1.0-to-v0.2.0.sh${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.2.0-to-v0.3.0.sh${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.3.0-to-v0.4.0/migrate.shaudit skill for verificationnpx claudepluginhub ignromanov/llm-obsidian-wiki --plugin llm-obsidian-wikiApplies pending Accelerator meta-directory migrations to update a repo to the latest plugin schema. Prints a one-line preview per migration before applying, and refuses to run on a dirty working tree.
Migrates an existing Obsidian vault to the obsidian-master-kit structure without destroying current layout. Detects vault state, backs up automatically, clusters notes via HDBSCAN embeddings, proposes adaptive folder-to-area mapping, and executes migration in human-approved batches with rollback.
Migrates Elle plugin installations between versions using sequential idempotent steps with backups. Use for updates, version mismatches, or 'migrate Elle'/'upgrade Elle'.