code-pet Claude Code mod

Shows a pixel companion that reacts to session activity.

  • session.start
  • command.run
  • prompt.submit
  • tool.call
  • turn.complete
  • ui.render

Install commands

Enter these two lines in the Claude Code prompt, in order.

1. Add marketplace   2. Install plugin
/plugin marketplace add OneWave-AI/claude-code-mods
/plugin install code-pet@claude-code-mods

Review the source before installing. Installation guide →

Permissions Facts

Can read files
–
Can write files
–
Can access the network
–
Can read environment variables
–
Can change prompts
Yes
Can intercept tool calls
Yes

Capability evidence is not a security certification; “–” does not mean a capability is absent.

Source & updates

Last updated
2026-10-03
License
MIT
Plugin version
0.1.0
Claude Code
2.1.287+
Source
e6da26c
Repository stars
7 · Repository contains 11 mods in this directory
Source files
Plugin manifest ↗Hooks configuration ↗Registered module ↗Marketplace manifest ↗

Source inventory

Declared events: session.start | command.run{command=pet} | prompt.submit | tool.call | turn.complete | ui.render{component=Pane | requestId=code-pet}

Declared API calls: $.clock.after (via runDemo) | $.clock.every | $.clock.now | $.command.register | $.state.get | $.state.set | $.store.get (via hatch) | $.store.set (via save) | $.ui.blit (via startAnim) | $.ui.open | $.ui.resolve | $.ui.status | $.ui.toast (via happen | hatch)

Can change prompts evidence

code-pet:209 ↗

on('prompt.submit', async ($, e, next) => {

Can intercept tool calls evidence

code-pet:214 ↗

on('tool.call', async ($, e, next) => {

Review methodology · Source and updates · Runtime limits · Function hooks guide