Claude Code status line
Ccpet
A virtual pet for your Claude Code status line.
Install
npm install -g ccpetFound in the project README. Check it for setup steps after installing.
git clone https://github.com/terryso/ccpet.gitFrom the README
ccpet 简体中文 / Chinese | 🏆 Web Leaderboard A virtual pet for your Claude Code status line. The pet's energy decays over time, increases when you consume tokens, and persists across sessions. Features - 🐾 Virtual Pet System - Energy-based pet that responds to your Claude Code usage - Time-based decay (~0.0231 per minute, ~3 days from 100 → 0) - Feeding via token usage (1,000,000 tokens = +1 energy) - 🎭 Animated Expressions based on energy levels - HAPPY (≥80): (^_^) (^o^) (^_^) (^v^) - Your pet is thriving! - HUNGRY (≥40): (o_o) (O_O) (o_o) (-_-) - Needs some attention - SICK (≥10): (u_u) (T_T) (u_u) (>_<) - Time to feed your pet - DEAD (<10): (x_x) (X_X) (x_x) (+_+) - Your pet needs urgent care! - 📊 Rich Status Display - Colorful energy bar with precise energy values - Accumulated tokens and lifetime statistics - Real-time session metrics (input/output/cached/total) - Pet birth time tracking for lifecycle management - ⚙️ Configurable & Persistent - Customizable colors and decay rates - State persists across Claude Code sessions Installation & Setup Quick Start To use ccpet as your Claude Code status line, add this to your ~/.claude/settings.json: Alternative: Global Installation For better performance, you can install globally: Then update your settings to use the global path. CLI Commands Basic Usage Pet Management Commands Check Command Use ccpet check to: - ✅ Check pet status without consuming tokens - ✅ See time since last feeding - ✅ Monitor energy levels between sessions - ✅ NEW: Continuous monitoring with real-time updates - ✅ NEW: Clean countdown display - ✅ NEW: Customizable refresh intervals (10-300 seconds) Configuration Command Reset Command Use ccpet reset to: - ✅ Manually trigger the pet death and…
How status lines work
- A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
- Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
- Or run /statusline inside Claude Code and describe what you want.
Details
- Repository
- terryso/ccpet
- Type
- Status lines
- Website
- ccpet.surge.sh
- Language
- TypeScript
- License
- MIT
- Last updated
- 30 August 2025
- Topics
- ccpetclaude-codepetvirtual-pet
FAQ
What is Ccpet?
A virtual pet for your Claude Code status line. It is a status line for Claude Code, from terryso/ccpet on GitHub.
How do I install Ccpet?
Run npm install -g ccpet, then follow the setup in the README.
Is Ccpet popular?
terryso/ccpet has 64 GitHub stars and 5 forks. It was last updated on 30 August 2025.
More status lines
claude-usage-line
40canack/claude-usage-line
A status line with rate limits, git branch, cost and diff stats.
which-claude-code
33jbarbier/which-claude-code
Adds auto-generated session titles and a distinct colour per session to the status line.
Headroom
70henchmarketing-rgb/headroom
Know your headroom. Context window usage bar for Claude Code.
Claude Statusline
54videvjs/claude-statusline
Custom status line for Claude Code — folder, git branch, model, context & rate limits
Claude Code Status Line
65shanraisshan/claude-code-status-line
A custom status line script for Claude Code that displays context window usage, git status, and model information.
CC-Statusline-Builder
34denki-san/CC-Statusline-Builder
A web-based builder where you pick a status line theme and copy a one-line install command.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.