Claude Code Mods: hook-based customization with hot reload and prompt-built mods

AGI Hunt · wechat · 2026-10-02

Anthropic shipped Mods for Claude Code (default-on from 2.1.287). A Mod is a function attached to Claude Code events (tool calls, permission requests, prompts, UI rendering) that can observe, rewrite, or take over the event—Express/Koa-style middleware—stacked onion-like in load order. Unlike old hooks, Mods persist in-session, keep state, render UI, and register slash commands and even tools for the model.

Related event: Claude Code Launches Mods: Rewrite Behavior and UI with a Few Lines of TypeScript(26 posts)→

Original post →

More from coding & agent

coding & agent channel →