← 返回 Skills 市场
13681882136

Kami Package Detection

作者 KamiVision · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install kami-package-detection
功能描述
A free skill by Kami SmartHome. Get notified the moment a package arrives at your door. Detects packages, parcels, and bags from RTSP camera streams using AI...
使用说明 (SKILL.md)

\r \r

Kami Package Detection\r

\r

Get notified the moment a package arrives at your door.\r \r Monitor your camera feed for packages, parcels, backpacks, handbags, and suitcases. When detected, returns the object class and bounding box as JSON — ready for automation.\r \r

Features\r

\r

  • 📦 Package & parcel detection\r
  • 🧳 Suitcase / backpack / handbag recognition\r
  • 🏠 Doorstep & reception monitoring\r
  • ⏱ Configurable detection duration\r
  • 🔔 JSON output for easy integration\r \r

Scenarios\r

\r

  • Doorstep delivery waiting\r
  • Office reception package management\r
  • Warehouse cargo monitoring\r
  • Temporary item watch\r \r

Installation\r

\r

bash setup.sh\r
```\r
\r
Creates `.venv/` and installs `onnxruntime`, `opencv-python-headless`, `numpy`. Idempotent.\r
\r
## Prerequisites\r
\r
- `python3` and `python3-venv` installed\r
- `yolov8s-worldv2.onnx` model file in the skill directory\r
- RTSP camera online and reachable\r
\r
### Model\r
\r
The `yolov8s-worldv2.onnx` model file is included in the skill package. If missing, re-download this skill from ClawHub:\r
\r
```bash\r
clawhub install kami-package-detection\r
```\r
\r
Alternatively, download the YOLOv8s-World v2 `.pt` model from [Ultralytics YOLO-World](https://docs.ultralytics.com/models/yolo-world/) and export it to ONNX yourself. Make sure the class names used during export match the `--class_names` parameter:\r
\r
```bash\r
pip install ultralytics\r
yolo export model=yolov8s-worldv2.pt format=onnx imgsz=320\r
cp yolov8s-worldv2.onnx /path/to/kami-package-detection/\r
```\r
\r
## Parameter Confirmation\r
\r
Before running, confirm these parameters with the user:\r
\r
| Parameter | Default | Description |\r
|-----------|---------|-------------|\r
| `--rtsp_url` | `rtsp://127.0.0.1/live/TNPUSAQ-757597-DRFMY` | RTSP camera URL |\r
| `--conf_threshold` | `0.25` | Confidence threshold (0.0–1.0) |\r
| `--class_names` | `parcel package "delivery box" person "Cardboard box" "Packaging Box" backpack handbag suitcase` | Classes to detect |\r
| `--run_time` | `60` | Max seconds; `0` = unlimited |\r
\r
**Ask the user: do any parameters need to be changed?**\r
\r
## Usage\r
\r
```bash\r
.venv/bin/python yolo_world_onnx.py \\r
  --rtsp_url rtsp://your-camera-address \\r
  --run_time 60\r
```\r
\r
## Output (stdout JSON)\r
\r
```json\r
{\r
  "detections": [\r
    {\r
      "class_name": "parcel",\r
      "bbox": {"x1": 100, "y1": 200, "x2": 300, "y2": 400}\r
    }\r
  ]\r
}\r
```\r
\r
| Field | Type | Description |\r
|-------|------|-------------|\r
| `class_name` | string | Detected object class |\r
| `bbox.x1, y1, x2, y2` | int | Bounding box coordinates |\r
\r
## Exit Codes\r
\r
| Code | Meaning |\r
|------|---------|\r
| `0` | Target detected, JSON output written |\r
| `1` | Error (model missing, RTSP failure, runtime exception) |\r
| `2` | Timeout, no target detected within `--run_time` |\r
\r
## Troubleshooting\r
\r
- `bash: .venv/bin/python: No such file or directory` → Run `bash setup.sh`\r
- `Model file not found` → Place `yolov8s-worldv2.onnx` in the skill directory\r
- `Cannot open video` → Check camera is online and `--rtsp_url` is correct\r
安全使用建议
This package appears to do exactly what it claims: run a YOLO ONNX model on an RTSP camera and print detections to stdout. Before installing, consider: 1) Supply a trusted RTSP URL — the script will connect to that camera and could process private video. 2) The model file may not actually be included despite one doc line saying it is; ensure you have a valid yolov8s-worldv2.onnx in the skill directory before running. 3) The script writes a local log file (yolo_world_onnx_log.log) in the skill directory. 4) The code uses only standard Python packages installed into a local .venv (setup.sh). If you want extra assurance, review the full yolo_world_onnx.py file (no network exfiltration or unexpected remote endpoints were found) and run the skill in a network-isolated environment first.
功能分析
Type: OpenClaw Skill Name: kami-package-detection Version: 1.0.5 The skill bundle provides a legitimate implementation for package detection using YOLOv8 via ONNX Runtime on an RTSP stream. The main script (yolo_world_onnx.py) and setup script (setup.sh) follow standard practices for computer vision tasks, including virtual environment management and local model inference. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code performs exactly as described in the documentation.
能力评估
Purpose & Capability
Name/description (package detection from RTSP) aligns with required binaries (python3), Python dependencies (onnxruntime, opencv-python-headless, numpy), and included code (yolo_world_onnx.py). The skill legitimately needs access to an RTSP stream and a local ONNX model file for its stated purpose.
Instruction Scope
SKILL.md instructs only local setup (bash setup.sh), placing the ONNX model, and running the script against an RTSP URL. The instructions do not ask the agent to read unrelated system files or environment variables. Minor inconsistencies in documentation: SKILL.md claims the ONNX model is included in the package, while README states the model is user-provided/not included; the registry version in metadata (1.0.5) differs from the SKILL.md frontmatter (1.0.4). These are documentation mismatches, not evidence of malicious behavior.
Install Mechanism
No remote installer is invoked by the skill bundle. setup.sh creates a local .venv and installs packages from requirements.txt via pip; required packages are standard (onnxruntime, opencv-python-headless, numpy). There are no downloads from arbitrary URLs or embedded installers that extract remote archives.
Credentials
The skill requests no environment variables or external credentials. It needs network access only to whatever RTSP URL the user supplies — this is expected for a camera-based detection tool. No unrelated secrets or config paths are requested.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide configurations. It logs to a local file in the skill directory (yolo_world_onnx_log.log) which is reasonable for debugging; there is no evidence of persistent backdoors or privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kami-package-detection
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kami-package-detection 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Expanded tags to include "home-assistant", "home assistant", "smart home delivery", and related phrases for broader discoverability. - Added more trigger phrases such as "kami smart home", "home assistant package", "delivery notification", and "parcel alert". - No changes to core functionality or usage documentation.
v1.0.4
- Updated version to 1.0.4. - Expanded tags to include "smarthome" and "detect" for improved discoverability. - No other feature or documentation changes.
v1.0.3
- Added instructions for downloading and exporting the YOLOv8s-World v2 model from Ultralytics and integrating it with the skill. - Expanded model setup section to support manual ONNX export if the model file is missing. - Added "kami" to the tags list. - No changes to code or APIs; documentation-only update.
v1.0.2
- Updated skill description to clarify free offering by Kami SmartHome. - Bumped version to 1.0.2. - No functional or technical changes; documentation only.
v1.0.1
- Removed the explicit Linux OS requirement from the metadata in SKILL.md. - No changes to features or functionality.
v1.0.0
Initial release of kami-package-detection. - Detects packages, parcels, backpacks, handbags, and suitcases from RTSP camera streams using YOLOv8-World ONNX inference. - Returns object class and bounding box as JSON for easy integration and automation. - Supports configurable detection duration and customizable class names. - Outputs clear exit codes for detection, errors, and timeouts. - Includes simple installation script and troubleshooting tips.
元数据
Slug kami-package-detection
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

Kami Package Detection 是什么?

A free skill by Kami SmartHome. Get notified the moment a package arrives at your door. Detects packages, parcels, and bags from RTSP camera streams using AI... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 Kami Package Detection?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kami-package-detection」即可一键安装,无需额外配置。

Kami Package Detection 是免费的吗?

是的,Kami Package Detection 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Kami Package Detection 支持哪些平台?

Kami Package Detection 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Kami Package Detection?

由 KamiVision(@13681882136)开发并维护,当前版本 v1.0.5。

💬 留言讨论