๐ฆ ClawHub
clawpet
by @yazelin
OpenClaw pet companion skill. Manage adopted pets, run interactions, and produce pet image prompts.
TERMINAL
clawhub install clawpet๐ About This Skill
name: clawpet description: "OpenClaw pet companion skill. Manage adopted pets, run interactions, and produce pet image prompts." metadata: openclaw: requires: anyBins: [clawpet, uv, uvx] install: - id: clawpet-git kind: pip package: "git+https://github.com/yazelin/clawpet.git" bins: [clawpet] label: "Install clawpet from GitHub"
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
1. Always callbash {baseDir}/scripts/clawpet.sh ... to avoid missing executable issues.
2. When user says they want a pet, first run bash {baseDir}/scripts/clawpet.sh pets, then ask which one they want.
3. For regular check-ins, run bash {baseDir}/scripts/clawpet.sh status.
4. For daily care, prefer bash {baseDir}/scripts/clawpet.sh care; for explicit requests, run ... interact .Image generation workflow (IMPORTANT)
When the user requests a pet image:1. 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.2. 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 "" \
--filename "YYYY-MM-DD-HH-MM-pet-name.png" \
--resolution 1K
This saves the image to /home/yaze/.openclaw/workspace/YYYY-MM-DD-HH-MM-pet-name.png3. 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="๐พ ็ๅณๆๅฟซ็
ง")
Why this workflow:
Troubleshooting
clawpet command 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 ...
๐ Tips & Best Practices
clawpet command 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 ...