ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
教程资源 · 发布者 AI Builder Club

Claude Code now lets you change Claude Code. Mods are small JavaScript or TypeScript files, packaged as plugins, that run inside your session. They can draw new UI, rewrite prompts, and step into tool calls.

Claude Code now lets you change Claude Code. Mods are small JavaScript or TypeScript files, packaged as plugins, that run inside your session. They can draw new UI, rewrite prompts, and step into tool calls.

AI Builder Club@aibuilderclub_

1/

Claude Code now lets you change Claude Code. Mods are small JavaScript or TypeScript files, packaged as plugins, that run inside your session. They can draw new UI, rewrite prompts, and step into tool calls. You can ask Claude to write one for you.

2/

That sounds like hooks. It isn't quite. A settings hook runs a shell command for each event. A mod loads once and stays in your session, so it can keep state, replace built-in features, and draw panes and buttons. Even /diff now ships as a mod.

原帖图片1

3/

Three samples from Anthropic: • Token Weather: a context window forecast above your prompt • Blast Radius: pauses rm -rf or a force push and shows what it would change • Replay Theater: /replay steps through last turn's edits, one diff at a time https://github.com/anthropics/claude-code-playground/tree/main/claude-code/mods

4/

One catch: mods aren't sandboxed. They run with your permissions, so only install ones you trust. Start with Token Weather. The tutorial has a prompt you paste into Claude Code, and it builds the mod for you. Announcement: https://claude.com/blog/claude-code-mods Tutorial: https://claude.dev/blog/getting-started-with-claude-code-mods/ Docs: https://code.claude.com/docs/en/plugins/mods/overview

尚未翻译

关于这个 mod

Claude Code now lets you change Claude Code.

Mods are small JavaScript or TypeScript files, packaged as plugins, that run inside your session. They can draw new UI, rewrite prompts, and step into tool calls.

You can ask Claude to write one for you.

安装

安装方法请查看原始来源。

原文 / README

Claude Code now lets you change Claude Code.

Mods are small JavaScript or TypeScript files, packaged as plugins, that run inside your session. They can draw new UI, rewrite prompts, and step into tool calls.

You can ask Claude to write one for you.

That sounds like hooks. It isn't quite.

A settings hook runs a shell command for each event. A mod loads once and stays in your session, so it can keep state, replace built-in features, and draw panes and buttons.

Even /diff now ships as a mod.

Three samples from Anthropic:

• Token Weather: a context window forecast above your prompt

• Blast Radius: pauses rm -rf or a force push and shows what it would change

• Replay Theater: /replay steps through last turn's edits, one diff at a time

https://github.com/anthropics/claude-code-playground/tree/main/claude-code/mods

One catch: mods aren't sandboxed. They run with your permissions, so only install ones you trust.

Start with Token Weather. The tutorial has a prompt you paste into Claude Code, and it builds the mod for you.

Announcement: https://claude.com/blog/claude-code-mods

Tutorial: https://claude.dev/blog/getting-started-with-claude-code-mods/

Docs: https://code.claude.com/docs/en/plugins/mods/overview

更多类似作品