OmniscioGuidesClaude Code plugin examples
Claude Code plugin examples you can copy
A Claude Code plugin is a directory of skills, agents, hooks and MCP servers that Claude Code installs and loads as one unit. Each example on its own page is a complete directory rather than a fragment, because almost every failure with a plugin comes from one file in slightly the wrong place, not from the idea being hard.
If you have never installed one, start with what a Claude Code plugin is, which covers the marketplace, the three install scopes and the install summary. If you are publishing rather than building, publishing a Claude Code plugin covers versioning and release. This page is the middle: five things worth packaging, each built out in full.
Checked against Anthropic’s Claude Code plugin documentation on November 25, 2026. By the Omniscio team. Updated .
The smallest plugin that works
Every example below is a variation on this shape. One directory, one manifest, one skill, and the skill’s folder at the plugin root next to .claude-plugin/ — never inside it.
hello-plugin/
├── .claude-plugin/
│ └── plugin.json
└── skills/
└── hello/
└── SKILL.md{
"name": "hello-plugin",
"description": "A greeting plugin to learn the layout",
"version": "1.0.0",
"author": { "name": "Your Name" }
}--- name: hello description: Greet the user with a friendly message --- Greet the user warmly and ask how you can help them today.
Check it, then run it. claude plugin validate ./hello-plugin prints the manifest path it read and ✔ Validation passed. claude --plugin-dir ./hello-plugin loads it for that one session, and typing /hello-plugin:hello runs the skill.
That is enough to work on a plugin. A marketplace only matters when someone else has to install it: it is a repository with a .claude-plugin/marketplace.json that lists your plugins and where to fetch each one, and teammates add it once with claude plugin marketplace add owner/repo.
What each plugin.json field does
The manifest is optional; when you write one, name is the only required key. These are the fields the examples set, and what each one changes.
| Field | What it does |
|---|---|
name | The plugin identifier. Every component is namespaced under it, so a skill review in deploy-tools runs as /deploy-tools:review. Use kebab-case |
displayName | The name shown in the interface in place of name. It is not used for lookup |
version | Pins users to that version until you change it. A plugin loaded in place from a local marketplace is not pinned by it |
description | The text users see for the plugin in /plugin |
author | Who to credit. name is required inside it; email and url are optional |
skills, commands, agents, hooks, mcpServers | Point at components kept outside their default folder. skills adds to the default scan; commands and agents replace it |
userConfig | Values Claude Code asks the user for when the plugin is enabled, such as an API token you mark sensitive |
A path in those component fields is relative to the plugin root and starts with ./ — the exceptions are skills, which also accepts "." for the plugin root, and mcpServers, which also accepts an https:// bundle URL. A path that resolves outside the plugin root is dropped with path escapes plugin directory, and a path to a file where a directory is expected is reported by claude plugin validate before anything runs.
The five examples
Each one has its own page with a complete directory: the manifest, every component file, what each field does, how it installs and enables, how to prove it loaded, and the one failure most people hit with that kind of plugin.
- A team conventions plugin Two skills, a reviewer subagent and a protected-file hook: the setup a team ships to every clone.
- A hooks bundle Format on edit, block a dangerous command, and add context at session start, with the exit codes that decide what blocks.
- An MCP server bundle A local stdio server and a remote one, the tool names they expose, and what /mcp must show.
- A private marketplace A complete marketplace.json in a private repository, and the git credentials a teammate needs to add it.
- A commands-to-skills migration Move an existing .claude/commands/ folder into a plugin’s skills/ without breaking the command names.
The components themselves are documented one at a time elsewhere: skills, subagents, hooks and MCP servers. Read those for the behaviour inside a component; read these for how the files travel together.
Install one, then enable it
From a marketplace, the two commands are add then install. The install id is the plugin name, an @, and the marketplace name.
claude plugin marketplace add owner/repo claude plugin install hello-plugin@my-marketplace
The install writes to one of three scopes and defaults to user. --scope project writes .claude/settings.json, which enables the plugin for everyone who works in the repository. Enabled is not installed: the plugin still has to be installed on each machine once, in its own clone. --scope local keeps it to you in this repository.
Inside a session, /plugin install hello-plugin@my-marketplace opens the plugin’s details rather than installing at once, so you can read what it adds and pick the scope. Enabling and disabling happen on the same Installed tab, or from the shell with claude plugin enable and claude plugin disable.
A plugin that needs another plugin declares it in its manifest; the plugin dependencies guide covers the version range, the release tag it resolves against and the cross-marketplace allowlist.
Read the last sentence of the install summary. Plugin is now active. means it is usable in this session. Run /reload-plugins to apply. means the install landed and the session has not loaded it yet.
Prove it loaded
Four checks, cheapest first. claude plugin validate <path> reads the manifest and the frontmatter of every skill, agent and command file before anything loads, and exits 0 on Validation passed.
Then claude plugin list, which prints each plugin with its version, scope and Status: ✔ enabled. In a running session, /plugin opens the Installed tab and its details pane lists the components Claude Code actually found. Finally, type / and look for the plugin’s skills under its own name, in the form /plugin-name:skill-name.
When you edit a plugin’s files during a session, /reload-plugins applies the changes without a restart and prints one summary line with counts for plugins, skills, agents and hooks. If it says N errors during load, the /plugin Errors tab names what failed.
The failure that gets everyone
The plugin installs, appears under Installed, shows no errors, and its skills are missing from the / menu. The cause is almost always placement: skills/ was created inside .claude-plugin/, which is not scanned, or a skills entry in the manifest points at a SKILL.md file instead of the directory that holds it.
Move the directory to the plugin root, or point the entry at the directory, then run /reload-plugins. The /plugin Errors tab shows skills path not found for a manifest path that resolves to nothing, with the absolute path it checked, which is the fastest way to see where Claude Code looked.
One more, because it is invisible: a CLAUDE.md at the plugin root is not loaded as context, and claude plugin validate warns when it finds one. Instructions that must reach Claude belong in a skill.
Common questions
What does a Claude Code plugin look like?
One directory with .claude-plugin/plugin.json and the components beside it: skills/, agents/, hooks/hooks.json, .mcp.json. Only the manifest goes inside .claude-plugin/.
Is plugin.json required?
No. Claude Code loads the standard layout without one and takes the name from the marketplace entry or the directory. Write one for the name, the description in /plugin, and any component kept outside its default folder.
Do I need a marketplace to use my own plugin?
No. --plugin-dir loads it for one session, claude plugin init my-tool scaffolds one that loads in every session, and a marketplace is how other people install it.
Why does my plugin install but show no skills?
skills/ is inside .claude-plugin/, or a manifest skills entry points at a file. Move it to the plugin root and run /reload-plugins.
Which example should I copy first?
The team conventions plugin if your goal is a shared setup for a repository; the hooks bundle if you only want something to happen automatically.
Every session, one window
Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness — Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.