Claude Code ships Mods: TypeScript middleware to intercept tool calls and UI
lydiahallie · x · 2026-10-02
Anthropic announced Mods for Claude Code: a few lines of TypeScript can intercept internal events (tool calls, prompts, model requests, renders) and change behavior, plus custom UI and commands. Mods ship inside plugins and install via /plugin in the CLI or desktop app; you can write them by hand or have Claude build them. Lydia Hallie calls it 'middleware for Claude Code'.
More from coding & agent
- Generic API-catalog MCP server vs one tool per job: a context-bloat experiment — MandeepKaur9407 · 2026-11-16
- Berkeley paper: LLMs answer with stale values even when the update is in context — ombre-ai · 2026-11-16
- skills-gate: one gate skill fronts 148 agent skills at just 389 tokens — Distinct-Pie2389 · 2026-11-16
- Open-weight Karpo-Decision-31B tops Decision Index at 73.9, one forward pass per answer — CodeByPoonam · 2026-11-16
- shadcn boosts @uisdk: one-shot UI rebuild that's instantly E2E-testable by AI — shadcn · 2026-11-16
- AI agent deletes 43,599 lines of OpenClaw test code in one PR — vincent_koc · 2026-11-16