Before running a marketplace-declared plugin command, Claude Code prints the command and the marketplace it came from and asks you to confirm. Declining aborts with "Aborted — the command was not run." -y/--yes is accepted only on a TTY outside a Claude Code session; inside a session it is refused with a message telling you to run it in your own terminal.
- Consent is recorded against the exact command string, so a marketplace that changes its command prompts again.
- A workspace-local acceptance is re-confirmed rather than reused silently.
-y/--yes is ignored inside a Claude Code session: run this in your own terminal to accept the command shown above.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
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.
| `/import [codex\|gemini\|cursor] [--dry-run] [--yes]` | Bring configuration from OpenAI Codex, Google Gemini CLI, or Cursor on your machine into Claude Code, including instruction files, MCP servers, commands, subagents, and skills. In […commands see the edit
| `-y, --yes` | Skip the `--prune` confirmation prompt. Required when stdin or stdout is not a TTY | |plugins-reference see the edit
Anthropic's documentation has since written up --yes, on Plugins reference.