explaingit

zzp1221/claude-code-pet

24RustAudience · vibe coderComplexity · 1/5Setup · easy

TLDR

A Windows desktop app that places an animated pet character on your screen while you use Claude Code, the pet bounces when the AI is working, sits still when idle, and pops up a speech bubble when it needs your approval.

Mindmap

mindmap
  root((repo))
    What It Does
      Animated pet overlay
      Reacts to Claude Code state
      Permission bubbles
    Tech Stack
      Rust
      Tauri
      React
    Features
      Custom pet creation
      Codex pet import
      Slash command control
    Setup
      Windows installer
      No Rust or Node needed
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

See at a glance whether Claude Code is working, idle, or waiting for your approval, without watching the terminal.

USE CASE 2

Create a custom animated pet by typing a description like 'tiny moon rabbit with a brass staff' into the /pet command inside Claude Code.

USE CASE 3

Reuse Codex pet packages you already own, the companion auto-imports them on startup without any manual copying.

Tech stack

RustTauriReact

Getting it running

Difficulty · easy Time to first run · 5min
License not mentioned in the explanation.

In plain English

Claude Pet Companion is a Windows desktop app that places an animated character on your screen while you work with Claude Code, the AI coding tool. The character watches what Claude Code is doing and plays different animations depending on the situation: it bounces around when a task is running, sits still when idle, and shows a speech bubble when Claude Code needs you to approve or deny a permission request. The bubble also briefly summarizes what it is asking to do, so you can make the decision without looking at the terminal. You control the pet through a right-click menu on the floating window, or by typing the slash command /pet inside Claude Code. The command can also describe a pet you want made, such as "make a tiny moon rabbit with a brass staff," and Claude Code will walk through a creation workflow to produce a new pet package for you. Pets are stored as a small folder containing a sprite sheet image and a JSON config file, and you can import custom ones through the same menu. The tool is compatible with Codex-style pet packages. If you have pets installed from a Codex setup, the companion scans that folder on startup and copies valid entries into its own pets directory, so the same characters show up in both tools without any manual work. Under the hood, Claude Code's hook system writes a small JSON file whenever its state changes. The pet app, built with Tauri and React, polls that file and picks the right animation row from the active sprite sheet. This design means the pet never interferes with Claude Code's own output or terminal display. Installation is a standard Windows installer downloaded from the releases page. You do not need Rust or Node.js to use it. Running the app for the first time sets up the hooks, creates the /pet command, and copies itself to a stable location so everything keeps working if the original installer file is moved or deleted.

Copy-paste prompts

Prompt 1
I have Claude Code Pet installed on Windows. How do I use the /pet slash command inside Claude Code to create a custom pet described as a tiny moon rabbit with a brass staff?
Prompt 2
Claude Code Pet shows a speech bubble when Claude Code needs permission to do something. What information appears in the bubble, and how do I approve or deny without looking at the terminal?
Prompt 3
I have existing Codex pet packages installed. How does Claude Code Pet automatically find and import them, and where does it store the copies?
Prompt 4
Help me build a custom pet package from scratch: what images go in the sprite sheet, and what needs to be in the JSON config file so Claude Code Pet can load and animate it?
Open on GitHub → Explain another repo

← zzp1221 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.