gmorubio/claude-mods/tree/main/pet

A 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.
gmorubio/claude-mods/tree/main/pet

Pet adds a pixel art companion to the Claude Code desktop app, placed in the band above the prompt. Choose between a cat, dog or otter, each with distinct animated activities such as sleeping, grooming, playing with yarn, fetching a ball or floating with a rock. The pet sleeps while Claude is idle, wakes when Claude starts working, and transitions between activities until the turn ends. It starts hidden each session and is controlled via the /pet command (/pet show, /pet hide, /pet cat|dog|otter, /pet <activity>, /pet layout wrap|shrink). Requires the Claude Code desktop app and a build supporting function-hook mods; installation is available via the marketplace or a local plugin directory. Built with a shared pixel engine in hooks/pixels.ts and per-species files (cat.ts, dog.ts, otter.ts) registered through hooks/register.tsx. The mod makes no network requests.
Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.
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.