FULL STORY

Claude Code Mods: From Launch to Hands-On

Anthropic launched Claude Code Mods with CLI 2.1.28, letting developers reshape behavior and UI in TypeScript; engineers and early testers quickly showcased advanced uses, dubbing it Hooks 2.0.

2026-10-02 ~ 2026-10-07 · 4 episodes · 34 posts

Episode 1 · Claude Code Launches Mods: Rewrite Behavior and UI with a Few Lines of TypeScript (2026-10-02, 26 posts)

On October 2, Anthropic officially announced Claude Code Mods, shipping with CLI version 2.1.287 (106 changes; enabled by default according to @xiaohu and others). With a few lines of TypeScript—or simply by asking Claude—developers can modify Claude Code's behavior, customize the UI, and replace built-in features, with hot-loading support. Official accounts (Boris Cherny et al.), the Claude Devs channel, and community authors all announced it, and tutorials, examples, and working community mods appeared within days.

Confirmed

  • Mods are small TypeScript/JavaScript functions that run persistently within a session, intercepting internal events—tool calls, permission requests, prompts, model requests, and rendering—and can observe, rewrite, or take over events and change actual behavior; they can also draw custom panels in terminal and desktop apps
  • The official blog explained the motivation: developers want to change behavior without waiting on Anthropic's roadmap; Mods do event rewriting and feature replacement that hooks cannot. Boris Cherny added that everyone works differently and shouldn't use identical configurations
  • Per @testingcatalog, Mods are built on the hooks mechanism, packaged and distributed as plugins, installable via a plugin marketplace, and can even be generated live in-session and hot-loaded; core engineer Lydia Hallie described mods as plugins with special functions acting like middleware running user code inside Claude Code
  • Official examples cited by @xiaohu include showing context usage above the input box, intercepting dangerous commands, and replaying code changes; @Prompt Engineering noted Mods can watch, modify, or block tool calls before execution
  • Anthropic added sample Mods to the Claude Code Playground repo and published a beginner tutorial by Addy Osmani building "Token Weather" in 80 lines; @danielmac8 shared it calling it a huge opportunity
  • Per @ClaudeCodeLog, 2.1.287 shipped one day after the prior version and also added the opt-in "You should know" side-agent plugin, fixed a bug where dangerous rm command alerts were lost under output redirection, with tracked prompt tokens down 26.6%
  • Community author @trq212 recommended the next-steps mod, which proactively suggests next steps, skills, and commands, installable via claude plugin marketplace add anthropics/claude-plugins-co…
  • @danielmac8 urged developers to start immediately and announced plans to upgrade his claude-mod-builder skill; @jarrodwatts called it a "chef's kiss" development, noting the team treats Mods as first-class citizens

Why it matters

  • Mods elevate Claude Code customization from config-level hooks to rewriting prompts and replacing built-in features, letting third-party developers extend the product without waiting on the official roadmap
  • Official tutorials, Playground examples, and community mods show a working ecosystem with the plugin marketplace as the distribution channel; entrepreneurs like Daniel Mac already see it as a major opportunity
  • Landing alongside the "You should know" side-agent in a single daily release shows Claude Code rapidly pluginizing at a one-release-per-day cadence

6 more related posts →

Episode 2 · Anthropic Engineer Shows Claude Code Mods Memory Hacks (2026-10-02, 2 posts)

An Anthropic engineer shared advanced Claude Code Mods usage: spawning forked classifier agents each turn to build a custom memory harness, a technique developers are eagerly discussing.

Episode 3 · Claude Code introduces Mods, a lower-level hook mechanism (2026-10-03, 2 posts)

Claude Code quietly added a Mods mechanism to its docs, described by users as Hooks 2.0. Reviews show Mods are small functions running inside Claude Code that can intercept or allow actions before they happen, offering lower-level control than Skills and Hooks.

Episode 4 · Anthropic ships Claude Code mods for easy customization (2026-10-06, 4 posts)

Anthropic launched Claude Code mods, letting developers customize prompts, UI, and built-in tools with tiny TypeScript functions distributed as plugins, usable in both CLI and desktop.