Skip to content
Skill

openpet

by mdealiaga

AI Summary

OpenPet is a Tamagotchi-style virtual pet game for chat platforms that lets users create and care for evolving digital pets across Discord, WhatsApp, Telegram, and other platforms. Bot developers and community managers can use it to add engaging, interactive gameplay to their messaging apps.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "openpet" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/openpet && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openpet/SKILL.md "https://raw.githubusercontent.com/mdealiaga/openpet/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Virtual pet (Tamagotchi-style) game for chat platforms. Triggers on pet commands like "feed pet", "pet status", "play with pet", "name pet", "pet sleep", "new pet". Supports multi-user across Discord, WhatsApp, Telegram, etc. Each user gets their own pet that evolves based on care.

OpenPet

Virtual pet game. Each user gets one pet, tracked by {platform}_{userId}.

State

Pets stored in tamagotchi/pets/{platform}_{userId}.json: `json { "name": "Blobby", "species": "blob", "hunger": 30, "happiness": 70, "energy": 50, "age": 5, "born": "2026-02-01T12:00:00Z", "lastUpdate": 1738442780000, "alive": true, "evolution": 1, "totalFeedings": 12, "totalPlays": 8, "ownerId": "202739061796896768", "platform": "discord", "ownerName": "mattzap" } ` Create tamagotchi/pets/ directory if missing.

Commands

| Trigger | Action | |---------|--------| | pet, pet status | Show stats + ASCII art | | feed pet | hunger -30, happiness +5 | | play with pet | happiness +25, energy -20 | | pet sleep | energy +40, happiness +5 | | name pet [name] | Set pet name | | new pet | Reset (only if dead or confirm) | | pet help | Show commands |

New User Flow

• Any pet command from unknown user → create egg • First interaction → hatch to blob • Show welcome message + commands

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code