← 返回 Skills 市场
Pet Detection Skill | 宠物检测技能
作者
smyx-skills
· GitHub ↗
· v1.0.0
· MIT-0
59
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smyx-pet-detection-analysis
功能描述
Detects cats, dogs, and birds appearing in the target area; supports video stream and image detection, suitable for home pet monitoring scenarios. | 宠物检测技能,检...
安全使用建议
Key points to consider before installing or running this skill:
- Data exfiltration: The skill uploads user-provided media (local files or URLs) to remote API endpoints defined in the included config; if the media contain sensitive information (e.g., audio/video from inside your home), do not run it until you trust the remote host. The repo's default config references lifeemergence.com production/test URLs — verify and confirm the destination.
- Inconsistent guarantees: SKILL.md explicitly forbids reading local memory, but the code will create/read YAML config files and a local SQLite DB in the workspace/data directory; these persistent writes break the stated prohibition. Expect local files to be created.
- Credentials and open-id: The skill requires an open-id (CLI arg or read from config); it can also accept an API key. The registry metadata does not declare these env/credential needs — be cautious about providing any tokens or IDs. Prefer supplying a throwaway test open-id and avoid providing other credentials.
- Large dependency surface: The package includes a big common library and a long requirements list. If you plan to install dependencies, review them and install in an isolated environment (container/VM) to limit exposure.
- Recommended mitigations: run first in a sandboxed environment, inspect network traffic (or run with outbound network disabled) to confirm endpoints, inspect and sanitize config YAML files, and consider running against non-sensitive test media. If you require a privacy-preserving local solution, do not use this skill until you can confirm the API provider and hosting are trusted.
功能分析
Type: OpenClaw Skill
Name: smyx-pet-detection-analysis
Version: 1.0.0
The skill bundle provides pet detection and health analysis by interfacing with a remote cloud API (lifeemergence.com). It utilizes a shared utility library (smyx_common) to manage authentication tokens stored in a local SQLite database and handles media uploads via multipart/form-data. While SKILL.md contains 'Mandatory Memory Rules' that instruct the AI agent to bypass local memory files in favor of cloud-fetched data, these appear to be functional constraints to ensure data consistency rather than malicious prompt injection. The scripts (pet_detection_analysis.py, api_service.py) follow standard API integration patterns and do not exhibit signs of data theft or unauthorized command execution.
能力标签
能力评估
Purpose & Capability
The name/description (pet detection for home monitoring) aligns with the code: scripts call a remote analysis API and format results. However the repo also contains a large face-analysis component and a broadly-shared 'smyx_common' library; while reuse is plausible, the presence of an unrelated 'face_analysis' skill and a large common utility surface increases the attack surface and is worth noting.
Instruction Scope
SKILL.md imposes strong runtime rules (forbid reading any local memory files, require open-id retrieval from specific config files, automatically save uploaded attachments to attachments/), but the code contradicts or expands that scope: the common library writes/loads YAML config files, the DAO component creates/uses a local SQLite DB under the workspace/data path, and YamlUtil.load will create config files if missing. The skill will also upload user-provided media (local files or URLs) to an external API. The instructions' prohibition against local memory reads is therefore inconsistent with the code behavior.
Install Mechanism
No install specification (instruction-only) — reduces install-time risk. However the package includes a substantial requirements.txt (smyx_common) listing many dependencies; although not automatically installed, this large dependency list is disproportionate to a simple detection script and increases review burden if you decide to install them locally.
Credentials
Metadata declares no required env vars, but the code uses several environment values: OPENCLAW_SENDER_OPEN_ID / OPENCLAW_SENDER_USERNAME and OPENCLAW_WORKSPACE are referenced in ConstantEnum and Dao.get_db_path; config YAMLs include API base URLs and API key placeholders. The SKILL.md also requires an 'open-id' (passed as CLI arg or read from config). Sensitive data (open-id, optional api-key) may be used and media files will be sent to remote endpoints. The skill asks for open-id and may accept an API key but the environment/credential requirements are not declared in the registry metadata — this is a mismatch.
Persistence & Privilege
The skill does not request 'always: true', but it will create/read files under the workspace (YamlUtil may create config.yaml files, the DAO creates a SQLite DB under workspace/data). The SKILL.md prohibition on using local memory conflicts with these persistent behaviors. This means the skill will have persistent presence in the workspace and may store analysis records locally.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smyx-pet-detection-analysis - 安装完成后,直接呼叫该 Skill 的名称或使用
/smyx-pet-detection-analysis触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the pet detection skill for home monitoring scenarios
- Supports detection of cats, dogs, and birds in both video streams and images
- Features high-sensitivity multi-species recognition, providing real-time and high-precision identification
- Strictly enforces cloud-based report querying with mandatory open-id validation; prohibits use of any local history or memory for reports
- Automatically saves uploaded media files to the attachments directory and outputs structured detection reports
- Provides Markdown table-format summary for historical reports with clickable report links
元数据
常见问题
Pet Detection Skill | 宠物检测技能 是什么?
Detects cats, dogs, and birds appearing in the target area; supports video stream and image detection, suitable for home pet monitoring scenarios. | 宠物检测技能,检... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 59 次。
如何安装 Pet Detection Skill | 宠物检测技能?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smyx-pet-detection-analysis」即可一键安装,无需额外配置。
Pet Detection Skill | 宠物检测技能 是免费的吗?
是的,Pet Detection Skill | 宠物检测技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Pet Detection Skill | 宠物检测技能 支持哪些平台?
Pet Detection Skill | 宠物检测技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pet Detection Skill | 宠物检测技能?
由 smyx-skills(@18072937735)开发并维护,当前版本 v1.0.0。
推荐 Skills