/personal-assistant:migratefrom personal-assistant
Migrates Elle installations between versions using sequential, idempotent steps. Handles version detection, backup, and chain execution for safe upgrades.
Ships in personal-assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill handles version-to-version upgrades using sequential, idempotent migration steps. Each version transition has a dedicated reference file containing Check/Action/Verify steps, making migrations safe to re-run on partial completions and easy to extend for future versions.
Primary method: Find the installed version directory.
ls ~/.claude/plugins/cache/ai-launchpad/personal-assistant/
List directories, find the highest version number, and read its .claude-plugin/plugin.json to get the version field.
Fallback fingerprinting (when plugin.json is not reliable):
| Signal | Inferred Version |
|---|---|
No ~/.claude/.context/ directory | Not installed -- tell user to run /personal-assistant:setup and stop |
UserPromptSubmit in plugin hooks, no ~/.claude/rules/elle-core.md | v1.0.0 |
SessionStart in plugin hooks + elle-core.md exists, no ~/.claude/.context/core/improvements.md | v1.9.0 |
SessionStart + elle-core.md + improvements.md exists | v1.10.0 |
| Full v2 state (migrate skill exists in installed plugin) | v2.0.0 |
Read ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json to get the version of the plugin source being installed.
If current == target: report "Already current. Run /evolve to check for platform upgrades." and stop.
List available migration files from ${CLAUDE_SKILL_DIR}/references/migrations/. Each file is named vX.Y.Z-to-vA.B.C.md.
Parse filenames to build an ordered chain from current version to target version.
Example: if current is v1.10.0 and target is v2.1.0, chain is: v1.10.0 -> v2.0.0, v2.0.0 -> v2.1.0.
For each migration in the chain, read its ## Summary section and present the plan:
Migration path: v1.10.0 -> v2.0.0 -> v2.1.0
Step 1 (v1.10.0 -> v2.0.0):
- Replaces UserPromptSubmit hook with native rules delivery
- ~95% token savings
Step 2 (v2.0.0 -> v2.1.0):
- [summary from file]
Proceed?
Wait for user confirmation before continuing.
Create a timestamped backup before making any changes:
mkdir -p ~/.claude/.context-backups/ && cp -r ~/.claude/.context/ ~/.claude/.context-backups/$(date +%Y%m%d-%H%M%S)/
Verify backup was created:
ls -la ~/.claude/.context-backups/
REQUIRED: DO NOT proceed if backup fails. This is a hard gate.
For each migration in the chain:
${CLAUDE_SKILL_DIR}/references/migrations/## Steps section:
If any step fails:
cp -r ~/.claude/.context-backups/[timestamp]/ ~/.claude/.context/After all migrations complete, verify the final state:
ls -la ~/.claude/rules/elle-core.md
ls ~/.claude/.context/core/
Present final report:
Migration Complete!
Path: vX.Y.Z -> ... -> vA.B.C
Backup: ~/.claude/.context-backups/[timestamp]/
Steps executed: N
Steps skipped (already done): M
Your data: 100% preserved. All personal context untouched.
If rules-affecting changes were made (rules/, elle-core.md, context files), suggest running /sync-context.
Each file at references/migrations/vX.Y.Z-to-vA.B.C.md follows this format:
# Migration: vX.Y.Z -> vA.B.C
## Summary
- [1-3 bullet points describing what this migration does]
## Breaking Changes
- [List any breaking changes, or "None"]
## Steps
### 1. [Step name]
**Check:** `[shell command -- if exits 0, skip this step]`
**Action:** `[shell command to execute]`
**Verify:** `[shell command -- must exit 0 to continue]`
Each step MUST have all three fields (Check, Action, Verify). The Check field makes steps idempotent -- safe to re-run on partially completed migrations.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
migration, version-upgrade, elle, idempotent, backup, sequential-migration
8 skills in this plugin
/context-healthAudit your Elle context system for staleness, contradictions, bloat, and missing data. Use when context feels stale, after major life changes, or periodically for maintenance. Also use when you notice Elle's responses feel generic or out of date./evolveResearch-driven self-upgrade pipeline for the Elle personal assistant. Fetches latest Claude Code features, audits Elle's architecture, plans upgrades, executes them, and verifies results. Use after Claude Code updates, when exploring new features, or periodically. Also use when the user says "let's modernize Elle", "evolve Elle", or "what Claude Code features are we missing"./onboardnpx claudepluginhub kenneth-liao/ai-launchpad-marketplace --plugin personal-assistantOther plugins' skills for the same job