clawd-buddy
Reviewed
at commit 78673f1
Clawd, Claude Code's pixel mascot, lives above your prompt in the terminal and the desktop app: it acts out what Claude is doing, chats with you, dances to…
0 upvotes
Log in to upvote or save- Made by
- zhanbodev
- Pinned commit
-
78673f1773552ab794487c1e5df30bd325b1f6bb - What we checked
-
Draws the Clawd mascot above your prompt, acting out what Claude is doing, with a runner game, a desktop scene and a chat pane. /clawd chat sends your chat and a digest of your session to a Claude model on your own account; /clawd music start builds and runs a small local macOS program that measures system audio loudness only. No other network calls.
Review details
Static review of the source at the pinned commit; not run. Read in full: plugin.json, hooks.json, the logic of register.js (earsProgram, startMusic, sceneDigest, clawdReply, saveOption, say, session.start, tool.call, prompt.edit, command.run and ui.message handlers) and native/clawd-ears.swift and Info.plist from the clone (git show at the pinned commit), which register.js compiles and runs. The rest of register.js (pixel drawing and layout, about 800 lines), clawd-scene.js, clawd-game.js and clawd-view.js were skimmed as rendering code and searched for fetch, http, process, fs, env, eval, require and import; they contain only drawing, game and scene logic with no I/O. Hooks: session.start, ui.message, turn.start, turn.complete, turn.abort, tool.call, prompt.edit, ui.render (PromptHint, Pane, AbovePrompt), command.run for /clawd. tool.call only reads the tool name and, for read and edit tools, the file name (cut to 24 characters) to caption the mascot, and passes the call through unchanged. prompt.edit reads the draft only to show hints after /clawd and, in game mode, to turn a space typed in an empty prompt into a jump. Chat (only on /clawd chat): $.model.complete with haiku, sonnet or opus (default haiku), with a system prompt holding the newest roughly 40,000 characters of your Claude conversation (message text and tool name plus file name, no tool results), or $.model.fork for main; uses tokens on your account and stays out of Claude's conversation; chat history is kept in $.state for the session. Music (only on /clawd music start): $.process.run of /bin/test, /bin/mkdir and /usr/bin/xcrun swiftc to compile native/clawd-ears.swift into native/build inside the plugin folder (macOS with Xcode command line tools, 5 minute timeout), then $.process.spawn of that program. The Swift program taps system audio output through a Core Audio process tap (macOS asks permission, no microphone), computes loudness and a beat flag every 50 ms, prints two numbers, never writes or sends audio, and exits when its parent exits. Also runs /bin/date +%z to read the time zone, reads LC_ALL, LC_MESSAGES and LANG for the language, and stores hidden, scene and game high score with $.store and /config options with $.config. No fetch, sockets or telemetry anywhere. Not reviewed: the compiled binary itself (built locally from the reviewed source), macOS frameworks.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): yes
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Clawd, Claude Code's pixel mascot, lives above your prompt in the terminal and the desktop app: it acts out what Claude is doing, chats with you, dances to your music, plays a runner game, and in the desktop app idles in a little pixel San Francisco
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/clawd-buddy/)