← 返回 Skills 市场
nianxiushi

photo-watermark

作者 x0cd · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
141
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install photo-watermark
功能描述
为照片添加可自定义的文字或图片水印。在处理图片、添加水印或批量处理照片时使用。支持JPG、PNG和其他常见图片格式。
安全使用建议
Overall the package appears to implement what it claims: local watermarking and optional retouching, using standard Python imaging libraries with no network calls or credential access. Before installing or running it: 1) Inspect scripts/add_watermark.py and the is_safe_path() implementation to confirm path validation blocks undesired files (the tests reference this). 2) Note documentation/metadata inconsistencies: registry metadata lists version 1.0.5 while many docs/manifests reference v2.1.0/2.2.0 and mention an install.py that is not present — confirm you have the intended release. 3) Verify any optional dependency (opencv/numpy/scipy) is installed only if you need retouching; opencv can be large. 4) If you plan to run any curl|sh installation examples, download and review the script first (as the README suggests). 5) Run the included test_skill.py in a safe environment to validate behavior on your machine before processing important files.
功能分析
Type: OpenClaw Skill Name: photo-watermark Version: 1.0.5 The photo-watermark skill bundle is a legitimate image processing utility for adding watermarks and performing skin retouching. The code demonstrates high security awareness, featuring a robust path validation function (is_safe_path in scripts/add_watermark.py) that prevents path traversal and restricts access to sensitive system directories. It utilizes standard libraries like Pillow, OpenCV, and NumPy for its stated functions, and the documentation (README.md, SECURITY_FIXES.md) explicitly warns users about security best practices and documents the removal of potentially risky subprocess calls. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description describe adding text/image watermarks and optional retouching; the repository contains image-processing modules (add_watermark.py, skin_retouch.py, aspect_converter.py, utils/config) and examples that align with that purpose. Declared optional dependencies (Pillow, opencv, numpy, scipy) are appropriate for the claimed features.
Instruction Scope
SKILL.md instructs running local Python scripts (scripts/add_watermark.py) on user-supplied image files (single or glob patterns). The instructions reference only local files and example docs; they do not instruct reading unexpected system data or sending data externally.
Install Mechanism
There is no automated install spec in the registry entry (instruction-only skill). README suggests manual pip install of requirements; optional curl example is accompanied by a warning to inspect scripts before running. No evidence of downloads from untrusted URLs or archive extraction in the provided files.
Credentials
Skill requires no environment variables or credentials. Optional dependencies are relevant to image processing. There are no requests for unrelated secrets or system config paths in the provided files and docs.
Persistence & Privilege
Skill is not 'always: true' and uses standard local scripts. It does not request elevated privileges or claim to modify other skills or system-wide settings. File I/O is limited to user-specified input/output paths.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install photo-watermark
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /photo-watermark 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Added SECURITY_COMPLIANCE.md for improved security documentation. - Added backup file install.py.bak. - Added compiled Python file scripts/__pycache__/add_watermark.cpython-314.pyc. - Removed install.py.
v1.0.4
- Added aspect ratio converter utility script: scripts/aspect_converter.py - New usage sample for 9:16 aspect ratio conversion: examples/convert-to-9-16.md - Included final release documentation: FINAL_RELEASE.md
v1.0.3
- Added project and release metadata files: CLAWHUB_READY.md, RELEASE_MANIFEST.md, and clawhub.yaml - Introduced install.py for installation support - Added test_skill.py to enable testing of the skill
v1.0.2
- Added CHANGELOG.md for tracking updates. - Added mobile photo editing guide: examples/mobile-photo-guide.md. - Added skin retouching guide: examples/skin-retouch-guide.md. - Introduced skin retouching script: scripts/skin_retouch.py.
v1.0.1
- Added SECURITY_FIXES.md to document security-related updates. - Added compiled Python bytecode file scripts/__pycache__/add_watermark.cpython-314.pyc.
v1.0.0
Initial release of photo-watermark. - Add customizable text or image watermarks to photos. - Supports JPG, PNG, and other common image formats. - Allows batch processing of multiple images. - Offers flexible positioning, opacity, scaling, font size, color, and rotation options. - Provides command-line usage for quick integration into workflows.
元数据
Slug photo-watermark
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

photo-watermark 是什么?

为照片添加可自定义的文字或图片水印。在处理图片、添加水印或批量处理照片时使用。支持JPG、PNG和其他常见图片格式。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 141 次。

如何安装 photo-watermark?

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

photo-watermark 是免费的吗?

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

photo-watermark 支持哪些平台?

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

谁开发了 photo-watermark?

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

💬 留言讨论