/tsal:claude-pluginsfrom tsal
Reference for building and distributing Claude Code plugins, covering plugin.json and marketplace.json structure, bundling commands/agents/skills/hooks, versioning, and publishing a marketplace. Use when creating or packaging a plugin, setting up a marketplace, or debugging plugin loading issues.
Ships in tsal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Full docs:
| Approach | Skill names | Best for |
|---|---|---|
Standalone (.claude/) | /hello | Personal workflows, project-specific, quick experiments |
Plugins (.claude-plugin/plugin.json) | /plugin-name:hello | Sharing with teams, community distribution, versioned releases |
my-plugin/
├── .claude-plugin/
│ └── plugin.json # Required manifest
├── commands/ # Slash commands (Markdown files)
├── skills/ # Agent skills (SKILL.md files)
├── agents/ # Custom agent definitions
├── hooks/
│ └── hooks.json # Event handlers
├── .mcp.json # MCP server configs
└── .lsp.json # LSP server configs
Common mistake: Don't put commands/, skills/, etc. inside .claude-plugin/. Only plugin.json goes there.
{
"name": "my-plugin",
"description": "What the plugin does",
"version": "1.0.0",
"author": {
"name": "Your Name"
},
"homepage": "https://github.com/you/my-plugin",
"repository": "https://github.com/you/my-plugin",
"license": "MIT"
}
The name field becomes the skill namespace prefix (e.g., /my-plugin:hello).
# Add marketplaces
/plugin marketplace add owner/repo # GitHub
/plugin marketplace add https://gitlab.com/org/repo.git # Other Git
/plugin marketplace add ./local-path # Local directory
/plugin marketplace add https://example.com/marketplace.json # URL
# Add specific branch/tag
/plugin marketplace add owner/repo#v1.0.0
# List, update, remove
/plugin marketplace list
/plugin marketplace update marketplace-name
/plugin marketplace remove marketplace-name
Shortcuts: /plugin market works, rm instead of remove
# Install (defaults to user scope)
/plugin install plugin-name@marketplace-name
# Install with specific scope
claude plugin install plugin-name@marketplace-name --scope project
claude plugin install plugin-name@marketplace-name --scope local
# Enable/disable without uninstalling
/plugin disable plugin-name@marketplace-name
/plugin enable plugin-name@marketplace-name
# Uninstall
/plugin uninstall plugin-name@marketplace-name
/plugin # Opens plugin manager with tabs:
# - Discover: browse available plugins
# - Installed: manage your plugins
# - Marketplaces: add/remove marketplaces
# - Errors: view loading errors
Navigate tabs with Tab / Shift+Tab
| Scope | Who sees it | Stored in |
|---|---|---|
| User | You, all projects | ~/.claude/settings.json |
| Project | All collaborators | .claude/settings.json |
| Local | You, this repo only | .claude/settings.local.json |
| Managed | All org users | Admin-controlled |
# Load plugin from local directory
claude --plugin-dir ./my-plugin
# Load multiple plugins
claude --plugin-dir ./plugin-one --plugin-dir ./plugin-two
Restart Claude Code after making changes.
| Language | Plugin | Binary required |
|---|---|---|
| TypeScript | typescript-lsp | typescript-language-server |
| Python | pyright-lsp | pyright-langserver |
| Rust | rust-analyzer-lsp | rust-analyzer |
| Go | gopls-lsp | gopls |
| C/C++ | clangd-lsp | clangd |
Install: /plugin install typescript-lsp@claude-plugins-official
github, gitlab, atlassian, asana, linear, notion, figma, vercel, firebase, supabase, slack, sentry
commit-commands, pr-review-toolkit, agent-sdk-dev, plugin-dev
Create skills/my-skill/SKILL.md:
---
name: my-skill
description: What the skill does. Use when [context].
---
Instructions for Claude when this skill is invoked...
Create commands/hello.md:
---
description: Greet the user
disable-model-invocation: true
---
Greet the user named "$ARGUMENTS" warmly.
Use as: /my-plugin:hello Alex
Create hooks/hooks.json:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "jq -r '.tool_input.file_path' | xargs npm run lint:fix"
}]
}
]
}
}
Create .lsp.json at plugin root:
{
"go": {
"command": "gopls",
"args": ["serve"],
"extensionToLanguage": {
".go": "go"
}
}
}
/plugin > Marketplacesexport DISABLE_AUTOUPDATER=trueDISABLE_AUTOUPDATER=true FORCE_AUTOUPDATE_PLUGINS=trueAdd to .claude/settings.json for automatic marketplace prompts:
{
"extraKnownMarketplaces": ["your-org/team-plugins"],
"enabledPlugins": ["plugin-name@your-org-team-plugins"]
}
/plugin not recognized: Requires Claude Code 1.0.33+. Run claude --versionrm -rf ~/.claude/plugins/cache, restart, reinstall/plugin Errors tab, install required binary.claude-plugin/marketplace.json exists at pathmy-plugin/.claude-plugin/plugin.json.claude/commands to my-plugin/commands/.claude/skills to my-plugin/skills/settings.json to my-plugin/hooks/hooks.jsonclaude --plugin-dir ./my-pluginWhat SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/bevyThis skill should be used when working on Bevy game engine projects. It provides specialized knowledge for Bevy's Entity Component System (ECS) architecture, component-driven design patterns, system ordering, UI development, build strategies, and common pitfalls. Use this skill when implementing game features, debugging Bevy code, designing component architectures, or working with Bevy's UI system./domain-driven-designThis skill should be used whenever domain modeling is taking place. It provides specialized guidance for type-driven and data-driven design based on Rich Hickey and Scott Wlaschin's principles. The skill helps contextualize current modeling within the existing domain model, identifies inconsistencies, builds ubiquitous language, and creates visualizations (Mermaid, Graphviz/DOT, ASCII diagrams) to communicate domain concepts clearly. Use this skill when designing types, modeling business domains, refactoring domain logic, or ensuring domain consistency across a codebase./godotThis skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components./godot-interactiveInteract with a running Godot game via MCP — launch, screenshot, click, inspect scene tree, get/set properties, call methods, run dev-console commands. Powered by godot-mcp + the GodotMCPBridge autoload (protocol v4.0)./pattrnsGuide for creating generative, emergent music with Pattrns, the Lua-based pattern sequencing engine for Renoise. Use when composing algorithmic patterns, generating evolving breakbeats/rhythms, creating generative melodies/harmonies, designing textures, or working with euclidean rhythms and live coding patterns. Covers breakbeat/jungle/DnB, IDM/experimental, jazz, industrial/trip-hop, and ambient styles./shadertoyThis skill should be used when working with Shadertoy shaders, GLSL fragment shaders, or creating procedural graphics for the web. Use when writing .glsl files, implementing visual effects, creating generative art, or working with WebGL shader code. This skill provides GLSL ES syntax reference, common shader patterns, and Shadertoy-specific conventions.npx claudepluginhub bfollington/terma --plugin tsalOther plugins' skills for the same job