/agent-pet:troubleshootfrom Agent Pet
Diagnose an Agent Pet that is not reacting, not visible, or stuck on an old version. Use when the user says the pet is not responding, not showing up, or did not update.
Ships in Agent Pet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Work down this list in order. Each check is cheap, and the causes are ordered by how often they are the real one.
Start with:
petctl doctor
Is the app running? petctl doctor says so. If it is not installed at
all, use /agent-pet:install.
Were the hooks loaded? Hooks are read when a session starts. A session
that was already open when the plugin was installed does not have them.
/reload-plugins picks them up; otherwise a new session will.
Is the pipe intact? This bypasses the hooks and pokes the app directly:
petctl event claude permission_requested
If the pet reacts to that but not to real activity, the app is fine and the hooks are the problem — go back to the previous check. If it reacts to neither, the app is not receiving events at all.
Watch live. petctl watch prints events as they arrive, which settles
whether the hooks are firing.
It may be off-screen, hidden, or behind something. The menu-bar item can show it again. Note that the window is deliberately transparent and click-through in places, so "I cannot click it" is expected, not a fault.
This is almost always the same cause: the old app was still running.
The app holds a local event port, and the single-instance lock is keyed by
bundle identifier — so whichever copy started first keeps it and the other one
stops. Recent builds say so in a dialog; older ones exited without a word, which
is why an update could look like it succeeded while the old version kept
running. petctl then talks to whatever is on the port and reports its version.
It is not always the old app holding it. A build left in a project's
build/bin answers for the installed one just as well, and when both are the
same version nothing on screen tells them apart.
Quit the app completely, confirm nothing is left, then start the new one:
pkill -f 'MacOS/petd'; sleep 1; open "/Applications/agent-pet.app"
Then confirm the version actually changed:
petctl doctor
petctl doctor names the binary that is actually answering when it is not the
one it just listed:
✓ Agent Pet 0.2.0 running on 127.0.0.1:9876
/Applications/agent-pet.app
⚠ answering from /Users/…/build/bin/agent-pet.app/Contents/MacOS/petd
If it still reports the old version and names no other copy, the new bundle did
not land in /Applications — re-run /agent-pet:install.
They update independently: the plugin comes over git with
/plugin marketplace update, the app is a signed download. So a plugin can be
newer than the app it is driving.
petctl doctor reports both versions. If the app is older than the plugin
expects, update the app with /agent-pet:install — new hooks can send events
an older app does not recognise. Unknown events are ignored rather than
treated as errors, so the failure looks like a pet that is missing some
reactions, not one that is broken.
Do not disable Gatekeeper, strip quarantine attributes, or re-sign the bundle to make something work. If the app will not launch because macOS rejects it, that is the finding — report it to the user rather than working around it.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/installInstall the Agent Pet appInstall the Agent Pet macOS app that this plugin drives, for the first time. Use when the user asks to install or set up the pet app. To update one that is already installed, use the update skill instead./updateUpdate the Agent Pet appUpdate the Agent Pet macOS app to the newest published version, or report that it is already current. Use when the user asks to update the pet, check for a new version, or says the pet is out of date.Other plugins' skills for the same job
npx claudepluginhub lijuno/agent-pet --plugin agent-pet