Short answer: Anthropic added Mods to Claude Code. A mod is a plugin written in JavaScript or TypeScript that runs inside Claude Code and can add panes, buttons and commands, restyle parts of the interface, and step into tool calls. They work in the terminal (v2.1.287+) and in the Code tab of the Claude desktop app (v2.1.286+). They run with your full permissions, so install only from people you trust.
/command that runs your code at once, even while Claude is working.rm -rf or a force push and shows what they would change, with proceed and cancel buttons./replay command that walks through the file edits from the last turn.Some of Claude Code's own features are already mods, like the /diff pane.
/plugin install name@marketplace, then /reload-plugins.claude plugin validate ./some-mod lists what a mod touches before you run it.Mods are not sandboxed. A mod can read your files and API keys, see every prompt, approve tool calls for you and spend your usage. The one thing it cannot change is the permission prompt. To turn all your mods off for one session, start with --safe-mode.
Source: Claude Code docs, "Mods overview" (code.claude.com).