返回顶部
c

clawpet

OpenClaw pet companion skill. Manage adopted pets, run interactions, and produce pet image prompts.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.6
安全检测
已通过
899
下载量
0
收藏
概述
安装方式
版本历史

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 bash {baseDir}/scripts/clawpet.sh pets ``` ### 2) Adopt a pet ```bash bash {baseDir}/scripts/clawpet.sh adopt momo ``` ### 3) Check current status ```bash bash {baseDir}/scripts/clawpet.sh status ``` ### 4) Interact with pet ```bash 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 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 bash {baseDir}/scripts/clawpet.sh care bash {baseDir}/scripts/clawpet.sh care --action feed ``` ## Agent behavior guidance ### Basic interactions 1. Always call `bash {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 <action>`. ### Image generation workflow (IMPORTANT) When the user requests a pet image: 1. **Generate the prompt:** ```bash 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:** ```bash uv run /home/yaze/.npm-global/lib/node_modules/openclaw/skills/nano-banana-pro/scripts/generate_image.py \ --prompt "<prompt from step 1>" \ --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.png` 3. **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="🐾 <pet_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 `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 ...`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clawpet-1776419974 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clawpet-1776419974 技能

通过命令行安装

skillhub install clawpet-1776419974

下载 Zip 包

⬇ 下载 clawpet v0.1.6

文件大小: 2.38 KB | 发布时间: 2026-4-17 18:19

v0.1.6 最新 2026-4-17 18:19
Photorealistic pet photography style (not illustration/watercolor)

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部