ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 Brian Huang | kxhuang.eth

clawd-actor

Clawd가 프롬프트 위에서 spinner의 -ing 단어와 현재 실행 중인 도구를 연기하는 Claude Code 모드입니다.

Brian Huang | kxhuang.eth@BrianHuang18

1/

I made Clawd act out whatever Claude is doing while it works. Clawd now cooks when the spinner says "Sautéing" – a little Claude Code mod Feel free to take a look and make it more funny! https://github.com/BrianHuang813/clawd-actor

번역 완료

이 mod 소개

Clawd는 Claude가 작업하는 동안 프롬프트 위의 작은 무대에 올라 spinner의 -ing 단어(Sautéing, Pondering, Herding…)와 실행 중인 도구를 연기합니다(Bash는 타이핑하고, Read는 생각하고, Agent는 양을 몰고, MCP는 주문을 시전합니다). 26개 장면이 30초마다 바뀌고, 무대는 터미널 너비에 맞춰 최대 60열까지 조정됩니다. 유휴 상태에서는 아무것도 그리지 않습니다. 복제한 뒤 /plugin marketplace add BrianHuang813/clawd-actor로 설치하거나 claude --plugin-dir를 사용할 수 있습니다. 훅은 Spinner에서 ui.render를 관찰하고 tool.call을 기록하며, session.start에서 시작된 140 ms 프레임 타이머를 구동합니다. 장면은 4행 셀 그리드의 순수 함수입니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add BrianHuang813/clawd-actor
claude plugin install clawd-actor
원문 / README

clawd-actor

A Claude Code mod: while Claude works, Clawd walks onto a little stage above the prompt and acts out what is going on — the spinner's -ing word (Sautéing, Pondering, Herding…) and whatever tool is running right now.

Clawd thinking, cooking, juggling, conjuring, hatching an egg, dancing, herding sheep and typing while Bash runs

Eight scenes at the real frame rate, each cut to a few seconds (a real turn changes scene every 30 s). Every frame is the mod's own output, rendered by tools/.

What it does

  • Acts out the spinner word. 26 scenes, matched by word stem, so Flambéing cooks and Dilly-dallying strolls. A word it does not know falls back to what the turn is doing (typing for tool use, talking while responding, thinking otherwise).
  • Acts out the running tool. Bash types, Read/Grep/Glob think, Edit/Write sketch, Agent herds sheep, Web* checks the weather, TodoWrite/Skill juggles, MCP tools cast spells, anything else is hammered at the forge. When the tool returns, the show goes on.
  • Changes scene every 30 seconds on long turns, in an order shuffled per turn, never the same scene twice in a row.
  • Wanders the stage. Clawd strolls left and right with its props, swinging arms and legs, hopping at each turn; the stage follows the terminal width (up to 60 columns).
  • Leaves when the turn ends, and draws nothing while idle (the frame timer only redraws during a turn).

| Scene | Spinner words (some of them) | | --- | --- | | think | Pondering, Musing, Clauding, Noodling, Ruminating | | cook / bake / brew | Sautéing, Simmering, Whisking / Baking, Kneading / Brewing, Percolating | | walk / run / moonwalk | Moseying, Wandering / Scampering, Galloping / Moonwalking | | herd | Herding, Wrangling, Mustering | | spin | Spinning, Churning, Reticulating, Combobulating | | magic / levitate | Conjuring, Manifesting, Transmuting / Levitating, Hyperspacing | | hatch / grow | Hatching, Incubating / Sprouting, Germinating | | forge / compute | Forging, Crafting, Creating / Computing, Crunching, Synthesizing | | dance / juggle / honk | Vibing, Grooving, Boogieing / Juggling / Honking, Booping | | sketch / weather / thunder | Sketching, Doodling / Misting, Billowing / Thundering | | dig / flow | Burrowing, Spelunking / Flowing, Undulating |

Install

Requires a Claude Code build with function-hook mods (claude plugin validate knows hooks.json modules). Developed and tested on Claude Code 2.1.289.

From this repository as a marketplace:

/plugin marketplace add BrianHuang813/clawd-actor
/plugin install clawd-actor@clawd-actor
/reload-plugins

Or straight from a clone, for one session:

git clone https://github.com/BrianHuang813/clawd-actor
claude --plugin-dir ./clawd-actor

Plays well with other band mods

The stage is drawn in the AbovePrompt band. The hook always calls next(e) and stacks what the mods beneath it draw under the stage, so other band mods keep showing. A band mod that answers without calling next(e) hides everything beneath it — if Clawd never shows up, look for one.

How it works

  • ui.render on Spinner only observes: it remembers the word and mode and lets the engine draw the spinner as usual.
  • tool.call notes the tool in flight and forgets it when the call returns.
  • One timer, started in session.start, advances a frame counter in $.state every 140 ms while a turn runs; the band reads it, which subscribes it to redraws. A timer started inside a turn.start hook does not outlive that dispatch, which is why it lives in session.start.
  • Whether to draw at all follows the band's own isWorking prop.
  • hooks/scenes.ts is pure: a 4-row grid of cells, a scene per name, sceneAt() choosing the scene for a frame and frameRows() turning the grid into coloured runs.

Develop

claude plugin validate .
claude plugin test .

The tests check that every scene keeps the stage size at 30, 40 and 60 columns and moves Clawd about, that a turn opens on the spinner word and then rotates through every other scene, that a running tool takes over, and that the timer animates Clawd during a turn and lets go after it.

Block characters and symbols are drawn one cell wide; a terminal font that draws some of them wider may shift a frame.

To regenerate assets/demo.gif after changing a scene (Node 22+ and Python with Pillow):

node tools/frames.ts > frames.json      # the frames, straight from hooks/scenes.ts
python tools/render.py frames.json assets/demo.gif

tools/render.py uses DejaVu Sans Mono and draws block elements as exact rectangles; edit the font path at its top for your system.

Notes

Clawd is Claude Code's mascot; the sprite follows the one on Claude Code's welcome screen. This is a fan-made mod, not affiliated with or endorsed by Anthropic.

Showcase: I made Clawd act out whatever Claude is doing while it works. Clawd now cooks when the spinner says "Sautéing" – a little Claude Code mod

Feel free to take a look and make it more funny! https://github.com/BrianHuang813/clawd-actor Clawd 依 spinner 文案演戲

비슷한 프로젝트