ClaudeModsClaude Code mod directory
☰
● 0 online · Views 0 times
+ Submit a project
← Back to projects
Reddit posts · Games & entertainment / Notifications & reminders / Themes & appearance / Tools & integrations

Claude Pets: A pixel pet growth mod in the terminal — Claude Code plugin · ClaudeMods

Report this workIs this your work? Claim it

Explore this Claude Code plugin on ClaudeMods and review its source and permissions. A pixel pet mod that lives in the terminal, grows into different forms based on how you work, and can play mini-games with you.

uuppinote@uppinote
Original post image1
Translated

About this mod

The author used Claude Code's function-hook API to build something completely unnecessary: a pixel pet that lives in a pane next to the session. It hops and blinks in a small yard, pauses and shows "..." when tools run, jumps up and says "nice work!" at the end of a turn, dozes off after about two minutes of quiet, and tears up when the rate limit window exceeds 80%. Use /pet pat to get hearts and purrs. It grows with you: tool calls, completed turns, pats, and output tokens grant experience (only output tokens count, because input and cache grow with conversation length rather than workload). Experience needed to level up is 25×n², reaching Lv 5 in one night, then slowing down. At Lv 15 it becomes a teenager with accessories, and at Lv 40 it evolves. It also develops a personality based on your usage: frequent tool use makes it a worker holding a notebook (swinging a pickaxe when adult), long turns make it a scholar, frequent pats make it a sweetheart, and frequently feeding it game snacks makes it a player, which is also the form it evolves into; one in twenty gets a rare form. The yard fills up accordingly, and follows your clock from morning sunlight to moon and stars. Occasionally completed turns drop gifts, and one in thirty-two new pets is a shiny version. There are also two mini-games, /pet play and /pet quest, to play while waiting for long tasks. There is no hunger, decay, or death—just to make the coding environment cozier. Supports eight small animals (cat, chick, dog, slime, rabbit, hamster, penguin, frog). The entire project is a register.tsx that responds to session events, drawn in the terminal with half-block characters, and SVG cards on desktop and mobile. The author spent about three days, 58 commits, and 19 PRs to complete it. mods AP

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

/plugin marketplace add uppinote20/claude-pets
/plugin install pets@claude-pets
Original text / README

When Claude Code (Anthropic's coding CLI) got mods, I wanted to see what its function-hook API could actually do, and ended up building something completely unnecessary with it: a pixel pet that lives in a pane next to your session. https://reddit.com/link/1wwwq8v/video/2iauky8q6bth1/player It wanders around a little yard, bouncing and blinking. While tools run it stops and goes . . . , when a turn finishes it hops with a "nice work!", after about two minutes of quiet it naps, and when a rate-limit window passes 80% it tears up. /pet pat gets you hearts and a purr. It grows with you. Tool calls, finished turns, pats and output tokens give XP (only output tokens, since input and cache grow with conversation length, not with work done). Level n+1 takes 25 × n² XP, so you'll hit Lv 5 in an evening and it slows down from there. At Lv 15 it becomes a teen with an accessory, and at Lv 40 it evolves. Then I got carried away. It picks up a personality from how you use it: mostly tools and it's a worker that holds up a laptop (and swings a pickaxe as an adult), mostly long turns and it's a scholar that stops to read, lots of pats and it's a sweetie, lots of game snacks and it's a gamer. That's also the form it evolves into, and one in twenty gets a rare one instead. The yard slowly fills in to match, a building site or a library corner or a garden, and follows your clock from morning sun to moon and stars. Every so often a finished turn drops a gift, and one new pet in 32 shows up shiny. There are even two tiny games, /pet play and /pet quest , for when you're waiting on a long task. No hunger, no decay, no dying. The whole point is to make the coding environment a bit cozier, not to give you one more thing to feel guilty about. /plugin marketplace add uppinote20/claude-pets /plugin install pets@claude-pets Then /pet to let it out. There are eight critters (cat, chick, dog, slime, bunny, hamster, penguin, frog). For anyone curious: the whole thing is one register.tsx reacting to session events, drawn as half-block characters in the terminal and as an SVG card on desktop and mobile. I built it over about three days of Claude Code sessions (58 commits, 19 PRs), which says more about my self-control than anything. The mods API is early access, so a Claude Code update might break it until I catch up. I've mostly lived with it in the terminal, so if the card looks off on desktop, VS Code or mobile I'd really like to know. A new species is just a 12×12 and an 8×8 sprite written as string arrays, so new critters as PRs would make my day. https://github.com/uppinote20/claude-pets submitted by /u/uppinote [link] [comments]

View original source ↗

Similar projects