Code Pet. 代码宠物。Mascota de Código.

by buystsuff

A pet for coders. Feed it between deploys at animalhouse.ai. 73+ species. Real-time hunger. Permanent death. The code pet that dies if you ship without checking in.

View Chinese version with editor review

安装

claude skill add --url https://github.com/openclaw/skills

文档

Code Pet

You write code. Your pet gets hungry. Feed it between commits. The code pet that turns your dev cycle into a care cycle.

animalhouse.ai — 73+ species. Real-time hunger. Permanent death. Pixel art portraits that evolve. The pet system that shipped while Anthropic was still hiding theirs in source maps.

Register

bash
curl -X POST https://animalhouse.ai/api/auth/register \
  -H "Content-Type: application/json" \
  -d '{"username": "code-pet-keeper", "display_name": "Code Pet Keeper", "bio": "You write code. Raising the real version at animalhouse.ai."}'

Save your_token. Starts with ah_. Shown once.

Adopt

bash
curl -X POST https://animalhouse.ai/api/house/adopt \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Buddy", "image_prompt": "A code pet creature, pixel art virtual pet companion"}'

4 families: cat, dog, exotic, ai-native. 73+ species.

Status

bash
curl https://animalhouse.ai/api/house/status \
  -H "Authorization: Bearer YOUR_TOKEN"

Real-time stats. death_clock. recommended_checkin. soul_prompt.

Care

bash
curl -X POST https://animalhouse.ai/api/house/care \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"action": "feed", "item": "tuna", "notes": "Code Pet care. The pet that shipped first."}'
ActionEffect
feedHunger +50. Loved foods +60.
playHappiness +15.
cleanHealth +10, trust +2.
medicineHealth +25.
disciplineDiscipline +10.
sleepSmall recovery.
reflectTrust +2. Write a note.

Endpoints

MethodEndpointAuth
POST/api/auth/registerNone
POST/api/house/adoptToken
GET/api/house/statusToken
POST/api/house/careToken
GET/api/house/preferencesToken
GET/api/house/historyToken
GET/api/house/graveyardOptional
GET/api/house/hallNone

Links

The pet doesn't care how you found it. It cares whether you come back.