fluffy cat sitting

mypet 🐱

A fluffy desktop cat that eats your Claude Code tokens.

macOS 13+ SwiftUI + AppKit MIT Tests passing

You pay for Claude Code anyway. The little cat spends your subscription quota β€” no separate API key, no server, no telemetry. When you're not feeding it, it costs zero CPU and zero network. When you do feed it, you get one cute interruption and one tiny morsel of useful information.

It's a screensaver that pays rent. 🐈

How it works

STEP 1

Cursor near cat

A wobbly little Claude-cookie πŸͺ follows your mouse β€” visual feedback that the cat sees you.

STEP 2

Double-click cat

Single clicks pass through to the app underneath. Only a double-click triggers feeding.

STEP 3

Cat chomps + tip pops

Shells out to your local claude CLI. Reply lands in a tiny speech bubble.

STEP 4

Click bubble to keep

Single-click copies the tip to your clipboard and dismisses. Or leave it β€” auto-dismiss in 10 min.

14 states, each with its own pose

idle
idle
default
eating
eating
double-click
purring
purring
tip showing
cling top
clingTop
snap to top
peek right
peekRight
snap to right
sleeping
sleeping
30 min idle

+ eating, excited, sleepy, dozing, hungry, petting, licking, washing, peekLeft (mirrored at render time).

Tip themes

Each feed picks one of six themes β€” you don't get the same vibe twice in a row.

β˜•
claudeTip
Non-obvious Claude Code tip
πŸ’‘
promptIdea
A specific prompt to try
πŸ“°
techNews
One-line tech headline
πŸ€“
til
Today-I-learned fact
πŸ˜†
devJoke
One-liner
πŸ₯Ÿ
dayouShi
η¨‹εΊε‘˜ζ‰“ζ²Ήθ―—

Install

Requirements: macOS 13+, the Claude Code CLI on your PATH.

git clone https://github.com/anzy-renlab-ai/mypet
cd mypet
swift run mypet

First launch shows a tiny onboarding wizard. The cat lives in the bottom-right of your primary display. Click 🐾 in the menu bar for Feed now / Snap to edge / Launch at login.

Made with

SwiftUI + AppKit (no external deps) Β· Kling AI generations + BiRefNet bg-removal pipeline Β· 151 passing tests covering every documented user path. Cat artwork Β© alvin β€” code MIT.