← Back to Skills Marketplace
wittfan

数字宠物

by WittFan · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
434
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install digital-pet
Description
数字宠物 - 一个可爱的 3D 拉布布(Labubu)数字宠物,支持互动喂食、玩耍、抚摸。用于:(1) 桌面宠物陪伴,(2) 3D 互动展示,(3) 宠物养成游戏。
README (SKILL.md)

🐰 数字宠物 - Digital Pet

一个可爱的 3D 拉布布(Labubu)数字宠物,可以在网页中互动!

✨ 功能特性

3D 模型

  • 🎨 高精细度 Labubu 模型
  • 🐰 兔耳朵 + 大眼睛 + 尖牙齿
  • 💚 经典棕绿色毛发
  • ⭕ 圆滚滚的梨形身材

互动系统

  • 🍎 喂食 - 增加饱食度
  • 🎾 玩耍 - 增加心情
  • 👋 抚摸 - 宠物会开心跳跃
  • 🖱️ 鼠标跟随 - 耳朵跟随鼠标

状态系统

  • ❤️ 心情
  • 🍖 饱食度
  • ⚡ 活力

🚀 使用方法

python3 scripts/serve.py
# 访问 http://localhost:8888

🎮 操作指南

  • 鼠标移动 - 耳朵跟随
  • 点击宠物 - 抚摸
  • 喂食按钮 - 喂食
  • 玩耍按钮 - 玩耍
  • 抚摸按钮 - 抚摸

📝 提示

  • 饱食度会随时间下降
  • 玩耍消耗活力
  • 经常互动保持好心情

🛠️ 技术栈

  • Three.js
  • JavaScript
  • Python

Made with 💚

Usage Guidance
This package appears to be a local desktop/browser 3D pet and is internally consistent with that purpose. Before running: (1) note the Python desktop app requires PyQt5 and PyQtWebEngine (pip install PyQt5 PyQtWebEngine) and will create an always-on-top, frameless window that follows the mouse — consider running it in a VM or disposable environment if you are cautious; (2) the front-end loads Three.js from a CDN so Internet access is needed for the demo; (3) I observed likely bugs where scripts (serve.py and desktop_pet.py) construct paths using the scripts/ directory rather than the repository root — you may need to run from a particular working directory or move files for the server/desktop app to find pet_widget.html/index.html; (4) desktop_pet exposes a WebChannel bridge (pybridge) so JavaScript can call limited Python methods (moveToMouse/log); currently these methods are simple and intended for UI control, but if you modify the files be careful not to expose sensitive APIs to web content; (5) there are no requested credentials or obvious exfiltration endpoints in the provided files. If you want higher assurance, run the app in a sandbox, inspect pet_widget.html/index.html for any remote URLs beyond the three.js CDN, and fix the path assumptions in the scripts so the server serves the intended HTML assets.
Capability Analysis
Type: OpenClaw Skill Name: digital-pet Version: 1.0.0 The skill bundle is classified as suspicious due to the `scripts/desktop_pet.py` component. This Python script uses `PyQt5` and `QWebEngineView` to create a desktop pet, exposing a `PetBridge` object to JavaScript via `QWebChannel`. The `PetBridge` includes a `moveToMouse(x, y)` method, allowing JavaScript to directly control the desktop window's position. While the provided `pet_widget.html` does not actively utilize this method for its primary movement logic (which is handled by Python's `updatePosition` based on `QCursor.pos()`), exposing direct window manipulation to a webview creates a potential vulnerability. If the `pet_widget.html` were compromised (e.g., via XSS or by loading untrusted remote content), an attacker could potentially move the application window arbitrarily on the user's screen, including off-screen to hide it, or to cover other UI elements. This is a risky capability without clear malicious intent, aligning with the 'suspicious' classification.
Capability Assessment
Purpose & Capability
Name/description (3D interactive desktop pet) align with the provided JS and Python files. The Python desktop app (PyQt5 WebEngine) and the Three.js front-end are appropriate for the stated purpose. Note: some file path choices (see instruction/serve behavior below) look inconsistent with the repository layout, indicating an implementation bug rather than a capability mismatch.
Instruction Scope
SKILL.md only instructs running the local server (python3 scripts/serve.py) and interacting locally via the browser. The runtime instructions do not ask the agent to read unrelated system files, environment variables, or network secrets. The code likewise focuses on local UI and WebView interactions.
Install Mechanism
No install spec is present (instruction-only skill), and the provided files are client-side JS and Python. There are no downloads from external release URLs or archives in the manifest. The front-end pulls Three.js from a CDN, which is normal for a web demo.
Credentials
The skill requires no environment variables or credentials. The Python desktop app uses local OS features (window, mouse position) which are necessary for a desktop pet; no unrelated secrets or external tokens are requested.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or global agent config. The desktop app will create a persistent always-on-top window (by design) but this is limited to the user's session and relates to the stated purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install digital-pet
  3. After installation, invoke the skill by name or use /digital-pet
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始发布:3D 拉布布数字宠物,支持喂食、玩耍、抚摸互动和声音反馈
Metadata
Slug digital-pet
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 数字宠物?

数字宠物 - 一个可爱的 3D 拉布布(Labubu)数字宠物,支持互动喂食、玩耍、抚摸。用于:(1) 桌面宠物陪伴,(2) 3D 互动展示,(3) 宠物养成游戏。 It is an AI Agent Skill for Claude Code / OpenClaw, with 434 downloads so far.

How do I install 数字宠物?

Run "/install digital-pet" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 数字宠物 free?

Yes, 数字宠物 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 数字宠物 support?

数字宠物 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 数字宠物?

It is built and maintained by WittFan (@wittfan); the current version is v1.0.0.

💬 Comments