How to use mods to extend Claude Code functionality
Claude Code 2.1.287 or higher supports mods, allowing users to request Claude to generate JavaScript or TypeScript files to extend its functionality. Mods can observe sessions, modify behavior, or draw custom UIs without learning APIs. For example, mods can add real-time context window status displays (like Token Weather), intercept commands, or build custom interactive interfaces, these hooks are implemented through plugins and override all events in a session.





















