---
title: "CodePuff：一只面向 Claude Code 的像素艺术宠物，展示代理真正在做什么"
url: "https://claudemods.dev/zh-cn/builds/codepuff-a-pixel-art-pet-for-claude-code-that-shows-what-the-c99067"
source: "https://github.com/luizbizzio/codepuff"
source_type: "github"
repo: "https://github.com/luizbizzio/codepuff"
author: "Foxythefox2017"
author_handle: "Foxythefox2017"
stars: 5
category: "仪表盘与 HUD"
categories: ["hud"]
tags: ["agent-status", "cost-tracking", "hooks", "pixel-art", "session-stats"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add luizbizzio/codepuff\nclaude plugin install codepuff@codepuff"
added: "2026-11-30T00:56:11.115Z"
updated: "2026-11-25T18:36:08Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# CodePuff：一只面向 Claude Code 的像素艺术宠物，展示代理真正在做什么

一个 Claude Code 插件，在提示词上方放置一只像素艺术宠物，并根据真实钩子事件播放动画，还提供会话统计、套餐限制显示、外观和可选音效。

## Description

CodePuff 是一个开源 Claude Code 插件，通过一只由钩子事件驱动的像素艺术宠物来可视化代理活动，这些事件包括读取、搜索、编辑、运行测试、使用 git 或 MCP 工具，以及委派给子代理。它还会跟踪会话统计和成本估算，显示套餐限制，并包含外观解锁、休息提醒和音效。

## Install

```
claude plugin marketplace add luizbizzio/codepuff
claude plugin install codepuff@codepuff
```

## Original README

A blinking cursor tells you nothing during a long agent run. CodePuff is a Claude Code plugin that puts a small pixel-art pet above your prompt. It animates from real hook events (reading, searching, editing, running tests, using git or MCP tools, delegating to subagents, waiting for you). It only celebrates when a test run actually exits with code 0, and it shows the error face only when a tool really failed.

https://preview.redd.it/5paoxo2cs24i1.png?width=971&format=png&auto=webp&s=3f51872130fe2e8e791fe9da6445a87965ff195b

**What else it does**

* Tracks stats across sessions: prompts, tool calls, files changed, tests, commits, streaks and the session cost estimate
* Shows your 5-hour and weekly plan limits under the band
* 8 characters, 14 palettes, accessories and achievement badges that unlock cosmetics
* 14 languages, picked automatically
* Optional break reminders and sounds

**How Claude helped**

The project was built with Claude Code. It helped with development and tests, with the pet models, with organizing the UI and the logic, and with some of the ideas. Design decisions and code review were done by the author.

**Free and private**

Free and open source (Apache-2.0). No paid tier, no account, no telemetry, no network code, zero dependencies. It stores only counters in `~/.codepuff`, never prompts, code or file paths.

**Install**

    /plugin marketplace add luizbizzio/codepuff
    /plugin install codepuff@codepuff

[https://github.com/luizbizzio/codepuff](https://github.com/luizbizzio/codepuff)

Notes: it also works with OpenAI Codex, with fewer details because Codex doesn't report how a tool call ended. It's not affiliated with Anthropic. Most of the character art comes from images created with an AI image generator, and the "Claude" character is an unofficial fan design. The Claude Code mod has only been tested by hand on Windows so far, so feedback from macOS and Linux users is very welcome.
