← 返回
开发者工具 Key 中文

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...
通过调用已配置的远程宠物后端 API 捕获宠物或获取战利品。当用户请求捕获宠物、钓鱼获取战利品、尝试运气或触发 r...
aileaile
开发者工具 clawhub v1.2.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 521
下载
💾 7
安装
1
版本
#latest

概述

Claw Pet

Use this skill when a user wants you to trigger a remote catch action against a pet backend that they control.

Workflow

  1. Load runtime config from environment variables first, then local _meta.json.
  2. Verify CATCH_API_URL and API_KEY are present.
  3. Send a POST request with JSON body {"action":"catch"}.
  4. Parse the response and classify it as one of:
    • pet
    • item
    • empty
    • error
  5. Return a friendly summary without exposing secrets.

Configuration

Provide these values before use:

  1. Environment variables:
    • CATCH_API_URL
    • API_KEY
  2. Or skill-local _meta.json for development/testing

Keep _meta.json free of production secrets before sharing or publishing the skill.

Expected Backend Behavior

The backend should:

  • accept POST requests to CATCH_API_URL
  • authenticate with Authorization: Bearer
  • 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.

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-03-31 19:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,808
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,239
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,236