[KongchangAI]
ConceptClaude Code Mods / Mods插件机制

Mods

A plugin and extension mechanism for Claude Code, built on the Function Hooks design pattern. It allows developers to integrate code into and modify the behavior of the software layer surrounding the model (the Harness), including context assembly, tool-call filtering, and interface rendering.

Timeline (last 90 days)

Oct 10

Claude Code officially supports Mods starting from version 2.1.287 and above.

Unverified50%
Oct 4

Mods run directly inside Claude Code and can deeply intervene in the agent's behavioral logic.

Unverified50%
Oct 4

Mods can intervene just before Claude Code is about to execute an action, modify that action, or even block it entirely.

Unverified50%
Oct 4

Mods are loaded once at the start of a session and then run continuously throughout the entire session.

Unverified50%
Oct 4

Because Mods run persistently, they can remember state, provide a real-time panel, and pause to ask for user confirmation before executing commands.

Unverified50%
Oct 4

Mods can directly intervene in the harness's execution loop itself, inserting custom logic at the critical decision points where the agent determines its actions.

Unverified50%
Oct 4

The launch of Mods marks a shift in Anthropic's open strategy for Claude Code—from building an ecosystem around tools to allowing intervention inside the tools themselves.

Unverified50%
Oct 4

Components that can intercept and modify agent behavior carry a greater blast radius, and therefore demand more careful design from developers.

Unverified50%
Sep 29

The Plugins and Mods mechanisms allow developers to extend the functionality of Claude Code according to their own needs.

Unverified50%
Sep 29

Anthropic has launched new features for Claude Code, including Mods, Plugins, Projects, and Tag.

Unverified50%

5 more timeline events

All Facts (15)

Unverified

Because Mods run persistently, they can remember state, provide a real-time panel, and pause to ask for user confirmation before executing commands.

50%
Unverified

Mods can directly intervene in the harness's execution loop itself, inserting custom logic at the critical decision points where the agent determines its actions.

50%
Unverified

The launch of Mods marks a shift in Anthropic's open strategy for Claude Code—from building an ecosystem around tools to allowing intervention inside the tools themselves.

50%
Unverified

Components that can intercept and modify agent behavior carry a greater blast radius, and therefore demand more careful design from developers.

50%
Unverified

Mods run directly inside Claude Code and can deeply intervene in the agent's behavioral logic.

50%
Unverified

Mods can intervene just before Claude Code is about to execute an action, modify that action, or even block it entirely.

50%
Unverified

Mods are loaded once at the start of a session and then run continuously throughout the entire session.

50%
Unverified

The Plugins and Mods mechanisms allow developers to extend the functionality of Claude Code according to their own needs.

50%
Unverified

Plugins generally refer to functional modules developed by official or third-party developers and reviewed for quality, focusing on stable integration interfaces; Mods lean more toward community-driven lightweight customization.

50%
Unverified

The core value of a layered extension architecture lies in the official party maintaining consistency in the core experience while long-tail needs are addressed by the community.

50%
Unverified

Anthropic defines Mods as a plugin that uses Function Hooks, allowing developers to plug in with code and alter the behavior of Harness.

50%
Unverified

The public repository already contains four built-in Mods: an Agent preloader, a Diff panel, Telemetry, and an organizational security Mod.

50%
Unverified

Developers of custom Mods need to first enable the Function Host, and the API may change across different versions.

50%
Unverified

Claude Code officially supports Mods starting from version 2.1.287 and above.

50%
Unverified

Anthropic has launched new features for Claude Code, including Mods, Plugins, Projects, and Tag.

50%

Source Articles