diff --git a/99 Daily/2026-04-17.md b/99 Daily/2026-04-17.md index 2e6ce5c..dc3310d 100644 --- a/99 Daily/2026-04-17.md +++ b/99 Daily/2026-04-17.md @@ -131,3 +131,6 @@ tags: [daily] - 12:42 (<1min) | `memory-compiler` - **Asked:** Compile a raw article about WezTerm keybindings into the wiki knowledge base. - **Done:** Created structured wiki article with keybindings table and updated dotfiles index from 5 to 6 articles. +- 12:43 (<1min) | `memory-compiler` + - **Asked:** Compile a new article about plugin marketplaces into the wiki knowledge base. + - **Done:** Created structured wiki article at `wiki/claude-code/plugin-marketplaces.md` with LSP tables, MCP bundles, and scope system documentation, then updated master index. diff --git a/raw/Discover and install prebuilt plugins through marketplaces.md b/raw/_processed/Discover and install prebuilt plugins through marketplaces.md similarity index 100% rename from raw/Discover and install prebuilt plugins through marketplaces.md rename to raw/_processed/Discover and install prebuilt plugins through marketplaces.md diff --git a/wiki/_master-index.md b/wiki/_master-index.md index 0614361..4dd00a4 100644 --- a/wiki/_master-index.md +++ b/wiki/_master-index.md @@ -32,7 +32,7 @@ This 3-hop pattern works for hundreds of articles without vector search. | [[wiki/agent-sdk/_index\|agent-sdk/]] | Claude Agent SDK (formerly Claude Code SDK) — build autonomous AI agents in Python and TypeScript | 8 | | [[wiki/llm-models/_index\|llm-models/]] | OpenAI model catalog — GPT-5.x, o-series reasoning, audio/realtime, embeddings, moderation | 1 | -| [[wiki/claude-code/_index\|claude-code/]] | Claude Code product docs — install, capabilities, surfaces, MCP, hooks, scheduling, multi-agent, plugins | 4 | +| [[wiki/claude-code/_index\|claude-code/]] | Claude Code product docs — install, capabilities, surfaces, MCP, hooks, scheduling, multi-agent, plugins | 5 | diff --git a/wiki/claude-code/_index.md b/wiki/claude-code/_index.md index 72bbcda..d9a2ee3 100644 --- a/wiki/claude-code/_index.md +++ b/wiki/claude-code/_index.md @@ -18,3 +18,4 @@ Claude Code is Anthropic's agentic coding assistant. Works across terminal, IDE, | [[wiki/claude-code/mcp-integration\|mcp-integration]] | MCP setup, transports, scopes, OAuth, tool search, channels, managed enterprise config, 100+ server list | raw/Connect Claude Code to tools via MCP.md | 2026-04-17 | | [[wiki/claude-code/custom-subagents\|custom-subagents]] | Custom subagents: creation, frontmatter fields, tool control, persistent memory, hooks, foreground/background, example patterns | raw/Create custom subagents.md | 2026-04-17 | | [[wiki/claude-code/create-plugins\|create-plugins]] | Plugin authoring: manifest structure, skills/agents/hooks/LSP/monitors, local testing with --plugin-dir, migrating from standalone, marketplace distribution | raw/Create plugins.md | 2026-04-17 | +| [[wiki/claude-code/plugin-marketplaces\|plugin-marketplaces]] | Discover and install plugins: official marketplace, code intelligence (LSP), MCP integrations, scopes, team config, auto-updates, troubleshooting | raw/Discover and install prebuilt plugins through marketplaces.md | 2026-04-17 | diff --git a/wiki/claude-code/plugin-marketplaces.md b/wiki/claude-code/plugin-marketplaces.md new file mode 100644 index 0000000..16e50a0 --- /dev/null +++ b/wiki/claude-code/plugin-marketplaces.md @@ -0,0 +1,199 @@ +--- +title: "Plugin Marketplaces — Discover and Install Plugins" +aliases: [plugin-install, claude-code-marketplaces, plugin-discovery] +tags: [claude-code, plugins, marketplace, mcp, lsp, extensions] +sources: [raw/Discover and install prebuilt plugins through marketplaces.md] +created: 2026-04-17 +updated: 2026-04-17 +--- + +# Plugin Marketplaces — Discover and Install Plugins + +Plugins extend Claude Code with skills, agents, hooks, and MCP servers. Marketplaces are curated catalogs that let you discover and install these extensions without building them yourself. + +Related: [[wiki/claude-code/create-plugins|create-plugins]] · [[wiki/claude-code/mcp-integration|mcp-integration]] + +--- + +## How Marketplaces Work + +Two-step model: **add a marketplace** (the store) → **install individual plugins** (the apps). + +- Official Anthropic marketplace (`claude-plugins-official`) is pre-loaded — no setup needed +- Third-party and local marketplaces must be added manually via `/plugin marketplace add` + +--- + +## Official Anthropic Marketplace + +```shell +# Browse in UI +/plugin + +# Install a plugin directly +/plugin install github@claude-plugins-official + +# Refresh if plugin not found +/plugin marketplace update claude-plugins-official + +# Add if missing entirely +/plugin marketplace add anthropics/claude-plugins-official +``` + +Plugin submissions: `claude.ai/settings/plugins/submit` or `platform.claude.com/plugins/submit` + +--- + +## Plugin Categories + +### Code Intelligence (LSP) + +Enables jump-to-definition, find-references, type errors after every edit — powered by Language Server Protocol. + +| Language | Plugin | Binary required | +|----------|--------|-----------------| +| Python | `pyright-lsp` | `pyright-langserver` | +| TypeScript | `typescript-lsp` | `typescript-language-server` | +| Go | `gopls-lsp` | `gopls` | +| Rust | `rust-analyzer-lsp` | `rust-analyzer` | +| Java | `jdtls-lsp` | `jdtls` | +| C/C++ | `clangd-lsp` | `clangd` | +| C# | `csharp-lsp` | `csharp-ls` | +| Kotlin | `kotlin-lsp` | `kotlin-language-server` | +| PHP | `php-lsp` | `intelephense` | +| Swift | `swift-lsp` | `sourcekit-lsp` | +| Lua | `lua-lsp` | `lua-language-server` | + +**What Claude gains:** +- **Automatic diagnostics** — type errors/missing imports surface after every edit, no compiler run needed. View inline with `Ctrl+O`. +- **Code navigation** — definitions, references, type info, call hierarchies. More precise than grep. + +### External Integrations (MCP bundles) + +Pre-configured [[wiki/claude-code/mcp-integration|MCP servers]] — no manual setup: + +- Source control: `github`, `gitlab` +- Project mgmt: `atlassian`, `asana`, `linear`, `notion` +- Design: `figma` +- Infra: `vercel`, `firebase`, `supabase` +- Comms: `slack` +- Monitoring: `sentry` + +### Development Workflows + +- `commit-commands` — Git commit, push, PR creation workflows +- `pr-review-toolkit` — specialized PR review agents +- `agent-sdk-dev` — tools for building with [[wiki/agent-sdk/_index|Claude Agent SDK]] +- `plugin-dev` — toolkit for creating your own plugins + +### Output Styles + +- `explanatory-output-style` — educational insights about implementation choices +- `learning-output-style` — interactive learning mode + +--- + +## Adding Marketplaces + +```shell +# GitHub repo (owner/repo) +/plugin marketplace add anthropics/claude-code + +# Other Git hosts (HTTPS or SSH) +/plugin marketplace add https://gitlab.com/company/plugins.git +/plugin marketplace add git@gitlab.com:company/plugins.git#v1.0.0 # specific branch/tag + +# Local path +/plugin marketplace add ./my-marketplace +/plugin marketplace add ./path/to/marketplace.json + +# Remote URL +/plugin marketplace add https://example.com/marketplace.json +``` + +--- + +## Installing & Managing Plugins + +```shell +# Install (user scope by default) +/plugin install plugin-name@marketplace-name + +# Scope-targeted install (via CLI alias) +claude plugin install formatter@your-org --scope project + +# Disable / re-enable / remove +/plugin disable plugin-name@marketplace-name +/plugin enable plugin-name@marketplace-name +/plugin uninstall plugin-name@marketplace-name + +# Apply changes without restart +/reload-plugins +``` + +**Installation scopes:** +- **User** (default) — all projects, personal only +- **Project** — all collaborators, stored in `.claude/settings.json` +- **Local** — this repo only, not shared +- **Managed** — admin-set, read-only + +--- + +## Marketplace Management + +```shell +/plugin marketplace list +/plugin marketplace update marketplace-name +/plugin marketplace remove marketplace-name # also uninstalls its plugins +``` + +**Auto-updates:** official marketplaces update by default; third-party do not. + +```shell +# Disable Claude Code auto-updates but keep plugin updates +export DISABLE_AUTOUPDATER=1 +export FORCE_AUTOUPDATE_PLUGINS=1 +``` + +--- + +## Team / Project Config + +Add to `.claude/settings.json` so teammates auto-get prompted to install: + +```json +{ + "extraKnownMarketplaces": { + "my-team-tools": { + "source": { + "source": "github", + "repo": "your-org/claude-plugins" + } + } + } +} +``` + +--- + +## Troubleshooting + +| Issue | Fix | +|-------|-----| +| `/plugin` command not found | `brew upgrade claude-code` or `npm update -g @anthropic-ai/claude-code` | +| Plugin not found in marketplace | `/plugin marketplace update ` to refresh | +| `Executable not found in $PATH` (LSP) | Install the required binary (see table above) | +| Plugin skills not appearing | `rm -rf ~/.claude/plugins/cache`, restart, reinstall | +| High LSP memory (rust-analyzer, pyright) | `/plugin disable ` — use Claude's built-in search instead | +| False positive diagnostics in monorepos | Language server workspace config issue; doesn't affect editing | + +--- + +## Key Takeaways + +- The official Anthropic marketplace is pre-loaded; run `/plugin` → Discover to browse +- Code intelligence plugins give Claude **live type errors after every edit** and **precise code navigation** — requires the LSP binary to already be installed +- External integration plugins are pre-wired MCP servers (GitHub, Jira, Figma, Slack, etc.) with no manual config +- Four scopes: user, project, local, managed — use `--scope project` for team-shared plugins +- `/reload-plugins` applies changes mid-session without a restart +- Security warning: plugins can execute arbitrary code — only install from trusted sources