← The log

Mods in Claude Code

For anyone who likes reshaping their tools, this one's fun. Lydia builds a Claude Code mod live that hides email addresses on screen until you hover, while Claude still uses the real address underneath.

  • A mod is a plugin with one extra key, modules, pointing at a TypeScript file that hooks Claude Code's own events: tool calls, permission checks, prompts, and rendering.
  • It works like Express middleware: change the event and pass it on, or skip next and Claude Code uses your answer instead.
  • Her other examples show the range: a live context breakdown above the prompt, and a side pane that lists every agent in a project with one-click start.
Watch the original →