/install claw-pet
Claw Pet
Use this skill when a user wants you to trigger a remote catch action against a pet backend that they control.
Workflow
- Load runtime config from environment variables first, then local
_meta.json. - Verify
CATCH_API_URLandAPI_KEYare present. - Send a
POSTrequest with JSON body{"action":"catch"}. - Parse the response and classify it as one of:
petitememptyerror
- Return a friendly summary without exposing secrets.
Configuration
Provide these values before use:
- Environment variables:
CATCH_API_URLAPI_KEY
- Or skill-local
_meta.jsonfor development/testing
Keep _meta.json free of production secrets before sharing or publishing the skill.
Expected Backend Behavior
The backend should:
- accept
POSTrequests toCATCH_API_URL - authenticate with
Authorization: Bearer \x3CAPI_KEY> - return JSON only
- return either a pet result, item result, empty result, or structured error
Read references/api.md for the response contract.
Trigger Examples
This skill should trigger for requests such as:
- "去抓一只宠物"
- "Catch me a pet"
- "Try to fish"
- "Go catch something for me"
- "帮我抽一下今天的宠物"
Script
Use scripts/catch_pet.py for the actual API call. Prefer the script over re-implementing the request flow inline.
Output Rules
- If a pet is caught, include rarity, name, level, and any short flavor text.
- If an item is caught, include item name, rarity, quantity, and description if present.
- If nothing is caught, say so plainly.
- If the backend returns an error or malformed payload, explain the failure category briefly.
Publish Notes
This skill is only the agent-side caller. It does not bundle the backend service. Users who install it must configure their own reachable backend endpoint and API key.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claw-pet - 安装完成后,直接呼叫该 Skill 的名称或使用
/claw-pet触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
claw-pet 是什么?
Catch a pet or loot item by calling a configured remote pet backend API. Use when the user asks to catch a pet, fish for loot, try their luck, or trigger a r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 307 次。
如何安装 claw-pet?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-pet」即可一键安装,无需额外配置。
claw-pet 是免费的吗?
是的,claw-pet 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
claw-pet 支持哪些平台?
claw-pet 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 claw-pet?
由 LL(@aileaile)开发并维护,当前版本 v1.2.0。