Add portable plugin configuration for cross-host sync

- Create plugins/config.json with marketplace sources and desired plugins
- Remove plugins/installed_plugins.json from tracking (host-specific paths)
- Add installed_plugins.json to .gitignore
- Update README with plugin installation instructions
- Enable example-skills plugin in settings.json
This commit is contained in:
2026-01-12 13:13:07 -05:00
parent 77e7b0f84e
commit 13a0920b06
5 changed files with 59 additions and 43 deletions

View File

@@ -31,5 +31,20 @@ git submodule update --remote --merge
|------|-------------|
| `CLAUDE.md` | Global instructions for all projects |
| `settings.json` | User permissions and plugin config |
| `plugins/` | Plugin configuration |
| `plugins/config.json` | Portable plugin manifest (marketplaces + desired plugins) |
| `skills/` | User-level skills (as submodules) |
## Install Plugins on New Host
After cloning, install the desired plugins listed in `plugins/config.json`:
```bash
# Install plugins from known marketplaces
claude plugins install example-skills@anthropic-agent-skills
# For plugins with unknown marketplace sources, search and install manually:
claude plugins search superpowers
claude plugins search frontend-design
```
The `plugins/installed_plugins.json` file is auto-generated with host-specific paths and should not be committed. The portable configuration is stored in `plugins/config.json`.