ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 xyc

plushie

一个住在 Claude Code 提示符上方的毛绒 Clawd,会根据 Claude 的操作做出反应:待机和眨眼,回合运行时扭动,为每个工具拿着小道具,工具失败或你中断时摇晃,长回合结束后跳跃,你说谢谢时脸红,被独自留下时打瞌睡。可以拍拍它,也可以拿起并移动它。

已翻译

关于这个 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.

更多类似作品