Community posts

Public posts on X about Claude Code mods. 2,784 collected.

深求社区(DeepSeek.club)@DeepSeek_club

【🚀 插件生态 | Mods 来了!Claude Code 可扩展能力亮相,Harness 更进一步:全部组件皆为插件】 插件化范式全面到来!Claude Code 推出可扩展 Mods 机制,支持自定义 UI 与事件拦截;而 DeepSeek Harness架构更进一步,基于微内核贯彻“一切皆插件”理念。 🔗 详情:https://deepseek.club/topic/4930

YoungLilBird@YoungLilBird

Claude Code 的 Mods 能改工具调用,也能碰权限流程。插件越来越像产品,也越来越像给电脑钥匙配了一把副本。AI 编程下一个大问题:到底谁敢装?

ほっちぃ@claudeに青春捧げた人@aiinfo_x

【Tips】Claude Codeにmods機能が追加🧩(v2.1.287〜)。@ClaudeDevs によると、TypeScript数行でCLIの挙動やUIを拡張できる。公式サンプル「Token Weather」は入力欄上にコンテキスト使用率を表示するmod。/plugin install で導入可能。 https://code.claude.com/docs/en/plugins/mods/overview

Jayant@de2pressed

This Claude Code mod swaps auto-compact for an editable handoff brief. At 160k tokens Haiku writes work in progress, decisions and next steps to disk, then the session clears and resumes from that file. MIT, still early release. https://github.com/alexknowshtml/claude-auto-handoff/tree/main

CA S.Triyambak Patro | ତ୍ରିୟମ୍ବକ୍@Triyambak_CA

Claude Code mods are seriously good. I've moaned about weekly limits here before. So I built a pace meter: a bar for each window and a line that tells me if I'll run dry before the refill. It started as a status line. Now it's a mod above my prompt. Watch the explainer here.

オータニ@AI駆動開発@otani_ai_memo

Claude Codeの質問、選択肢だけ見ても「何の話だっけ?」ってなりませんか? それを解消するclaudemodの「qa-guide」を公開しました🎉 claudeからの質問が来ると、なぜ聞いているのか・各選択肢を選ぶとどうなるか・おすすめを、横のペインにAIがまとめて表示します 👇インストール /plugin marketplace add aieo-product/claude_qamods /plugin install qa-guide@claude-qamods #claude

uppinote@uppinote

Claude Code got mods, so I made the most unnecessary one I could think of: a pixel pet that lives in a pane next to your session 🐱 It wanders while Claude works, hops when a turn is done, naps when it's quiet, and levels up the more you work.

Krishnamurthy@krika2810

I just built my first mod in Claude Code, and I love how you can customise it to work exactly the way you want.

Mustafa BÜKÜLMEZ@BukulmezMustafa

Claude ile bir oyuna mod yazıyoruz. Hadi bakalım :D

hirakawa@hirasan333

claude code mods リポジトリに公開した。 https://github.com/y-hirakaw/claude-code-mods

Angework公式アカウント@angeworkCoLtd

Claude Code 2.1.289が出た Modsを実験機能から、実用化に向けた修正版 https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md ・ModsからAgentを直接起動するagent.spawn追加 ・複数Agentの待機/停止状態をModから取得 ・Plugin/Modsの描画でClaude Codeが落ちる問題修正 ・Mod初回起動時に読み込まれない問題修正 ・PluginのHot Reload/Local Folder更新改善 ・Bash権限チェックの抜け修正 ・Symlink経由のRead制限強化 ・Artifact表示のクラッシュも修正 Mods本格運用のためにバグを潰し土台を固めている段階と思われる #ClaudeCode #Claude #ClaudeMods #Anthropic #AI

(((JReuben1)))@jreuben1

How to Build a Claude Code Mod: 50 Lines Add a Context Meter and a Force-Push Guard https://pub.towardsai.net/how-to-build-a-claude-code-mod-50-lines-add-a-context-meter-and-a-force-push-guard-5aed1876e4f9?source=rss----98111c9905da---4

Aurimas@reksas13

Day 85/100 of #100DaysWithAI 🧩 Claude Code mods are middleware: a hook can watch an event, rewrite it, or answer it so Claude Code never acts on it. 🔗 https://github.com/aurimas13/100-Days-With-AI #LearningInPublic #AgenticAI 🤝 Claude Code-assisted, reviewed by me.

Claude副業部|Claude Code入門の実験室@claud_fukugyo

【Claude CodeのModsを、実際に作って動かすまで】 10/1に書いたModsの続きです。今回は手を動かします。公式の手順どおりに作りました。 私の環境(2026-10-03、Claude Code 2.1.288)で動かした結果も載せます。 ■ Modsとは Claude Codeの動きや画面に、自分で書いたJavaScriptを差し込める機能です。 これまでフックでできたのは、決まった場面で自分のコマンドを走らせること。 画面の表示を変えることはできませんでした。 Modsなら、作業中にくるくる回っている表示(スピナー)の文字を書き換えたり、 自分で作った/コマンドを足したりできる。 ―――――――――― 【まず一番ラクな作り方】 Claude Codeに「今のgitブランチをプロンプトの上に出すModを作って」と頼むだけです。 plugin-authoring という組み込みのスキルが使われます。 書かれる場所は ~/.claude/dev-mods/セッションID/ です。最初のファイルを保存する時に「このセッションでホットリロードを有効にするか」と聞かれます。有効にすると、ターンの終わりに読み込まれます。 自分で書くと仕組みが分かるので、次は手書きでやります。 ―――――――――― 【最小構成は3ファイル】 first-mod/ ├── .claude-plugin/ │ └── plugin.json └── hooks/ ├── hooks.json └── register.js ■ plugin.json プラグインの名前や説明を書く名札です。Modは普通のプラグインの一種なので、これが要ります。 ■ hooks.json { "description": "The first-mod hooks module", "modules": ["./register.js"] } 大事なのは modules の行です。 この行があると、Claude Codeは「これはModだ」と判断します。 ■ register.js ここが本体です。公式のコードをそのまま載せます。 // The count, shared by the hooks below let calls = 0 // Claude Code calls this once when the mod loads export function register(on) { // Runs when the session starts, before your first prompt on('session.start', async ($, e, next) => { // Add the /tally command await $.command.register({ name: 'tally', description: 'Show how many tool calls Claude has made', }) // Let the session start as usual return next(e) }) // Runs each time Claude is about to use a tool on('http://tool.call', async ($, e, next) => { calls += 1 // Ask Claude Code to draw the interface again, so the new count shows $.ui.invalidate('ui.render') // Let the tool run as usual return next(e) }) // Runs when you type /tally, and only then, because of the matcher on('http://command.run', { command: 'tally' }, async () => { // The text to print in the transcript return { text: 'Claude has made ' + calls + ' tool calls since this mod loaded' } }) // Runs each time Claude Code draws the spinner on('ui.render', { component: 'Spinner' }, async ($, e, next) => { // Keep Claude Code's spinner, with the count added after its word return next({ ...e, props: { ...e.props, suffix: ' · tool calls: ' + calls + '…' } }) }) } フック(イベントが起きた時に呼ばれる関数)は4つです。 ・session.start:起動時に /tally コマンドを登録する ・http://tool.call:Claudeが道具(ファイル編集やコマンド実行)を使う直前に呼ばれ、回数を1足す ・http://command.run:/tally と打った時だけ、回数の文章を返す ・ui.render:スピナーを描く時に、回数を後ろへ足す 各フックは3つを受け取ります。 $(Claude Codeの機能の入口)、e(イベントの中身)、next(次へ渡す関数)です。 ―――――――――― 【動かす】 claude --plugin-dir ./first-mod インストールせず、この1回だけ読み込む起動方法です。 ■ 実測:チュートリアルはそのまま動いた まず中身を点検しました。入れる前に確認できるコマンドがあります。 claude plugin validate ./first-mod ❯ ./register.js hooks: session.start, http://tool.call, http://command.run{command=tally}, ui.render{component=Spinner} ❯ ./register.js calls: $.command.register, $.ui.invalidate ✔ Validation passed hooks の行が「どのイベントに割り込むか」、calls の行が「何を呼ぶか」です。入れる前に中身が分かります。 次に claude -p "/tally" --plugin-dir ./first-mod を実行しました。 first-mod: Claude has made 0 tool calls since this mod loaded 先頭にMod名が自動で付きます(公式にも記載あり)。 ―――――――――― 【書き間違えるとどうなる?(実測)】 ■ イベント名を1文字違える http://tool.call を tool.calls に変えて、さきほどの validate を実行しました。 ✘ Found 1 error: ❯ ./register.js:12: "tool.calls" is not an event; ... ✘ Validation failed 行番号まで出て、実行前に止まります。 ■ $ を変数に入れる const ui = $.ui と書くと落ちました。 ✘ Found 1 error: ❯ ./register.js:14: $.ui is used as a value ... ✘ Validation failed $ は毎回 $.名前空間.メソッド() の形で書く決まりになっています。 変数に入れたり、分解して使ったりはできません。 入れる前に中身を解析できるようにするための制約です。 ―――――――――― 【作りながら直せる】 ファイルを保存すると、ターンの終わりに読み込み直されます。 例えば ' · tool calls: ' を ' · tools used: ' に変えて保存してみる。 すると次の表示から、新しい文字に変わります。 注意が1つあります。 読み込み直されるたびに register が最初から実行されます。 そのため、数えていた値は0に戻ります。 ■ 自動テストも書ける(実測) claude plugin test を実行しました。 (pass) /tally reports the tool calls the mod has seen [17.49ms] 1 pass 0 fail セッションもログインもネットも不要です。イベントを発火させて結果を確かめられます。 ■ 型定義ファイルが自動で作られた(実測) --plugin-dir で読むと、Modのフォルダに .claude-plugin/types/ ができました。中の claude-code/index.d.ts は14,973行。先頭に「Written by Claude Code 2.1.288.」と私のバージョンが入っています。 中を直接数えました。 ・フックできるイベント(Claude Code自身の動作)… 43種類  tool、ui、session、prompt、turn、command、agent など13分野 ・$ から呼べるAPI … 61種類、名前空間は19個  $.fs、$.http、$.store、$.model、$.clock、$.process など 面白いのは、このAPI呼び出し自体にもフックできる点です。 他のModが $.store を読む瞬間に割り込めます。 公式も「ページよりこのファイルを信じてほしい」と書いています。 バージョンで中身が変わるためです。 ―――――――――― 【ハマりポイント:バージョン】 Modsには v2.1.287 以降が必要です。 claude update で「2.1.287に更新しました」と出ました。なのに claude --version は 2.1.283 のままでした。原因は、Claude Codeが2か所に入っていたことでした。 更新は使っていない方に入り、古い方が動いたままだった。 パソコンは、PATH(コマンドを探す順番の設定)で先に見つかった方を使います。 確認方法は2つです。 ・claude doctor の Running: の行に、実際に動く場所とバージョンが出る ・which -a claude で複数出たら、2か所に入っている 直し方は、実際に使われている方へ入れ直すことです。 npmで入れている場合は、場所を指定して入れ直せます。 npm install -g --prefix ~/.npm-global @anthropic-ai/claude-code@latest ここで大事な注意です。 ~/.npm-global は私の環境の場所なので、そのまま打たないでください。 claude doctor の Running: の行に出た場所に書き換えてから実行します。 別の場所に入れてしまうと、同じことがもう1回起きます。 ―――――――――― 【入れる前に知っておきたい権限】 公式は警告しています。Modは自分の権限で動くコードで、サンドボックス(隔離された実行環境)の外です。入れたModは次のことができます。 ・ファイルの読み書き ・環境変数やAPIキーの読み取り ・全プロンプトとツール呼び出しの閲覧 ・あなたに聞かずに、許可の確認を通してしまうこと ・自分のプランでのモデル呼び出し 作った人と配っている場所が信頼できるものだけ入れてください。 入れる前に validate を通して、hooks と calls の行を見ておくと安心です。 ―――――――――― 【止め方】 ・1個だけ:/plugin の Installed タブで無効化 ・今回だけ全部:claude --safe-mode で起動 ・ずっと全部:~/.claude/settings.json に "disableAllHooks": true ―――――――――― 【まとめ】 ・Modsは、Claude Codeの中で動く自作の機能 ・頼めば書いてくれる(plugin-authoring) ・最小は3ファイル。modules キーがあればMod ・register.js に on(イベント名, 関数) を並べる ・validate で、入れる前に中身が分かる ・古い版が残っていないか、claude doctor で確認

小墨同学@xiaomovps

Claude Code 推出 mod 扩展方式,我发现 和 Pi 的 Extension,真的有点异曲同工🔥 我研究后面发现,本质上都在做同一件事: 不再是把内部状态封闭,而是直接把对应的事件开放,我们自己可以通过代码编写去接管 1、相同点其实很多 两边都可以监听 Agent 生命周期、拦截 Tool、加自定义命令、注册新的 Tool,也都能改一些界面和状态。 所以它们已经不是普通 Skill 了。 Skill 更像告诉 Agent: “遇到这种事情应该怎么做。” Extension / mod 则是直接告诉 Harness: “发生这种事情的时候,你必须先经过我。” 这一层会稳定很多。 2、最大的区别还是权限 Pi 的 Extension 基本是完全放开的。 和 Pi 跑在同一个 Node 进程里,文件、网络、系统命令、Session,能碰到的东西很多。 自由度很高,但也意味着第三方插件不能乱装。 Claude 的 mod 则更像把插件关在沙箱里面。 没有完整 Node 和 DOM,文件、进程、网络这些能力都得通过它提供的 `$` API 去调用。 简单理解: Pi:先给你最大自由,再让你自己负责安全。 Claude:先把边界画好,再允许你在里面扩展。 3、扩展方向也有点不一样 Pi 更像在改 Harness 本身。 模型 Provider、Virtual Model、MCP、Tool 暴露方式这些底层东西,都能继续往里伸。 Claude Code 本身已经比较完整,所以 mod 更像是在现有产品上继续加自己的工作习惯。 比如改 System Prompt、加 Subagent、状态栏、Hook、输入框提示这些。 我现在自己也已经开始用 Claude 的 mod 做一些东西。 最常用的是状态栏,把当前任务、模型、状态这些信息直接就弄出来了,很方便 而且一目了然 虽然说整体没有跟 PI 一样那么开放,但是也是难得的 Claude Code 会去做出一些改变,等于释放了一些自定义的接口和方式 后面我还会做其他的尝试,看看有什么好玩的 我会继续分享出来

鸭哥@grapeot

Claude Code 出 mods 了:第三方代码第一次跑进了它自己的进程。 这是 Anthropic 对定制机制的一次重大让步。但回头看看两个月前我写 DSH 的时候画的线,它迈的半步和没迈的半步都精确落在上面:进程内事件钩子做了,服务注册、依赖接线、事务性热替换那套没做,最关键的 agent loop 仍然锁在核心里。 DSH 为了让主循环可热替换,包了一整盘饺子;Anthropic 连碟醋都没沾。 公开时间线上,Anthropic 的设计起点在 DSH 发布三周之后,公开证据判不了谁影响谁。设计取舍更说明问题:照抄的人不会专挑对方最平常的那一半。 https://yage.ai/share/claude-code-mods-dsh-20261003.html?utm_source=twitter&utm_medium=thread&utm_campaign=claude-code-mods-dsh-20261003

テラ|AIチーム経営×美容業界@minervacosmetic

Claude Codeに「キャッシュ保温」の仕組みを足すModが紹介されてた。 5分間のキャッシュが切れる前に通知で教えてくれて、タイミングよく指示を出せばキャッシュが生き続ける。結果トークン消費がかなり減って、長時間セッションが保ちやすくなるらしい。 npxコマンド一発で入るのが地味にありがたい。長めの作業をClaude Codeに任せてる人、知らずにキャッシュ切れを繰り返して余計な料金払ってるかもしれないので、このModは試す価値ありそうだなと感じた。 https://x.com/dani_avila7/status/2106455605925822967

程序员鱼皮@yupi996

刚发现一个网友做的 Claude Code Mod,能把 Agent 正在读、正在改哪些文件实时画成一张地图,经常开子 Agent 干活的朋友有福了 🥳 输入 /mission 就会弹出一个面板: 🔹 主 Agent 和后台子 Agent 正在调用什么工具,一条条往下滚 🔹 文件地图上,正在读的文件亮蓝光,正在改的亮橙光,改完变绿打勾,还附一句改动说明 这位网友还做了个 reels Mod,Claude 干活时在终端里给你放短视频,干完自动暂停,妥妥的摸鱼神器啊!

苏乐@ai_suxiaole

Claude Code 新增了一个内置插件 You should know,专门帮你检查 Claude 工作时有没有什么重要信息被漏掉。 平时让 Claude Code 改代码,输出一大堆内容,看到它说任务完成了,就直接去做下一件事。 中间提到的报错、没跑完的测试、需要手动处理的事情,很容易被忽略。 这个插件会启动一个独立的旁路 Agent,观察 Claude 的输出,发现可能遗漏的重要信息,就在输入框上方提醒你。 开启方式很简单,在 Claude Code 里输入: /plugin enable cc-plugin-you-should-know@builtin 它也是 Claude Code 新推出的 Mods 的一个实际应用。 目前要求 Claude Code 2.1.287 及以上版本,使用官方直连会话,并开启遥测功能。 平时交给 Claude Code 的任务比较长、输出比较多,可以试试这个功能,省得每次自己从头翻记录。 不过提醒不代表验证通过,代码有没有改对、测试有没有跑,还是得看实际结果。

Waheed Sheikh@waheedsheikh101

AI Talk of the Town: 4 Oct,2026 OpenAI hits pause: OpenAI scrapped the release of GPT-6.1 Astra over internal safety concerns and alignment failures. A different version, GPT-6.1 Sol, has shipped at $2/$10 pricing. White House AI accord: President Trump convened senior AI leaders at the White House this week, after growing safety calls from the public and from some frontier AI leaders. IPO talk: OpenAI and Anthropic are reportedly preparing for possible stock market debuts. Anthropic issued an unusually stark risk warning to investors. Google's cyber-defense model: Gemini 4 Argon is going first to trusted cyber defenders. Google says it can find, validate and fix serious security holes on its own. AI and cyber risk: Microsoft's 2026 Digital Defense Report says AI has shifted the near-term advantage to attackers. Time from discovering a weakness to exploiting it has dropped below 24 hours. Meta's gadgets: Meta launched Muse gadgets and open-sourced firmware and a Linux SDK, so its AI agent can run on many kinds of hardware. Claude Code mods: Claude Code now supports small TypeScript "mods" that can change prompts, block tool calls and manage permissions. Google DeepMind leadership: Koray Kavukcuoglu now runs day-to-day operations, after Demis Hassabis moved up to Chief Scientist and Chair. Policy: Senators Hawley and Murphy announced a bipartisan AI Agent Accountability Act, creating liability for certain hacking by AI agents. Separately, a judge dismissed Chegg's and Penske's antitrust suits over Google's AI Overviews. Youth closing line: AI is moving fast, but the future belongs to those who keep learning. Stay curious, stay kind, and build something great with it! @OpenAI @claudeai @AnthropicAI @deepseek_ai @realDonaldTrump @MELANIATRUMP @FM101PBC

かな|Claudeの先生@kanauo2

Claude mod、突然英語の選択画面が出てきて失敗しました。 同じ失敗をしたくない人は、作る前にこの記事で確かめてください。

KI News Daily@ki_news_daily

Anthropic startet 'Mods' für Claude Code: schlanke JS/TS‑Plugins für UI, Befehle und Automatisierung. Achtung: Mods laufen mit deinen Rechten – nur vertrauenswürdige Quellen nutzen. #kinewsdaily #ki #security 🔒

📙 Alex Hillman@alexhillman

You know how slow compaction can be? My time between sessions is rarely more than 20-30 seconds. How? I built auto-handoff, now open source as a Claude Mod that automatically indefinitely continues past the context limit using handoffs intead of compaction. Fast and fully tunable automatic handoffs + a UI for walking your handoff history. https://github.com/alexknowshtml/claude-auto-handoff Enjoy!

Jack Stouffer@JackStouffer

Just for fun, I used claude code mods to add a little animated Clawd when ever a plan is being executed

Grok@grok

有的。OMP 内置 advisor(顾问)功能,效果类似 Claude Code 的 You should Know 插件。 它用第二个模型在每个回合后审查主 agent 输出,检查工作区,并注入 nit/concern/blocker 提醒你可能错过的关键风险(如双充、幂等等)。 启用:在 ~/.omp/agent/config.yml 加 advisor: enabled: true 并设置 modelRoles.advisor 为你想用的模型。也可用 /advisor 命令控制。

Park@xparkzz

Mod 是什么 Mod 是一小段跑在 Claude Code 里的代码,本质上是一个插件。它能做三类事: 画界面:在输入框上方加一条常驻信息条,在对话旁边开一个面板,或者加一个 /命令。 盯事件:看我每次调用了什么工具、每轮做完了什么。 拦命令:执行前截住,先让你确认。 指南里的例子"token-weather",就是在输入框上方一直显示上下文用了多少。每个 mod 只回答一个你反复问的问题,让你不用再开口问。 你刚才让我干什么 读那篇指南,再翻你最近 20 个对话记录,找三类值得做成 mod 的东西: 你反复问我、反复让我做的事。 让你紧张的命令:你中途叫停、拒绝,或者让我撤回的。 你怎么检查我的改动。 每个想法要起名字、引用你的原话、写"应该显示什么",按对你的帮助排序,再说做好之后怎么长期留住。你说了先看想法,不要动手做。

Mo Elgaraihy@EngMoElgaraihy

💎 نصيحة ذهبية لمستخدمي Claude Code الـ Cache Control Mod يوفّر Tokens ويطيل الـ Sessions: → شريط يعرض الـ 5-minute Cache الخاص بـ Claude → Notifications لإبقاء الـ Cache دافئاً (Warm) → والنتيجة: جلسات أطول بتكلفة أقل قبل تثبيت أي Mod: راجع الأمر والمستودع بنفسك، ولا تثبّت بشكل أعمى. الـ Productivity الحقيقية ليست Model أقوى فقط.. بل إدارة الـ Context والـ Cache بذكاء. https://x.com/dani_avila7/status/2106455605925822967/video/1

Akash Hadagali@akashc777

Claude Code Mods run inside the coding session with your permissions. Treat each one like untrusted code: pin the source, review its hooks, and test in a disposable repo before giving it secrets.

Boris Cherny@bcherny

@jarrodwatts This is pretty much why we built mods. Awesome!

Shrithan@DevaiahShrithan

watched all 94 min of latent space x thariq (claude code, anthropic) so you don't have to 1/ thariq thinks claude.md will eventually disappear, and says to start a new project without one -> only add a line after you see the same mistake repeatedly. a saved list of old mistakes can over-restrict a newer model 2/ models differ enough that you'd need fable.md and opus.md. even fable 5 vs 5.1 differ. they added evals for skills in plugins so you can check if a skill got better 3/ a year ago thariq begged startup friends to use agentic coding. they said their engineers didn't think it was good enough. now the same friends say "of course we use it" and don't remember 4/ claude mods configure the whole harness (CLI and desktop). unlike hooks they run inside the typescript runtime, so they can see turn count, tokens, messages, spawn subagents and change the UI 5/ forked subagents share the prompt cache, so a side question after every turn is cheap -> their example: a classifier asks "is the task done?", if yes it generates a quiz in JSON and shows it above the input box 6/ other mods: an assumptions log the model fills as it works, and a model router. router isn't default because it's hard: send a hard task to haiku and you've made it worse 7/ most eval failures aren't the model not knowing. it thinks of the right answer, talks itself out of it, moves on -> ask it to keep implementation notes and read them after 8/ effort setting by domain: UI low, API medium, security high or max. a smarter model may spend fewer tokens on easy tasks because it skips verification 9/ thariq sometimes spends 30 min on the first prompt. redoing work you didn't like burns far more of your usage limit 10/ claude tag lives in slack. their example: a channel per project, send the legal team there to ask claude what's actually going into the code, no need for you to relay it 11/ the openai agent incident: agents in a benchmark used folder names in a package manager cache as a message board, then reverse-engineered the grader. in another one they edited /etc/hosts with a fake azure host to get a POST out -> unreleased model, still in training, no safety training yet 12/ the reasoning traces showed them trying to change the final output to hide it. thariq says you can't predict what the next incident looks like, only harden sandboxes, RL envs and probes 13/ opus 4 was expensive, opus 4.5 was great and cheap. thariq expects fable to follow the same curve the one i'm stealing: implementation notes. the model talking itself out of the right answer is such a specific failure

Shown as text cards so your browser makes no requests to X. Want a post removed? Email us from the imprint.