Claude Code Migration Guide
This guide helps you migrate from the old install.sh script to the new plugin-based marketplace system.
Why Migrate?
Old Way (File-Based)
curl -fsSL https://raw.githubusercontent.com/rhpds/rhdp-skills-marketplace/main/install.sh | bash
- โ Manual updates required
- โ No version management
- โ Hard to share with team
- โ Skills in
~/.claude/skills/
New Way (Plugin-Based)
/plugin marketplace add rhpds/rhdp-skills-marketplace
/plugin install showroom@rhdp-marketplace
- โ Automatic update notifications
- โ Version management and rollback
- โ Easy team distribution
- โ Standard package management
Prerequisites
Before migrating, ensure you have Claude Code installed:
- If you don't have Claude Code yet, install it from https://claude.com/claude-code
- Verify installation:
claude --versionin your terminal
VS Code users: Install the Claude extension from the VS Code marketplace instead.
Migration Steps
Backup Your Installation
In your terminal, back up any customized skills:
cp -r ~/.claude/skills ~/.claude/skills-backup cp -r ~/.claude/docs ~/.claude/docs-backupRemove Old Installation
In your terminal, clean up the old file-based installation:
rm -rf ~/.claude/skills/create-lab rm -rf ~/.claude/skills/create-demo rm -rf ~/.claude/skills/blog-generate rm -rf ~/.claude/skills/verify-content rm -rf ~/.claude/skills/agnosticv-catalog-builder rm -rf ~/.claude/skills/agnosticv-validator rm -rf ~/.claude/skills/deployment-health-checker rm -rf ~/.claude/docsStart Claude Code
In your terminal, start Claude Code:
claudeThis opens the Claude Code interactive chat where you'll run the next commands.
Add Marketplace
In Claude Code chat (NOT in terminal), add the RHDP marketplace:
# If you have SSH keys configured /plugin marketplace add rhpds/rhdp-skills-marketplace # If you don't have SSH configured /plugin marketplace add https://github.com/rhpds/rhdp-skills-marketplaceInstall Plugins
In Claude Code chat, install the plugins you need:
# For workshop/demo creation (most users) /plugin install showroom@rhdp-marketplace # For AgnosticV catalogs (RHDP internal) /plugin install agnosticv@rhdp-marketplace # For deployment health checks (RHDP internal) /plugin install health@rhdp-marketplace /plugin install ftl@rhdp-marketplace /plugin install ftl@rhdp-marketplaceRestart Claude Code
Exit Claude Code completely and restart it to load the new plugins.
Verify Installation
In Claude Code chat, check that skills are available:
/skillsYou should see:/showroom:create-lab/showroom:create-demo/showroom:blog-generate/showroom:verify-content/agnosticv:catalog-builder/agnosticv:validator/health:deployment-validator
What Changed?
Skill Names
| Old Name | New Name |
|---|---|
/create-lab |
/showroom:create-lab |
/create-demo |
/showroom:create-demo |
/blog-generate |
/showroom:blog-generate |
/verify-content |
/showroom:verify-content |
/agnosticv-catalog-builder |
/agnosticv:catalog-builder |
/agnosticv-validator |
/agnosticv:validator |
/deployment-health-checker |
/health:deployment-validator |
Directory Structure
Click to see directory structure comparison
Old file-based installation:
~/.claude/
โโโ skills/
โ โโโ create-lab/
โ โ โโโ SKILL.md
โ โโโ create-demo/
โ โ โโโ SKILL.md
โ โโโ agnosticv-catalog-builder/
โ โ โโโ SKILL.md
โ โโโ ...
โโโ docs/
โ โโโ (documentation files)
โโโ skills/.rhdp-marketplace-version
New plugin-based installation:
~/.claude/
โโโ plugins/
โโโ cache/
โ โโโ rhdp-marketplace/
โ โโโ showroom/
โ โ โโโ 1.0.0/
โ โ โโโ skills/
โ โ โโโ create-lab/SKILL.md
โ โ โโโ create-demo/SKILL.md
โ โ โโโ blog-generate/SKILL.md
โ โ โโโ verify-content/SKILL.md
โ โโโ agnosticv/
โ โ โโโ 2.2.0/
โ โ โโโ skills/
โ โ โโโ catalog-builder/SKILL.md
โ โ โโโ validator/SKILL.md
โ โโโ health/
โ โโโ 1.0.0/
โ โโโ skills/
โ โโโ deployment-validator/SKILL.md
โโโ marketplaces/
โ โโโ rhdp-marketplace/
โ โโโ (full marketplace repo)
โโโ installed_plugins.json
โโโ known_marketplaces.json
Key Differences:
| Aspect | Old Location | New Location |
|---|---|---|
| Skills | ~/.claude/skills/create-lab/ |
~/.claude/plugins/cache/rhdp-marketplace/showroom/1.0.0/skills/create-lab/ |
| Documentation | ~/.claude/docs/ |
Embedded in plugin directories |
| Version tracking | .rhdp-marketplace-version |
Built into plugin system with versioned directories |
| Updates | Manual (run update.sh) | Automatic (/plugin update) |
| Management | Manual file copies | Plugin system |
Updating Plugins
Step 1: Update Marketplace
/plugin marketplace update
This opens an interactive UI:
- Select the marketplace
- Press
uto update it - Press
Escto go back
This refreshes the marketplace cache with the latest plugin versions.
Step 2: Update Plugins
/plugin update showroom@rhdp-marketplace
This opens an interactive UI:
- Navigate with
ctrl+por arrow keys - Select "Update now" and press
Enter - Press
Escto go back
Troubleshooting
See the Troubleshooting Guide for common migration issues.
Rollback (If Needed)
Click to see rollback instructions
If you need to rollback to the old file-based installation:
# Restore from backup
cp -r ~/.claude/skills-backup ~/.claude/skills
cp -r ~/.claude/docs-backup ~/.claude/docs
# Remove plugins
/plugin uninstall showroom@rhdp-marketplace
/plugin uninstall agnosticv@rhdp-marketplace
/plugin uninstall health@rhdp-marketplace
/plugin marketplace remove rhdp-marketplace