Skip to content

Anthropic Launches Claude Code Mods for Custom UI, Safety Checks and Replay Tools

Oct 02, 2026
claude.dev Blog
Article image for Anthropic Launches Claude Code Mods for Custom UI, Safety Checks and Replay Tools

Summary

Anthropic launches Claude Code mods, enabling JavaScript or TypeScript plugins in version 2.1.287+ to add custom interfaces, pause dangerous commands such as rm -rf and git reset --hard, and replay file edits.

Key Points

  • Anthropic introduces Claude Code mods, JavaScript or TypeScript plugin modules that can rewrite behavior, intercept events and draw custom UI; they are enabled by default in Claude Code 2.1.287 or later.
  • The Token Weather example uses about 80 lines to display context-window usage above the prompt, shifting from Clear below 25% to Compact soon at 90% or more and retaining the last 12 readings across hot reloads.
  • Blast Radius pauses risky Bash commands such as rm -rf, git reset --hard and force pushes for Proceed or Cancel confirmation, while Replay Theater records Edit and Write calls and replays a turn’s diffs via the r key or /replay command.

Tags

Read Original Article