NOTE / 001
Claude Code Mods: A Few Lines of TypeScript That Change How Your AI Agent Behaves
Anthropic released Mods with Claude Code 2.1.287 on October 1, 2026. Small TypeScript functions that hook into Claude Code's runtime — rewriting prompts, blocking or rewriting tool calls, auto-approving permissions, and redacting secrets before the model reads them. The built-in /diff feature now ships as a mod too.
ClaudeCodeREAD MORE ↗