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-modsReview the source before installing. Installation guide →
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
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
on('prompt.submit', async ($, e, next) => {Can intercept tool calls evidence
on('tool.call', async ($, e, next) => {Review methodology · Source and updates · Runtime limits · Function hooks guide