From the source
Lead story
Top stories
Models & availability
Latest
Lead story
Top stories
Models & availability
Latest
From the source
Anthropic releases mods for deeper Claude Code customization via JavaScript/TypeScript functions.
Anthropic released mods for Claude Code, enabling developers to customize its appearance and behavior using small JavaScript or TypeScript functions that hook into events.
Mods can rewrite prompts, block or rewrite tool calls, handle permissions, replace interface parts, or add new functionality.
They are enabled by default in Claude Code 2.1.287 and later, and can be distributed as plugins via GitHub repositories.
From the source
Anthropic is giving developers much deeper control of Claude Code via mods, which are small JavaScript or TypeScript functions that hook into events inside Claude Code. A mod can rewrite a prompt before it reaches the model, block or rewrite a tool call, handle permission requests, replace parts of Claude Code’s interface, or add entirely new functionality.
thenewstack.io