/meta:meta-pluginsfrom meta
Explains the meta plugin system: how `meta-<word>` executables intercept commands, with details on built-in git and cargo plugins, plugin discovery paths, and multi-repo behavior.
Ships in meta. 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.
Meta uses a plugin system to intercept commands and provide enhanced behavior.
A plugin is an executable named meta-<word>, and it serves meta <word>.
When you run meta <word> ..., meta looks for a file with that name and
starts only it:
meta-<word> found → that plugin executes with special logicgti status, meta git status), else meta exec -- <words>Example:
meta git status → git plugin runs git status in every repo at this meta level (meta -r for the meta repos nested under it, meta -A for the whole workspace)meta git clone <url> → git plugin clones parent + all children from .meta.yamlmeta exec -- npm installmeta-git)Handles all meta git * commands with special cases:
| Command | Behavior |
|---|---|
meta git clone <url> | Clone parent, read .meta.yaml, clone its children (meta -r git clone <url>: nested meta repos' too) |
meta git update | Clone the missing projects; change no repo that is cloned, and pull nothing (meta git pull --ff-only does); meta -r git update for nested meta repos |
meta git update --prune | The same, then remove the repos no .meta.yaml lists that hold nothing unpushed |
meta git update --prune-only | Only remove them; clone nothing |
meta git worktree * | Isolated multi-repo worktree sets (see the meta-worktree skill) |
meta git <other> | Pass through to every repo at this meta level |
meta-cargo)Runs any cargo command in each selected repo that has a Cargo.toml. A repo without one is skipped, and named (under --json, in the envelope's skipped). A repo that isn't cloned is a warning (under --json, in warnings), with --strict an error. meta exec -- cargo ... runs cargo in every repo instead.
meta cargo build --release # cargo build --release in each Rust repo
meta cargo fmt --check # any cargo subcommand passes through
meta --include <repo> cargo clippy --all-targets -- -D warnings # <repo>: a repo's .meta.yaml name or path
Plugins are discovered from:
.meta/plugins/ next to the nearest meta config, then next to each parent
meta config that lists it as a project (one workspace), nearest first; a
parent that doesn't list it is not read. Inside a worktree set, a checkout's
own plugins come first, then those of the checkout it stands for (the one
it was made from) and its workspace. meta plugin install <name> --local
installs into the nearest one~/.meta/plugins/ (moved by META_DATA_DIR), where meta plugin install installsmeta-* in PATHThe first file found with a given name wins. meta <word> fails naming its
plugin if that plugin doesn't answer --meta-plugin-info with its info within
5 seconds.
meta, meta help, meta --help and meta plugin list start every plugin;
there a plugins folder meta can't read, and a plugin that doesn't answer within
5 seconds, are skipped with a warning naming them. So is a file in
.meta/plugins or ~/.meta/plugins that can't be started, isn't executable,
or answers with anything but its info; a meta-* program on PATH that can't
be started or isn't a plugin is just left out, as it may be any program.
Project-local plugins are binaries: --local writes .meta/plugins/.gitignore
(*) so they stay out of git as untracked files.
A meta plugin (meta-<word>) adds or adapts meta <word> .... A tool's own
extension (git-<name> on PATH) is just part of that tool and runs through
meta as typed: meta git <name> runs git <name> in each repo.
meta plugin list shows both.
To learn who answers a command, read the first line of its help:
meta git clone --help says it is adapted by meta-git (and which of git's
options it takes); meta git pull --help says it runs as typed. meta --help
lists each plugin's own commands.
# List installed plugins, then the tool extensions on PATH
meta plugin list
# Search registry for plugins
meta plugin search <query>
# Install from registry
meta plugin install <name>
# Uninstall
meta plugin uninstall <name>
# The same for this meta repo only (.meta/plugins/ next to the nearest meta config)
meta plugin install <name> --local
meta plugin list --local
--local outside a meta workspace fails with "not in a meta workspace".
meta git status
│
├─ Is there a file named meta-git? Yes
│
├─ Plugin receives: command="git", args=["status"], the selected projects
│
├─ Plugin returns: a Plan with a step per repo
│
└─ Meta executes plan via loop engine
For commands with special handling (like clone), the plugin does the work directly instead of returning an execution plan.
meta's own options (-r, -A, --json, --dry-run, --include, …) go before the command and reach a plugin resolved, never in args (meta -r --json git status): the selection as the request's projects, the rest as its meta options. A plugin defines no option of meta's; it parses its arguments with meta_plugin::parse_args (feature parse), so a meta option typed after its command gets the tip with the line that has it before (see docs/plugin_development.md). A plugin never prints JSON: meta prints one envelope for every command under --json.
Plugins let you:
git clone to add meta-aware logicmeta <plugin> --helpWhen you see a command behave "magically" (like meta git clone cloning multiple repos), a plugin is handling it.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
meta@gitkb is listed by gitkb/claude-plugins — review the source before installing
npx claudepluginhub gitkb/claude-plugins --plugin meta6 skills in this plugin
/meta-execExecute commands across all repos — parallel, filtered, dry-run modes./meta-gitGit operations across multiple repositories — status, commit, push, pull, multi-commit./meta-safetyMulti-repo safety discipline — precision operations, dependency checking, and efficiency tips./meta-workspaceUnderstanding and operating in meta repository workspaces with .meta.yaml configuration./meta-worktreeCreate, use and remove isolated multi-repo git worktree sets with `meta git worktree`. Use before changing code in a meta workspace, to continue a PR, or to test a tag or SHA in isolation.Other plugins' skills for the same job