{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openpet",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openpet",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/config.json",
      "references/sprites.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openpet",
    "agentPageUrl": "https://openagent3.xyz/skills/openpet/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openpet/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openpet/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenPet",
        "body": "Virtual pet game. Each user gets one pet, tracked by {platform}_{userId}."
      },
      {
        "title": "State",
        "body": "Pets stored in tamagotchi/pets/{platform}_{userId}.json:\n\n{\n  \"name\": \"Blobby\",\n  \"species\": \"blob\",\n  \"hunger\": 30,\n  \"happiness\": 70,\n  \"energy\": 50,\n  \"age\": 5,\n  \"born\": \"2026-02-01T12:00:00Z\",\n  \"lastUpdate\": 1738442780000,\n  \"alive\": true,\n  \"evolution\": 1,\n  \"totalFeedings\": 12,\n  \"totalPlays\": 8,\n  \"ownerId\": \"202739061796896768\",\n  \"platform\": \"discord\",\n  \"ownerName\": \"mattzap\"\n}\n\nCreate tamagotchi/pets/ directory if missing."
      },
      {
        "title": "Commands",
        "body": "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"
      },
      {
        "title": "New User Flow",
        "body": "Any pet command from unknown user → create egg\nFirst interaction → hatch to blob\nShow welcome message + commands"
      },
      {
        "title": "Stats Display",
        "body": "╭──────────╮\n    │ (◕‿◕)    │\n    │   ♥      │\n    │ \"Name\"   │\n    ╰──────────╯\n    \n ❤️ Happiness: ████████░░░░  70%\n 🍖 Hunger:    ███░░░░░░░░░  30%\n ⚡ Energy:    █████░░░░░░░  50%\n\nUse sprites from references/sprites.json. Mood = happy (≥70), neutral (40-69), sad (<40)."
      },
      {
        "title": "Evolution",
        "body": "StageRequirementegg → blobFirst interactionblob → catage ≥10, feedings ≥15, plays ≥10cat → dragonage ≥30, feedings ≥50, plays ≥40\n\nCheck evolution after each interaction. Announce with fanfare."
      },
      {
        "title": "Death",
        "body": "Pet dies if: hunger ≥ 100 OR happiness ≤ 0\n\nBUT 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.\n\nShow memorial (if death enabled), offer new pet to restart."
      },
      {
        "title": "Decay (Cron)",
        "body": "Set up cron job openpet-tick every 2 hours:\n\nhunger +15, happiness -10, energy -5\nClamp all stats 0-100\nCheck death conditions\nAlert owner if critical (hunger >80 or happiness <20)\nIncrement age daily"
      },
      {
        "title": "Platform Detection",
        "body": "Extract from message context:\n\nDiscord: discord_{userId}\nWhatsApp: whatsapp_{phoneNumber}\nTelegram: telegram_{chatId}\nSignal: signal_{uuid}"
      },
      {
        "title": "Alerts",
        "body": "Send to user's origin platform when:\n\nPet is hungry (>80): \"🍖 {name} is starving!\"\nPet is sad (<20): \"😢 {name} misses you!\"\nPet died: \"💀 {name} has passed away...\"\nEvolution: \"✨ {name} evolved into a {species}!\""
      }
    ],
    "body": "OpenPet\n\nVirtual pet game. Each user gets one pet, tracked by {platform}_{userId}.\n\nState\n\nPets stored in tamagotchi/pets/{platform}_{userId}.json:\n\n{\n  \"name\": \"Blobby\",\n  \"species\": \"blob\",\n  \"hunger\": 30,\n  \"happiness\": 70,\n  \"energy\": 50,\n  \"age\": 5,\n  \"born\": \"2026-02-01T12:00:00Z\",\n  \"lastUpdate\": 1738442780000,\n  \"alive\": true,\n  \"evolution\": 1,\n  \"totalFeedings\": 12,\n  \"totalPlays\": 8,\n  \"ownerId\": \"202739061796896768\",\n  \"platform\": \"discord\",\n  \"ownerName\": \"mattzap\"\n}\n\n\nCreate tamagotchi/pets/ directory if missing.\n\nCommands\nTrigger\tAction\npet, pet status\tShow stats + ASCII art\nfeed pet\thunger -30, happiness +5\nplay with pet\thappiness +25, energy -20\npet sleep\tenergy +40, happiness +5\nname pet [name]\tSet pet name\nnew pet\tReset (only if dead or confirm)\npet help\tShow commands\nNew User Flow\nAny pet command from unknown user → create egg\nFirst interaction → hatch to blob\nShow welcome message + commands\nStats Display\n    ╭──────────╮\n    │ (◕‿◕)    │\n    │   ♥      │\n    │ \"Name\"   │\n    ╰──────────╯\n    \n ❤️ Happiness: ████████░░░░  70%\n 🍖 Hunger:    ███░░░░░░░░░  30%\n ⚡ Energy:    █████░░░░░░░  50%\n\n\nUse sprites from references/sprites.json. Mood = happy (≥70), neutral (40-69), sad (<40).\n\nEvolution\nStage\tRequirement\negg → blob\tFirst interaction\nblob → cat\tage ≥10, feedings ≥15, plays ≥10\ncat → dragon\tage ≥30, feedings ≥50, plays ≥40\n\nCheck evolution after each interaction. Announce with fanfare.\n\nDeath\n\nPet dies if: hunger ≥ 100 OR happiness ≤ 0\n\nBUT 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.\n\nShow memorial (if death enabled), offer new pet to restart.\n\nDecay (Cron)\n\nSet up cron job openpet-tick every 2 hours:\n\nhunger +15, happiness -10, energy -5\nClamp all stats 0-100\nCheck death conditions\nAlert owner if critical (hunger >80 or happiness <20)\nIncrement age daily\nPlatform Detection\n\nExtract from message context:\n\nDiscord: discord_{userId}\nWhatsApp: whatsapp_{phoneNumber}\nTelegram: telegram_{chatId}\nSignal: signal_{uuid}\nAlerts\n\nSend to user's origin platform when:\n\nPet is hungry (>80): \"🍖 {name} is starving!\"\nPet is sad (<20): \"😢 {name} misses you!\"\nPet died: \"💀 {name} has passed away...\"\nEvolution: \"✨ {name} evolved into a {species}!\""
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mdealiaga/openpet",
    "publisherUrl": "https://clawhub.ai/mdealiaga/openpet",
    "owner": "mdealiaga",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}