In short.
Claude Code Mods Overview is a guide for Claude Code users and plugin authors, with the main catch that mods run with the user's permissions and can access the user's files, secrets and sessions. It describes JavaScript or TypeScript handlers that can observe, rewrite or take over events, customize the interface and add commands. The page is useful for deciding whether a mod's capabilities justify its access, but the safety of individual mods, performance and operational reliability are not established.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete supplied selected-page.txt capture of [https://code.claude.com/docs/en/plugins/mods/overview.md], including its embedded example, warnings, runtime table, comparisons and built-in-mod notices. Source revision: sha256:9ce9882922f50ca511afd527700d8f9e0f2eb8830f2ef877df1f8599679a80ce. All linked pages, repository files and video content are excluded. No code was executed, so runtime behavior, compatibility, security enforcement, performance and costs remain untested or unknown. The supplied page establishes no redistribution licence.
The overview
identity
This is Anthropic's overview of mods, a plugin feature that changes Claude Code's interface and behavior. The source is the documentation page at [https://code.claude.com/docs/en/plugins/mods/overview.md].
The resource explains the feature and provides a small code example. It is a guide rather than an installable mod package; it links to separate creation, API, testing, administration and troubleshooting documentation.
assessment
The guide is useful for understanding when customization requires code running inside Claude Code. It connects concrete features, including interactive panes and tool interception, with installation steps, environment differences and substantial trust requirements.
Its practical limit is depth: complete API contracts, configuration schemas and testing instructions are on linked pages. The overview does not establish the reliability or security of a particular mod. Nothing was executed.
users
Claude Code users can use the page to understand what a mod can change and how to install, inspect or disable one. Developers comfortable with JavaScript or TypeScript get an introduction to writing handlers and sharing state between them.
Teams considering organization-wide customization also get an introduction to managed settings and the built-in guard. Detailed organizational configuration is outside this page.
capabilities
Mods can add panes or a band above the prompt, including tabs, buttons and text fields. They can also restyle existing elements such as tool rows and the spinner. The permission prompt is protected from these interface changes.
Handlers can observe or change prompts and tool calls, hold a tool call for a user decision, supply an answer without running the tool, or send a request to another model. A custom command can run a function without a Claude turn, even while Claude is working. Handlers in one module can share variables for counters, usage displays or other state.
Using it
requirements
The documented minimum is Claude Code v2.1.287 for terminal use and the Desktop app's bundled Claude Code v2.1.286 for local Code-tab sessions. Drawing in the VS Code extension requires extension v2.1.299 or later, or v2.1.304 or later for sessions that do not fetch feature flags.
Mods are enabled by default, subject to organizational restrictions. A plugin containing the mod must load into the session. Desktop WSL sessions do not support plugins, so their mod hooks do not run. Some interface elements are terminal-only; full rendering support requires the linked reference tables.
Authoring uses JavaScript or TypeScript. The page does not specify comprehensive operating-system, hardware or dependency requirements.
mechanism
A mod registers functions called hooks inside Claude Code's process. Claude Code calls each hook before handling its event. The hook can observe and continue, rewrite the event, or handle it itself so the usual behavior does not run.
The illustrated layout contains .claude-plugin/plugin.json for the manifest, hooks/hooks.json to point to the code, and hooks/register.js for handler registration. In the example, register(on) attaches handlers to tool.call and ui.render. Calling next(e) continues normal handling.
Operations such as drawing, reading files, starting processes, making network requests and calling models go through the mods API. The page says this API boundary allows requested capabilities to be listed before a mod runs; mods nevertheless operate with the user's permissions and are not sandboxed.
setup
Check the installed version with claude --version in a terminal, or inspect the Claude Code row in /status within a local Desktop Code-tab session. Before installation, obtain the plugin files and use claude plugin validate ./some-mod to list its hooks and API calls without running the mod. Review those capabilities and the author's trustworthiness.
The page illustrates marketplace installation with /plugin install token-chart@your-org inside Claude Code, or claude plugin install token-chart@your-org in a shell. These names are examples; they do not establish that such a marketplace or plugin is available.
After installing or updating from a shell while a session is open, use /reload-plugins in that session. Otherwise the mod loads at the next start. The /plugin interface shows loaded user mods. The page provides a complete handler module but does not include full contents for every file needed to build its example plugin.
example
The embedded example counts tool calls and displays the count beside the spinner. A shared calls variable starts at zero. The tool.call handler increments it, requests a UI redraw with $.ui.invalidate('ui.render'), then continues the tool call. A ui.render handler for the Spinner component keeps Claude Code's own spinner and sets its suffix property to show the count after the spinner's word, for example Thinking · tool calls: 3….
This illustrates shared state and event rewriting in a small module. The described recording shows counts increasing during directory listing and file reads, but no execution was performed here.
The page also names token-weather for context-window visualization, blast-radius for reviewing risky shell commands, and replay-theater for stepping through recent edits. Their repository contents and behavior were not assessed; the page says the samples are supplied without support.
Assessment & evidence
limitations
A mod can read and write accessible files, inspect secrets in environment variables or settings, start programs, make network requests, observe prompts and tool calls, and alter sessions. Processes it starts run outside Claude Code's Bash sandbox.
The page warns that mods can approve many calls blocked by deny or ask rules or PreToolUse hooks unless the built-in guard prevents it. With that guard loaded, the documented default prevents user mods from overriding those blocks. This does not sandbox their code. Mods cannot change the permission prompt's contents.
Rendering varies by environment. Hooks run without a mod UI in claude -p and Agent SDK sessions, and in cloud sessions when the plugin reaches them. Remote Control shows the mod's UI in the local terminal. Built-in mods also have different controls: flags and settings that stop installed mods do not stop built-in mods.
reasoning
A mod is a practical fit when the desired behavior depends on an interactive pane, changes to Claude Code's existing interface, direct event handling or shared state across handlers. That assessment follows from the capabilities and comparison table on the page.
The central tradeoff is greater integration in exchange for trusting code with broad access. A displayed list of hooks and API calls helps identify requested capabilities, but the page provides no evidence that this alone establishes a mod's safety. The guide supports understanding that tradeoff; individual implementations require separate assessment.
alternatives
Settings hooks suit existing scripts or HTTP requests that allow, block, modify or log lifecycle events. Skills suit reusable instructions that Claude reads. MCP servers expose tools from an external process or service. The page says these alternatives do not draw interactive elements inside Claude Code.
Choose a mod when the interface or event-level behavior requires its capabilities. These mechanisms can coexist in a single plugin, so choosing a mod does not require abandoning skills, settings hooks or MCP tools.
evidence
The sole source is Anthropic's complete Mods overview page. It contains architecture explanations, installation commands, compatibility requirements, security warnings, an environment matrix and an embedded JavaScript example.
These support a documentation-based account of the feature. Runtime reliability, performance, individual mod safety and enforcement of the documented guard were not assessed. Linked documentation, repositories and video content were not independently examined, and nothing was installed or executed.
Access & freshness
costs
The page gives no prices for access to mods, Claude Code plans, marketplace plugins or model requests. Those costs are unknown from this evidence.
A mod can call a model using the user's plan or API key and consume usage. The amount depends on the mod and its activity; no measured usage, spending limits or cost estimates are supplied.
rights
The page does not state a licence or redistribution grant for its text or embedded example. Applicable permissions for copying, modifying or redistributing that material are unknown.
It links to public sample and built-in mod repositories, but their licences are not included in the supplied evidence. The statement that samples are provided without support does not establish their licensing terms.
freshness
The supplied page was captured on 2026-11-15 at 13:46:40.402 UTC. No publication or last-update date appears in the supplied text. Its version numbers describe documented compatibility requirements, not the latest available releases.
The page says Claude Code v2.1.287 and later ignores the early-access CLAUDE_CODE_ENABLE_FUNCTION_HOOKS variable, including a value of 0. Users relying on that variable to disable mods need the documented current controls. Later changes to versions or behavior are unknown.
actions
First identify whether the desired customization needs a mod's interface or event capabilities. Check the version and rendering support in the actual client, then inspect a prospective plugin's code, origin, hooks and API calls before installing it.
For development, follow the linked creation and API guides for the missing configuration and method details. Start with a small observable behavior such as the tool counter, and assess its behavior in the intended environment.
To stop an individual installed mod, disable or uninstall its plugin. For one session, --safe-mode disables installed mods and other customizations. Setting disableAllHooks to true also stops settings hooks and the custom status line, while organization-managed behavior can continue. Built-in mods require their own available controls.
