# Send OpenPet to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openpet",
    "name": "OpenPet",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/mdealiaga/openpet",
    "canonicalUrl": "https://clawhub.ai/mdealiaga/openpet",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openpet",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openpet",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/config.json",
      "references/sprites.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openpet",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T21:40:09.636Z",
      "expiresAt": "2026-05-07T21:40:09.636Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openpet",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openpet",
        "contentDisposition": "attachment; filename=\"openpet-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openpet"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openpet"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openpet",
    "downloadUrl": "https://openagent3.xyz/downloads/openpet",
    "agentUrl": "https://openagent3.xyz/skills/openpet/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openpet/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openpet/agent.md"
  }
}
```
## Documentation

### OpenPet

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

### State

Pets stored in tamagotchi/pets/{platform}_{userId}.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

TriggerActionpet, pet statusShow stats + ASCII artfeed pethunger -30, happiness +5play with pethappiness +25, energy -20pet sleepenergy +40, happiness +5name pet [name]Set pet namenew petReset (only if dead or confirm)pet helpShow commands

### New User Flow

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

### Stats Display

╭──────────╮
    │ (◕‿◕)    │
    │   ♥      │
    │ "Name"   │
    ╰──────────╯
    
 ❤️ Happiness: ████████░░░░  70%
 🍖 Hunger:    ███░░░░░░░░░  30%
 ⚡ Energy:    █████░░░░░░░  50%

Use sprites from references/sprites.json. Mood = happy (≥70), neutral (40-69), sad (<40).

### Evolution

StageRequirementegg → blobFirst interactionblob → catage ≥10, feedings ≥15, plays ≥10cat → dragonage ≥30, feedings ≥50, plays ≥40

Check evolution after each interaction. Announce with fanfare.

### Death

Pet dies if: hunger ≥ 100 OR happiness ≤ 0

BUT if immortalMode: true in config, pets don't die — they just get very sad and hungry. Stats cap at 99/1 instead of triggering death. Default is immortal mode ON.

Show memorial (if death enabled), offer new pet to restart.

### Decay (Cron)

Set up cron job openpet-tick every 2 hours:

hunger +15, happiness -10, energy -5
Clamp all stats 0-100
Check death conditions
Alert owner if critical (hunger >80 or happiness <20)
Increment age daily

### Platform Detection

Extract from message context:

Discord: discord_{userId}
WhatsApp: whatsapp_{phoneNumber}
Telegram: telegram_{chatId}
Signal: signal_{uuid}

### Alerts

Send to user's origin platform when:

Pet is hungry (>80): "🍖 {name} is starving!"
Pet is sad (<20): "😢 {name} misses you!"
Pet died: "💀 {name} has passed away..."
Evolution: "✨ {name} evolved into a {species}!"
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mdealiaga
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T21:40:09.636Z
- Expires at: 2026-05-07T21:40:09.636Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openpet)
- [Send to Agent page](https://openagent3.xyz/skills/openpet/agent)
- [JSON manifest](https://openagent3.xyz/skills/openpet/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openpet/agent.md)
- [Download page](https://openagent3.xyz/downloads/openpet)