plugin-registry
БесплатноБез исполняемых скриптовНе проверенClaude Code plugin registry structure, install scopes, and version lag. Use when troubleshooting plugin problems, a stale plugin version in one project, or…
от laurigates★ 61 звезда на GitHubОб этом скилле
Claude Code Plugin Registry
When to Use This Skill
| Use this skill when... | Use something else when... |
|---|---|
| Plugin shows "installed" but isn't working | Setting up new plugins (configure-plugin:configure-claude-plugins) |
| Need to understand plugin scopes | Configuring plugin permissions (health-plugin:settings-configuration) |
| Fixing orphaned registry entries | Running the registry diagnostic and fix (health-plugin:health-plugins; for the user, /health:check --scope=registry) |
| Debugging installation failures | |
| A declared capability (LSP server, hook, command) silently never loads — see REFERENCE.md § A capability declared in a registry is not proof it reached the installed copy |
Registry Location
~/.claude/plugins/installed_plugins.json (the root moves with CLAUDE_CODE_PLUGIN_CACHE_DIR) records every install across all projects; plugin files live under cache/. Official reference: plugin loading, "Find plugins on disk".
Registry Structure (v2)
{
"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"
}
]
}
}
Each plugin key maps to an array of installations (supporting multiple scopes). Entries are version pointers into the shared cache, not plugin copies (REFERENCE.md § The registry holds version pointers, not plugin copies).
scope is user, project or local; project and local entries also carry projectPath. The per-field table, re-read from a live registry, is in REFERENCE.md § Field reference.
Installation Scopes
--scope names the settings file whose enabledPlugins the command writes:
| Scope | Command | Settings file | Reaches |
|---|---|---|---|
user (default) |
claude plugin install my-plugin@marketplace |
~/.claude/settings.json |
You, in every project |
project |
claude plugin install my-plugin@marketplace --scope project |
.claude/settings.json |
Everyone who clones the repo; each person also installs in their own clone |
local |
claude plugin install my-plugin@marketplace --scope local |
.claude/settings.local.json |
You, in this repo only |
When scopes disagree, local overrides project, which overrides user, and managed settings override everything (official plugin loading reference, "Find where a plugin is enabled").
A project entry can also appear with no install command run: a session-start sync adds one per plugin the committed .claude/settings.json enables that is installed at user scope, recorded at the then-current version (REFERENCE.md § Session-start sync creates project entries).
Known Issue: #14202
anthropics/claude-code#14202 is open as of 2026-10-30: after a --scope project install in one project, other projects were reported (on 2.0.70) to show the plugin as "(installed)" and refuse to install it, while it does not load there. The refusal did not reproduce on 2.1.322; details in REFERENCE.md § Known issue #14202.
An "already installed (scope: project)" message exits 0, so check claude plugin list --json for a row with your projectPath. Try --scope local (it installed cleanly on 2.1.322) before § Last resort: edit the registry by hand.
Which Install Loads, and Why a Project Can Run an Old Version
When a plugin has both a project entry for the current directory and a user
entry, the project entry decides which cached version loads there, and it
does not follow the user install's updates, so a project can run a version
behind the rest of the machine. claude plugin details reports the user
version from inside such a project; claude plugin list --json reports each
row's scope but not which row wins. The reliable read is the debug log:
CLAUDECODE= claude -p "reply ok" --debug plugins --debug-file /tmp/p.log
Then read its skillsPath: lines for the version actually loaded.
/health:check runs check-plugin-scope-lag.sh, which lists every project-scope
entry below its user-scope version as a scope_lag WARN.
Removing a lagging row is a repair, not a fix: the next session in that project re-creates it. The measured evidence, the lag query, and the uninstall-rewrites-committed-settings hazard are in REFERENCE.md.
Fixing Registry Issues
Find orphaned entries (a projectPath whose directory is gone) with the diagnostic, not by testing each path by hand:
bash ${CLAUDE_SKILL_DIR}/../heal
Установить plugin-registry в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(jq *)Bash(cp ~/.claude/plugins/installed_plugins.json *)Bash(claude plugin list *)Bash(bash ${CLAUDE_SKILL_DIR}/../health-plugins/scripts/check-registry.sh *)Bash(bash ${CLAUDE_SKILL_DIR}/../health-plugins/scripts/fix-registry.sh *)ReadEditGlobGrepTodoWriteВложенные файлы
FAQ
Что делает скилл plugin-registry?
Claude Code plugin registry structure, install scopes, and version lag. Use when troubleshooting plugin problems, a stale plugin version in one project, or fixing registry entries.
Как установить скилл plugin-registry?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plugin-registry запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic