What is pet-mod?
pet-mod is a Claude Code mod by EmmaNguyen that tells the floating Mochi app what each Claude chat is doing. It is listed under While you wait and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | EmmaNguyen |
| Repository | EmmaNguyen/mod-pet |
| Popularity | 1 GitHub stars |
| Category | While you wait |
| Security | High risk (48/100) |
| Rank | #1,770 of 5,272 Claude Code mods; #62 in While you wait |
| License | MIT |
| Last commit | 2026-10-18 |
| Hooks | 9 events |
| Sees | classic hooks, every prompt, every tool call |
| Draws on | nothing |
Is pet-mod safe to install?
pet-mod scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 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 processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.state.get | |
$.state.set |
How do I install pet-mod?
- 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/EmmaNguyen/mod-pet claude plugin validate ./mod-pet/pet-mod
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add EmmaNguyen/mod-pet && claude plugin install pet-mod@mochi
Or ask Claude to set it up
Paste this into Claude Code and it installs pet-mod for you:
Install the "pet-mod" Claude Code mod from https://github.com/EmmaNguyen/mod-pet/tree/main/pet-mod. Run claude plugin validate on it first and show me what it can access before you enable it.