Claude Code Mods: What They Are, How to Make One, and What People Build
Updated Oct 23 · 6 min read
On this page
Claude Code mods are small JavaScript or TypeScript plugins that run inside Claude Code and change how it looks and behaves: they can add panes and buttons, rewrite prompts, and hold or answer tool calls. Anthropic released them on 1 October 2026 in the Claude Code CLI and desktop app, with no separate price. The first wave of community mods is mostly context management, status displays and playful UI.
What Claude Code mods are
Anthropic's announcement calls mods "small TypeScript functions that change how Claude Code works." They hook into events Claude Code emits, such as tool calls, permission requests and screen rendering, and can run before, after, instead of, or around them.
The mods documentation is more precise. A mod is a plugin made of event handlers, called hooks, in JavaScript or TypeScript. Each hook can observe an event, rewrite it, or answer it so the usual behavior never runs. Because a mod runs inside Claude Code rather than as an outside script, it can do things settings hooks, skills and MCP servers cannot:
- Draw a pane beside the transcript or a band above the prompt, with tabs, buttons and text fields.
- Restyle parts Claude Code draws itself, such as the spinner or a tool call's row.
- Hold a tool call while it asks you something, answer it without running the tool, or send a request to a different model.
- Add a
/commandthat runs your code at once, with no Claude turn. - Share data between hooks, so one hook counts tool calls and another shows the count.
Some of Claude Code's own features are now mods, including /diff. Anthropic publishes the source of several built-ins in the mods directory of the Claude Code repo, and says more built-in features will move to mods over time.
Release date, access and pricing
- Released: 1 October 2026, per the announcement's dateline.
- Where they run: the Claude Code CLI, the Code tab of the desktop app, and the VS Code extension. Hooks also run in
claude -p, the Agent SDK and cloud sessions, but nothing a mod draws appears there. - Version: the docs require Claude Code v2.1.287 or later in the terminal. The desktop app supports mods from v2.1.286.
- Price: the announcement does not mention any cost. Mods ship as plugins, though a mod can call a model and spend your plan or API usage.
How to start using Claude Code mods
Check your version first with claude --version. Mods are on by default once you are on a supported release.
Install a mod. Mods install as plugins from a marketplace. In a session, run /plugin install <name>@<marketplace>, or in your shell run claude plugin install <name>@<marketplace>. If you install from the shell while a session is open, run /reload-plugins. Run /plugin to see which mods loaded.
Try Anthropic's samples. The docs point to sample mods in the claude-code-playground repository: token-weather (a context-window forecast above the prompt), blast-radius (holds risky shell commands like rm -rf and shows what they would change) and replay-theater (a /replay command for the last turn's edits). Clone it and load one with claude --plugin-dir <path>.
Ask Claude to write one. According to the create guide, you describe the mod in a session, for example "make a mod that shows the current git branch above the prompt." Claude uses a built-in plugin-authoring skill, writes the files under ~/.claude/dev-mods/, and asks whether to turn on hot reloading for the session. That mod only loads in the session that made it, so copy the folder somewhere permanent and load it with --plugin-dir if you want to keep it.
Write one yourself. A minimal mod is three files: .claude-plugin/plugin.json, hooks/hooks.json pointing to your code, and hooks/register.js exporting a register(on) function. No Node.js, bundler or build step is needed. Load it with claude --plugin-dir ./first-mod, and edits hot-reload while the session runs. Run claude plugin validate ./first-mod to list the events it hooks and the API calls it makes, and claude plugin test to run tests without a session.
What people build with Claude Code mods
The Claude Code Mods page collects the community's first three weeks. The clusters are clear.
Context and long sessions. The most common problem people solve is a filling context window. auto-handoff has Haiku write a structured brief at a token threshold, runs /clear and seeds the new session with it, instead of auto-compacting. ctx-handoff automates the same summarise-and-clear routine. A mod that picks reasoning effort per prompt sets Low or High automatically and shows a prompt-cache countdown.
Seeing what Claude is doing. One set of mods adds an agent profiler with OTLP traces, a context-waste inspector, a time machine that snapshots every tool call, and a loop detector. plan-progress draws live task bars above the prompt, with subagents listed under each task.
A better-looking terminal. CC Intelligent UI renders answers as Typst-typeset images, so tables and math display properly. cc-stretch folds replies into expandable summaries and tells Claude which parts you opened. image-view swaps bare [Image n] tags for thumbnails.
Permissions and prompts. jev-permission-gate puts Typesafe's Jev decision model in front of auto mode to allow or deny tool calls. The Roof mod replaces named system-prompt sections and reminders without patching the binary.
Fun. Jarrod Watts posted a mod that drops you into multiplayer Doom while Claude is busy, where every other player is also waiting on a Claude. clawd-actor has the Clawd mascot act out the spinner word on a small stage.
To browse more, awesome-claude-code-mods scans GitHub for public mods and lists what each can read, write, run or send over the network.
Limits and caveats
- Mods are not sandboxed. The docs say a mod can read and write your files, start processes, make network requests, read environment variables and API keys, see every prompt, and approve tool calls before you are asked. Turning on sandboxing isolates Claude's Bash commands, not processes a mod starts.
- Install only from sources you trust. Run
claude plugin validateon a mod's directory to see its hooks and calls before you install it. - Order matters. When several mods hook the same event, the announcement says "the first mod to load sees the event first and the result last."
- Organizations get guardrails. On Team and Enterprise, a built-in
sec-defaultmod loads first to block risky actions such as overriding permission deny rules, and admins can restrict which mods load. - The API is moving. The docs warn that events and methods can change between releases and tell you to trust the generated type files over any page.
- Drawing is limited by surface. WSL sessions in the desktop app do not load plugins at all, and headless or cloud sessions run hooks but show nothing.
- Community mods are young and mostly small repos. Claims like "83% fewer words" are the authors' own.
Frequently asked questions
When were Claude Code mods released?
Anthropic announced them on 1 October 2026, available in the Claude Code CLI and desktop app.
Which Claude Code version do I need for mods?
The docs say v2.1.287 or later in the terminal, and v2.1.286 or later in the desktop app. Run claude --version to check.
What is the difference between a mod and a hook?
Settings hooks run a shell command, HTTP request or prompt from a settings file. A mod's hooks are functions that run inside Claude Code, so they can also draw interface, add commands and rewrite events.
Are Claude Code mods safe to install?
They run with your permissions and are not sandboxed. Install only from trusted authors and check a mod with claude plugin validate first.
How do I turn mods off?
Disable a single mod in /plugin, start a session with --safe-mode, or set "disableAllHooks": true in ~/.claude/settings.json. Built-in mods are not stopped by those settings.