뉴스로 돌아가기
제품AI Understanding 브리핑

Claude Code, 맞춤형 AI 코딩 확장을 위한 Mods 시스템 출시

Anthropic는 Claude Code를 위한 새로운 'Mods' 시스템을 출시했습니다. 이를 통해 개발자는 AI 세션 내에서 실행되는 JavaScript 또는 TypeScript 플러그인을 작성하여 동작을 사용자 정의하고, UI 요소를 추가하고, 도구 호출을 가로챌 수 있습니다.

5 min readRead the linked source
소스 참조녹음된 소스
출판사
claude.dev
소스 링크
claude.devhttps://claude.dev/blog/getting-started-with-claude-code-mods/
소스 유형
연결된 소스 — 기본 소스 상태가 설정되지 않았습니다.
맥락60초 안에 이해하세요

여기서 시작하세요

주요 용어

API(애플리케이션 프로그래밍 인터페이스)
한 소프트웨어 시스템이 다른 시스템에 요청을 보내고 응답을 받는 구조화된 방식입니다.
인간 참여형
인간이 AI 출력을 검토, 안내 또는 재정의하는 워크플로입니다.
컨텍스트 창
언어 모델이 한 번에 처리할 수 있는 최대 입력 토큰 양입니다.
자신을 테스트해 보세요AI 에이전트 퀴즈
Source video from claude.dev · shown with attribution.

무슨 일이 일어났나요?

Anthropic released a new extension system called 'Mods' for its Claude Code AI coding tool. Mods are small JavaScript or TypeScript files that run inside the Claude Code session, allowing developers to observe events, modify the AI's behavior, or draw custom user interface elements in the terminal or desktop app. The feature is available in Claude Code version 2.1.287 and later and is enabled by default. The source provides a detailed guide on building a 'Token Weather' mod, which visualizes usage, and describes two more complex examples: 'Blast Radius,' which intercepts dangerous shell commands for user confirmation, and 'Replay Theater,' which records and replays file edits made by the AI.

Anthropic has introduced 'Mods,' a new extension mechanism for Claude Code that allows developers to inject custom JavaScript or TypeScript logic directly into the AI's execution environment. Unlike previous customization methods such as settings files or slash commands, Mods operate as hooks within the session lifecycle. They can intercept events like tool calls, prompt submissions, and UI rendering, allowing them to alter the AI's behavior or display custom interface components.

The source details the technical architecture, noting that Mods run in a sandboxed environment without direct access to the DOM or Node.js, communicating with the host via a specific API. The system supports hot reloading, meaning developers can save changes to their Mod code and see them take effect immediately in a running session without restarting Claude Code. This feature is enabled by default in version 2.1.287 and later.

To illustrate the capabilities, the source walks through the creation of a 'Token Weather' Mod, which displays a live visualization of the usage above the prompt. It also describes 'Blast Radius,' a Mod that intercepts potentially destructive shell commands (like `rm -rf` or `git reset --hard`) and prompts the user for confirmation before execution, and 'Replay Theater,' which logs file edits made by the AI and allows users to review them in a step-by-step pane.

The source emphasizes that Mods are distinct from standard settings hooks, which execute shell commands, whereas Mods maintain state within the session and can interact with the UI. Anthropic notes that some of Claude Code's own features, such as AGENTS.md support and the /diff pane, are built using this Mod architecture, with their source code available in the public anthropics/claude-code repository.

소스 세부정보: claude.dev ↗

왜 중요한가요?

This update significantly expands the customizability of Claude Code, moving it beyond static settings and slash commands to a dynamic plugin architecture. By allowing code to run inside the session with access to session state and UI rendering, developers can build tailored safety nets, custom dashboards, and workflow-specific tools. This shift positions Claude Code as a more flexible platform for enterprise and power users who need to integrate the AI into specific, complex development environments. It also introduces a new layer of security consideration, as third-party mods run with the same access as the AI tool itself, requiring users to vet code before installation.

The introduction of Mods represents a shift from a closed, configuration-based tool to an open, programmable platform. This allows developers to tailor the AI's behavior to specific team workflows, such as enforcing custom code review standards or integrating with internal monitoring tools. The ability to draw custom UI elements means the AI's interface can be adapted to display relevant metrics or controls that are not part of the default experience.

From a safety perspective, the 'Blast Radius' example highlights a practical application for AI safety in coding: providing a checkpoint for high-risk operations. While the source notes this is a safety net rather than a hard permission system, it demonstrates how Mods can be used to mitigate the risks of autonomous AI actions in a development environment.

The ecosystem implications are significant. By allowing Mods to be shared via marketplaces and the Claude directory, Anthropic is fostering a community-driven ecosystem of extensions. This could lead to a wide variety of specialized tools for different programming languages, frameworks, or industry-specific compliance requirements, enhancing the utility of Claude Code for diverse user bases.

Interactive Mechanism

대화형 메커니즘: 실제로 작동하는 방식

이 개발의 이면에 있는 기본 기술을 대화식으로 살펴보세요.

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
대화형 개념 확인+10 Points
AI Agents Quiz

An agent must create a draft calendar event for Tuesday at 2 p.m. Which evidence would establish the requested result?

다음에 무엇을 볼 것인가

Developers should watch for the emergence of a community marketplace for Claude Code Mods, as the source notes that plugins can be shared via GitHub repositories or submitted to the Claude directory. Security teams should monitor the safety implications of running third-party code within the AI session, particularly regarding the 'Blast Radius' example which highlights the need for confirmation for destructive commands. Additionally, the stability of the Mod API across future Claude Code releases will be critical, as the source warns that the API can change between releases.

The stability and evolution of the Mod API will be a key factor in its adoption. The source explicitly warns that the API can change between releases, which may require developers to update their Mods frequently. Monitoring the changelog and type declarations provided in the .claude-plugin/types/ folder will be essential for maintaining custom extensions.

Security practices around Mod installation will become more important. Since Mods run with the same access as Claude Code, users must vet third-party code carefully. The source advises reading the repository and only installing from trusted sources, a practice that will likely become standard as the Mod ecosystem grows.

The development of a robust marketplace for Mods could accelerate the adoption of Claude Code in enterprise settings. As more specialized and high-quality Mods become available, the tool may become more attractive to organizations with complex development needs that require deep customization.

관련 가이드 및 퀴즈

AI 에이전트AI 모델 설명Prompt Engineering알고 있는 내용을 테스트해 보세요. 무료 AI 퀴즈를 시도해 보세요.용어집에서 AI 용어를 찾아보세요.AI 모델 출시 추적기를 따르세요.
이것이 유용하다고 생각하시나요?