migrate-skills-between-libraries
Agent skill fromMoizIbnYousaf/ai-agent-skills
Use when moving skills between library workspaces or upgrading from a personal library to a team library. Export from one workspace, import into another.
How to install migrate-skills-between-libraries
install migrate-skills-between-libraries
# install the ai-agent-skills pack with the skills CLI
npx skills add MoizIbnYousaf/ai-agent-skills# or add only this skill to Claude Code: copy the folder
skills/migrate-skills-between-libraries/
# into
~/.claude/skills/migrate-skills-between-libraries/ (all projects)
.claude/skills/migrate-skills-between-libraries/ (one project)
1# Migrate Skills Between Libraries23## Goal45Move skills from one library workspace to another without losing metadata, breaking dependencies, or duplicating entries.67## Guardrails89- Always use `--dry-run` before any mutating command in the target workspace.10- Always use `--list` to inspect the source library before importing.11- Always use `--format json` for structured output when scripting migrations.12- Never import skills without checking for name collisions in the target workspace first.13- Always run `build-docs` in the target workspace after migration.1415## Workflow1617### Export: Identify skills to migrate from the source library18191. List all skills in the source workspace.2021```bash22cd /path/to/source-library23npx ai-agent-skills list --format json --fields name,tier,workArea,collections24```25262. For house copies, note the skill folder paths. For upstream picks, note the installSource.2728### Import: Add skills to the target workspace29303. For house copies, use `vendor` to copy the skill folder into the target:3132```bash33cd /path/to/target-library34npx ai-agent-skills vendor /path/to/source-library --skill <name> --area <workArea> --branch <branch> --why "Migrated from source library." --dry-run35npx ai-agent-skills vendor /path/to/source-library --skill <name> --area <workArea> --branch <branch> --why "Migrated from source library."36```37384. For upstream picks, use `catalog` to re-catalog from the original source:3940```bash41…
Excerpt shown under the repository's MIT license.
