ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 xyc

plushie

Claude Code のプロンプト上に住み、Claude の動きに反応するぬいぐるみの Clawd。待機してまばたきし、ターン中は揺れ、各ツール用の小道具を持ち、ツール失敗や割り込みでふらつき、長いターンの後には跳ね、感謝されると頬を赤らめ、放置されると眠ります。撫でたり、持ち上げて動かしたりできます。

翻訳済み

この mod について

plushie は Claude Code の mod で、プロンプト上にぬいぐるみの Clawd マスコットを表示し、Claude の活動に反応します。Blender でベイクしたフレームを、画像プロトコルに対応するターミナル(Ghostty、kitty)で再生します。ドラッグ、撫でる操作、ツール用小道具、サブエージェントごとのミニ Clawd、コンテキスト使用量に応じた成長、赤面、アイドル時の動き、サウンドの切り替えに対応し、反応と切り替え用の /plushie コマンドも備えています。/plugin marketplace add xyc/plushie と /plugin install plushie@plushie でインストールします。非公式のファンプロジェクトであり、Anthropic とは提携していません。コードとアセットは MIT ライセンスです。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add xyc/plushie
claude plugin install plushie
原文 / README

plushie

<p align="center"><img src="docs/media/demo.gif" width="560" alt="Clawd being patted, holding a keyboard while Claude runs a command, then jumping when it's done"></p>

A plush Clawd that lives above the Claude Code prompt and reacts to what Claude is doing: idles and blinks, wiggles while a turn runs, holds a little prop for each tool, wobbles when a tool fails or you interrupt, jumps after a long turn, blushes when you say thanks, dozes off when left alone. Pat it, or pick it up and move it.

It is a Claude Code mod: frames baked in Blender, played in the terminal by swapping an Image's source with $.ui.blit. Terminals with an image protocol (Ghostty, kitty) only; elsewhere it stays out of the way.

An unofficial fan project, not affiliated with or endorsed by Anthropic. Clawd and Claude Code are Anthropic's.

Install

/plugin marketplace add xyc/plushie
/plugin install plushie@plushie

Needs Claude Code 2.1.287 or later with mods on. Mods are rolling out; if /plushie isn't listed after installing, they aren't on for your account yet.

To run it from a checkout instead:

claude --plugin-dir path/to/plushie

Switches

Each is a switch, on by default, in /config or with /plushie on|off <switch>:

| Switch | What Clawd does | | :-- | :-- | | drag | drag it sideways along the band; it dangles while held, lands where you let go, and stays there next session | | pats | click it without dragging: a squish, a happy squint, hearts | | toolProps | holds a magnifier while reading, knitting needles while editing, a keyboard for the shell, binoculars on the web | | miniClawds | a half-size Clawd per running subagent, walking off when it finishes | | stuffing | grows rounder as the context window fills, deflates with a sigh on compaction | | blush | blushes at thanks and praise in your prompt | | fidgets | left alone, now and then looks around, scratches, yawns or hops | | sounds | little sounds for pats, jumps, wobbles, blushes, being picked up and put down, deflating and dozing off |

Commands

  • /plushie hides or shows it.
  • /plushie <reaction> plays one of Clawd's reactions: happy, oops, pat, blush, sleepy, fidget-yawn, working-binoculars, idle-stuffed, … (every folder in assets/frames).
  • /plushie list shows every reaction, and every switch with its state.
  • /plushie on <switch> / /plushie off <switch> flips a switch.

Rebake the frames

blender/sheet.sh idle:0 happy:16          # contact sheet: build/sheet.png
/Applications/Blender.app/Contents/MacOS/Blender -b --factory-startup \
  -P blender/plush.py -- render build/layers [clip ...]
python3 blender/composite.py build/layers assets/frames [clip ...]

blender/plush.py holds the model, the fur, the props, the lights and every clip's motion, and renders each frame twice: Clawd alone, and the shadow alone. blender/composite.py lays one over the other into assets/frames and writes the manifest the mod reads. The shadow's strength and shape live in the compositor, so changing them is a re-run of composite.py, not a render.

Test

claude plugin test .

The tests drive every reaction through the real event that triggers it, each with its switch on and off.

License

MIT for the code, the Blender and sound scripts, and the frames and sounds they make; see LICENSE. The Clawd character and Claude Code are Anthropic's, and the license doesn't cover them.

関連作品