Getting started with Claude Code mods

Impact 7 Claude Blog

Summary

  • Claude Code mods are small JavaScript or TypeScript files running inside sessions to watch, modify behavior, or draw custom UI.
  • A mod operates as a plugin with a manifest and hooks module, leveraging the register function to intercept events like tool calls or UI rendering.
  • Developers can build custom terminal displays, such as the Token Weather mod, which tracks context window usage and renders forecasts above the prompt.
  • State persistence via $.state and automatic hot-reloading allow mods to maintain data across reloads and provide rapid feedback during development.

Why it matters

Claude Code mods empower developers to deeply customize their AI coding agent workflows, add custom UI elements, and enforce guardrails directly within the terminal interface.

Who should care