The --plugin-url flag loads a plugin from a web address for one session. Claude Code now checks the value first: if it has no // after the scheme (the https: part), it refuses it and does not download anything.
The error explains that a shell wildcard such as * probably matched a file with a similar name. A wildcard is a character your shell expands into matching file names before Claude Code ever sees the command.
The download itself now also uses extra request options and a size limit. The check is on by default.
A mistyped or wildcard-mangled value is now caught with a clear message instead of turning into a bad download.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
* **`--plugin-dir` and skills-directory plugins**: on your machine, the directory loads in place. A `--plugin-url` archive or a `--plugin-dir` `.zip` is extracted into a session temp directory firstplugins/loading see the edit
Reject the `--plugin-dir`, `--plugin-url`, `--agents`, and `--mcp-config` CLI flags at startup, which users could otherwise pass to bypass [`strictKnownMarketplaces`](#strictknownmarketplaces) for a single run. Claude Code exits with an er…settings-reference see the edit
Anthropic's documentation has since written up --plugin-url, on All settings.