What is code-pet?
code-pet is a Claude Code mod by Alyan-khattak that a tiny ASCII pet above your prompt (=^.^=) that cheers when tests pass, worries when commands fail, naps when you are idle, and levels up as you work. It is listed under While you wait and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Alyan-khattak |
| Repository | Alyan-khattak/Claude-Code-Mods |
| Popularity | no public popularity data yet |
| Category | While you wait |
| Security | Low risk (88/100) |
| Rank | #2,581 of 5,272 Claude Code mods; #80 in While you wait |
| License | MIT |
| Last commit | 2026-10-08 |
| Hooks | 6 events |
| Sees | every tool call |
| Draws on | AbovePrompt |
Is code-pet safe to install?
code-pet scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install code-pet?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Alyan-khattak/Claude-Code-Mods claude plugin validate ./Claude-Code-Mods/code-pet
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Alyan-khattak/Claude-Code-Mods && claude plugin install code-pet@alyan-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs code-pet for you:
Install the "code-pet" Claude Code mod from https://github.com/Alyan-khattak/Claude-Code-Mods/tree/master/code-pet. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Alyan-khattak/Claude-Code-Mods
This repository has at least 9 Claude Code mods on MCPMods.
- agent-dock: Live panel showing parallel helper agents — set team size, watch cards fill in real-time (High risk)
- blast-radius: Holds destructive shell commands, shows what they would delete or overwrite, and asks Proceed or Cancel. (Review before installing)
- clean-view: Hides tool rows and shows a plain-English checklist above the prompt. Start with /simple on. (Low risk)
- files-seen: A live list of every file Claude read or edited this session, in a pane and the status line. (Low risk)
- limit-meter: Your plan's 5-hour and weekly usage limits above the prompt: percent used, time to reset, used today, with warnings at 7 (Low risk)
- replay-theater: Records every edit Claude makes in a turn and lets you step through the diffs with /replay. (Low risk)
- road-trip: A top-down driving game above the prompt. Task coins rain in as Claude works. /roadtrip to play. (Low risk)
- session-journal: Writes a markdown log of every prompt, changed file and command to .claude/journal, with a /standup summary. (Review before installing)