ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
Tutorial resources · by 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.

Original post image1

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

Translated

About this 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.

Installation

See the original source for installation instructions.

Original text / 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

Similar projects