/install clawpet
clawpet — OpenClaw Pet Companion 🐾
Use this skill when the user wants to adopt a pet, check pet status, interact with the pet, or send a pet image. Pet status includes passive time-based updates, so each check-in can reflect elapsed time.
Typical triggers
- "我想養一隻貓"
- "我的寵物今天狀態如何?"
- "幫我餵牠"
- "讓牠拍一張照"
Command reference
1) List pets
bash {baseDir}/scripts/clawpet.sh pets
2) Adopt a pet
bash {baseDir}/scripts/clawpet.sh adopt momo
3) Check current status
bash {baseDir}/scripts/clawpet.sh status
4) Interact with pet
bash {baseDir}/scripts/clawpet.sh interact feed
bash {baseDir}/scripts/clawpet.sh interact play
bash {baseDir}/scripts/clawpet.sh interact rest
5) Generate image prompt
bash {baseDir}/scripts/clawpet.sh prompt
bash {baseDir}/scripts/clawpet.sh prompt --place "sunny window" --style "photorealistic, professional pet photography"
Outputs the full image generation prompt text. Default style is photorealistic.
6) Auto care
bash {baseDir}/scripts/clawpet.sh care
bash {baseDir}/scripts/clawpet.sh care --action feed
Agent behavior guidance
Basic interactions
- Always call
bash {baseDir}/scripts/clawpet.sh ...to avoid missing executable issues. - When user says they want a pet, first run
bash {baseDir}/scripts/clawpet.sh pets, then ask which one they want. - For regular check-ins, run
bash {baseDir}/scripts/clawpet.sh status. - For daily care, prefer
bash {baseDir}/scripts/clawpet.sh care; for explicit requests, run... interact \x3Caction>.
Image generation workflow (IMPORTANT)
When the user requests a pet image:
-
Generate the prompt:
bash {baseDir}/scripts/clawpet.sh prompt --place "cozy afternoon window"This outputs the full prompt text. Default style is photorealistic pet photography.
-
Generate the image with nano-banana-pro:
uv run /home/yaze/.npm-global/lib/node_modules/openclaw/skills/nano-banana-pro/scripts/generate_image.py \ --prompt "\x3Cprompt from step 1>" \ --filename "YYYY-MM-DD-HH-MM-pet-name.png" \ --resolution 1KThis saves the image to
/home/yaze/.openclaw/workspace/YYYY-MM-DD-HH-MM-pet-name.png -
Send the image with message tool:
message(action="send", channel="telegram", media="/home/yaze/.openclaw/workspace/YYYY-MM-DD-HH-MM-pet-name.png", message="🐾 \x3Cpet_name> 的即時快照")
Why this workflow:
- Uses Gemini (nano-banana-pro) for high-quality watercolor-style images
- Local file path works with message tool's media parameter
- Consistent with other OpenClaw image generation patterns
Troubleshooting
- If
clawpetcommand is not found, this skill wrapper auto-falls back to:uvx --from git+https://github.com/yazelin/clawpet.git clawpet ...uv tool run --from git+https://github.com/yazelin/clawpet.git clawpet ...
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawpet - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawpet触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
clawpet 是什么?
OpenClaw pet companion skill. Manage adopted pets, run interactions, and produce pet image prompts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 961 次。
如何安装 clawpet?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawpet」即可一键安装,无需额外配置。
clawpet 是免费的吗?
是的,clawpet 完全免费(开源免费),可自由下载、安装和使用。
clawpet 支持哪些平台?
clawpet 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 clawpet?
由 yazelin(@yazelin)开发并维护,当前版本 v0.1.6。