gmorubio/claude-mods/tree/main/pet

一隻住在 Claude Code 桌面應用程式提示列上方橫條的像素風寵物。每個工作階段開始時預設隱藏:輸入 /pet show 讓它出現,輸入 /pet hide 將它收起來。
gmorubio/claude-mods/tree/main/pet

Pet 會在 Claude Code 桌面應用程式中加入一個像素風夥伴,放在提示列上方的橫條裡。你可以選擇貓、狗或水獺,每種都有獨特的動畫活動,例如睡覺、整理毛髮、玩毛線、撿球或抱著石頭漂浮。Claude 閒置時寵物會睡覺,Claude 開始工作時會醒來,並在回合結束前切換活動。它在每個工作階段中預設隱藏,透過 /pet 命令控制(/pet show、/pet hide、/pet cat|dog|otter、/pet <activity>、/pet layout wrap|shrink)。需要 Claude Code 桌面應用程式,以及支援 function-hook 外掛的建置版本;可透過 marketplace 或本機外掛目錄安裝。它使用共用像素引擎 hooks/pixels.ts 建置,並由 hooks/register.tsx 註冊各物種檔案(cat.ts、dog.ts、otter.ts)。這個外掛不會發出網路請求。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add gmorubio/claude-mods claude plugin install pet
A little pixel art pet that lives in the band above the prompt in the Claude Code desktop app. It starts hidden in every session: type /pet show to bring it out and /pet hide to tuck it away. It sleeps while Claude is idle, wakes up when Claude starts working, and moves between its activities, with animated transitions, until the turn ends.

Cat: a black kitten with yellow eyes.
| Activity | What it does | How long |
| --- | --- | --- |
| sleep | Curled up in a bun, breathing, Z's drifting up | While Claude is idle |
| sit | Sits and stares at you, blinks, flicks its tail | 3 minutes |
| groom | Licks its paw and wipes its face | 3 minutes |
| yarn | Bats a ball of yarn around | 3 minutes |
| milk | Laps milk from a bowl | 10 seconds |
| hunt | Follows a fly with its eyes, pounces, catches it | Until the fly is caught |
Dog: a brown pup with floppy ears.
| Activity | What it does | How long |
| --- | --- | --- |
| sleep | Curled up, Z's drifting up | While Claude is idle |
| look | Looks at you panting, tongue out, tail wagging | 3 minutes |
| bone | Lies down chewing a bone | 3 minutes |
| catch | Catches a tennis ball in its mouth | Until it drops the ball |
| zoomies | Spins round in circles | 3 seconds |
| water | Drinks from a water bowl | 10 seconds |
Otter: a round brown otter that never lets go of its rock.
| Activity | What it does | How long |
| --- | --- | --- |
| sleep | Floats on its back holding its rock | While Claude is idle |
| swim | Jumps into its pond, swims back and forth, dives | 3 minutes |
| rock | Tosses its rock up and catches it | 3 minutes |
| Command | What it does |
| --- | --- |
| /pet cat, /pet dog, /pet otter | Switch pets (remembered between sessions) |
| /pet <activity> | Jump to one of the current pet's activities, e.g. /pet zoomies |
| /pet | Switch to a random activity |
| /pet show, /pet hide | Show or hide the pet (it starts hidden in every session) |
| /pet layout wrap | When other mods crowd the band, the pet moves to its own line (default) |
| /pet layout shrink | The pet keeps its spot and other band content is cut short |
hooks/hooks.json with modules).In your shell:
claude plugin marketplace add gmorubio/claude-mods
claude plugin install pet@claude-mods
Or both at once from inside a Claude Code session:
/plugin install pet --marketplace gmorubio/claude-mods
Or load it from a local checkout for one session:
claude --plugin-dir /path/to/claude-mods/pet
hooks/pixels.ts: the shared pixel engine (palette, shapes, SVG output, scenes and transitions).hooks/cat.ts, hooks/dog.ts, hooks/otter.ts: one file per pet, with its frames, activities and timings.hooks/register.tsx: the mod itself: the /pet command, the sleep/wake schedule and drawing the band.To add a pet, write a new file that exports a Species and add it to PETS in register.tsx.
pet makes no network requests and sends nothing anywhere. See the privacy policy.