Loading...
Loading...
Diagnose and fix plugin registry issues including orphaned entries and project-scope conflicts (addresses Claude Code issue
npx skill4agent add laurigates/claude-plugins health-plugins| Use this skill when... | Use another approach when... |
|---|---|
| Fixing plugin registry corruption (issue #14202) | Comprehensive health check (use |
| Diagnosing project-scope vs global plugin issues | Auditing plugins for relevance (use |
| Cleaning up orphaned plugin entries | Settings validation only needed |
| Resolving "plugin already installed" errors | Agentic optimization audit (use |
| Manually inspecting registry JSON | Just viewing installed plugins (read registry file) |
pwdfind ~/.claude/plugins -maxdepth 1 -name 'installed_plugins.json' 2>/dev/nullfind . -maxdepth 1 -name '.claude/settings.json' 2>/dev/nullfind . -maxdepth 1 -type d -name \'.claude-plugin\' 2>/dev/null--scope project~/.claude/plugins/installed_plugins.jsonprojectPath| Parameter | Description |
|---|---|
| Apply fixes to the plugin registry |
| Show what would be fixed without making changes |
| Check/fix a specific plugin only |
~/.claude/plugins/installed_plugins.jsonprojectPath| Issue Type | Detection | Severity |
|---|---|---|
| Orphaned projectPath | | WARN |
| Missing from current project | Plugin has different | INFO |
| Duplicate scopes | Same plugin installed both globally and per-project | WARN |
| Invalid entry | Missing required fields or malformed data | ERROR |
projectPath.claude/settings.jsonenabledPlugins~/.claude/plugins/installed_plugins.json.backup{
"version": 2,
"plugins": {
"plugin-name@marketplace-name": [
{
"scope": "project",
"projectPath": "/path/to/project",
"installPath": "~/.claude/plugins/cache/marketplace/plugin-name/1.0.0",
"version": "1.0.0",
"installedAt": "2024-01-15T10:30:00Z",
"lastUpdated": "2024-01-15T10:30:00Z",
"gitCommitSha": "abc123"
}
]
}
}"scope": "project"projectPath"scope": "user"projectPath~/.claude/plugins/installed_plugins.jsonprojectPathprojectPath| Context | Command |
|---|---|
| Plugin registry diagnostics | |
| Fix registry issues | |
| Dry-run mode | |
| Inspect registry | |
| Check specific plugin | |
| List orphaned paths | |
| Flag | Description |
|---|---|
| Apply fixes (with confirmation prompts) |
| Show what would be fixed without changes |
| Target a specific plugin |
/health:check/health:settings