Skip to content

Latest commit

 

History

History
272 lines (190 loc) · 5.94 KB

File metadata and controls

272 lines (190 loc) · 5.94 KB

Migration Guide: Manual Installation → Plugin

This guide is for users who previously installed cc-polymath manually using install.sh and are migrating to the new plugin system.

Why Migrate?

The plugin system provides:

  • One-command installation - No scripts, no manual syncing
  • Automatic updates - Pull latest version with /plugin update
  • Cleaner installation - No files in ~/.claude/skills or ~/.claude/commands
  • Better isolation - Plugin data stays in ./
  • Version management - Track which version you're using
  • Marketplace distribution - Discover and share plugins easily

Migration Steps

1. Backup Your Data (Optional)

If you've customized any skills or commands, back them up:

# Backup skills
cp -r ~/.claude/skills ~/.claude/skills.backup

# Backup commands
cp -r ~/.claude/commands ~/.claude/commands.backup

2. Uninstall Manual Installation

Remove the manually installed files:

# Remove skills directory
rm -rf ~/.claude/skills

# Remove /skills command
rm ~/.claude/commands/skills.md

Note: If you have other custom commands in ~/.claude/commands/, only remove skills.md:

ls ~/.claude/commands/  # Check what's there
rm ~/.claude/commands/skills.md  # Remove only skills.md

3. Install Plugin

Install cc-polymath as a plugin:

/plugin install https://github.com/rand/cc-polymath

That's it! The plugin system will:

  • Download all 410+ skills to skills
  • Register the /skills command automatically
  • Make everything available immediately

4. Verify Installation

Check that the plugin is installed:

/plugin list

You should see:

cc-polymath (v2.0.0) - 410+ atomic skills with gateway-based progressive loading

Test the /skills command:

/skills

You should see skill recommendations and categories.

5. Restore Customizations (If Any)

If you customized any skills, you can copy them to the plugin directory:

# Example: Restore a custom skill
cp ~/.claude/skills.backup/custom/my-skill.md \
   skills/custom/my-skill.md

Note: The plugin directory is at ./, not skills.

What Changed

Installation Location

Before (Manual):

skills          # Skills directory
~/.claude/commands/        # Commands directory

After (Plugin):

skills      # Skills
commands    # Commands

Installation Method

Before (Manual):

git clone https://github.com/rand/cc-polymath
cd cc-polymath
./commands/install.sh

After (Plugin):

/plugin install https://github.com/rand/cc-polymath

Updating

Before (Manual):

cd ~/src/cc-polymath
git pull
./commands/install.sh  # Re-run install

After (Plugin):

/plugin update cc-polymath

Uninstallation

Before (Manual):

./commands/uninstall.sh

After (Plugin):

/plugin uninstall cc-polymath

What Stayed the Same

Skills Structure

The 410+ skills across 33+ categories are identical:

  • Same gateway architecture
  • Same progressive loading
  • Same skill content and guidance
  • Same category organization

Skills Discovery

All discovery mechanisms work exactly the same:

  • /skills command (context-aware recommendations)
  • /skills frontend (browse by category)
  • /skills postgres (search by keyword)
  • Automatic gateway activation
  • Manual skill reading with cat

Compatibility

All existing workflows continue to work:

  • Gateway skills still activate based on project context
  • Skills still compose with each other
  • All 40 gateways, 33+ categories, 410+ skills unchanged

Troubleshooting

/skills command not found after migration

Solution:

# Verify plugin is installed
/plugin list

# If not listed, install it
/plugin install https://github.com/rand/cc-polymath

# Restart Claude Code session

Skills not showing up

Solution:

# Check plugin directory exists
ls skills

# If empty, reinstall plugin
/plugin uninstall cc-polymath
/plugin install https://github.com/rand/cc-polymath

Want to keep both installations?

You can keep the manual installation in skills for reference, but:

  • Only the plugin version will be used by /skills command
  • Gateway skills will activate from plugin location
  • This may cause confusion - recommended to remove manual installation

Rollback (If Needed)

If you need to rollback to manual installation:

# 1. Uninstall plugin
/plugin uninstall cc-polymath

# 2. Restore backup
cp -r ~/.claude/skills.backup ~/.claude/skills
cp ~/.claude/commands.backup/skills.md ~/.claude/commands/skills.md

# 3. Restart Claude Code

Questions?

How do I know which version I have?

Plugin:

/plugin list  # Shows version number

Manual: Read skills/README.md | grep "Version:"

Can I install both?

Technically yes, but not recommended. The plugin system will take precedence for commands and skill discovery.

Will my custom skills be lost?

No, but you need to manually copy them from skills to skills after installing the plugin.

How do I contribute updates?

Same as before:

  1. Fork the repository: https://github.com/rand/cc-polymath
  2. Make changes to skills
  3. Submit a pull request

Once merged, users can update with /plugin update cc-polymath.

Next Steps

After migration:

  1. Explore the plugin system: /plugin list, /plugin help
  2. Test your workflows with the plugin-based installation
  3. Remove backups if everything works: rm -rf ~/.claude/skills.backup ~/.claude/commands.backup
  4. Update any documentation or personal notes about installation

Support

If you encounter issues during migration:

  1. Check this guide's troubleshooting section
  2. Review plugin documentation: Read PLUGIN.md
  3. Open an issue: https://github.com/rand/cc-polymath/issues

Migration complete! You're now using cc-polymath as a Claude Code plugin with cleaner installation, automatic updates, and better version management.