Xpersona
W

Watermark Pro

CLAWHUB · Unverified

文件水印工具。Use when user wants to add watermark to images, Word, PowerPoint, or PDF files. Supports text watermark, logo watermark, diagonal/center/tile layouts.... Skill: Watermark Pro Owner: tobewin Summary: 文件水印工具。Use when user wants to add watermark to images, Word, PowerPoint, or PDF files. Supports text watermark, logo watermark, diagonal/center/tile layouts.... Tags: latest:1.0.4 Version history: v1.0.4 | 2026-03-26T01:26:06.126Z | user 恢复完整代码示例,精简文字描述,确保功能完整 v1.0.3 | 2026-03-26T01:22:26.511Z | user 精简SKILL.md:移除冗长代码示例,确保安全扫描完整 v1.0.2 | 2026-03-26T00:37:09.521Z | user 改进P

62
Rank
84
Safety
976
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 976 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174rz3f0862tcfw7pzfh5w8kn83hv2z:watermark-pro
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-watermark-pro/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

43,551 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: watermark-pro
description: 文件水印工具。Use when user wants to add watermark to images, Word, PowerPoint, or PDF files. Supports text watermark, logo watermark, diagonal/center/tile layouts. 图片水印、文档水印、Word加水印、PPT加水印。
version: 1.0.4
license: MIT-0
metadata: {"openclaw": {"emoji": "💧", "requires": {"bins": ["python3"], "env": []}}}
dependencies: "pip install pillow python-docx python-pptx pymupdf"
---

# Watermark Pro

文件水印工具,支持图片、Word、PPT、PDF添加水印。

## Features

- 🖼️ **图片水印**:支持JPG/PNG/WEBP
- 📄 **Word水印**:支持.docx
- 📊 **PPT水印**:支持.pptx
- 📑 **PDF水印**:支持.pdf
- ✍️ **文字水印**:自定义文字、字体、颜色
- 🖼️ **Logo水印**:支持透明PNG Logo
- 📍 **多种布局**:对角线/居中/平铺

## Trigger Conditions

- "加水印" / "Add watermark"
- "图片加水印" / "Word文档加水印"
- "watermark-pro"

---

## Step 1: Image Watermark

```python
from PIL import Image, ImageDraw, ImageFont
import os

class ImageWatermark:
    def add_text_watermark(self, image_path, text, output_path,
                          font_size=None, color=(128, 128, 128),
                          opacity=0.3, angle=-45, layout='diagonal', density=200):
        img = Image.open(image_path).convert('RGBA')
        width, height = img.size
        watermark = Image.new('RGBA', img.size, (0, 0, 0, 0))
        draw = ImageDraw.Draw(watermark)
        
        if font_size is None:
            font_size = max(width, height) // 30
        
        try:
            font = ImageFont.truetype('/System/Library/Fonts/PingFang.ttc', font_size)
        except:
            font = ImageFont.load_default()
        
        alpha = int(255 * opacity)
        fill_color = (*color, alpha)
        
        if layout == 'diagonal':
            for y in range(0, height, density):
                for x in range(0, width, int(density * 1.4)):
                    draw.text((x, y), text, font=font, fill=fill_color)
        elif layout == 'center':
            bbox = draw.textbbox((0, 0), text, font=font)
            tw = bbox[2] - bbox[0]
            th = bbox[3] - bbox[1]
            draw.text(((width-tw)//2, (height-th)//2), text, font=font, fill=fill_color)
        
        watermark = watermark.rotate(angle, expand=False, resample=Image.BICUBIC)
        result = Image.alpha_composite(img, watermark)
        
        if output_path.lower().endswith('.jpg'):
            result = result.convert('RGB')
        result.save(output_path)
        return output_path
```

---

## Step 2: Word Watermark

```python
from docx import Document
from docx.shared import Pt, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH

class WordWatermark:
    def add_text_watermark(self, docx_path, text, output_path,
                          font_size=48, color=(200, 200, 200)):
        doc = Document(docx_path)
        
        for section in doc.sections:
            header = section.header
            header.is_linked_to_previous = False
            
            for para in header.paragraphs:
                para.clear()
            
            para = header.paragraphs[0] if header.

_meta.json

{
  "ownerId": "kn75z6gevjsyrznm7dg2ez6sen82h8sz",
  "slug": "watermark-pro",
  "version": "1.0.4",
  "publishedAt": 1774488366126
}

skill-card.md

## Description:

Watermark Pro helps agents add text or logo watermarks to images, Word documents, PowerPoint files, and PDFs with diagonal, centered, or tiled layouts.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tobewin](https://clawhub.ai/user/tobewin)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users use this skill to generate or adapt local Python watermarking helpers for image, DOCX, PPTX, and PDF files. It is suited to adding visible ownership, confidentiality, or branding marks to documents before sharing.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Watermarking libraries read and rewrite local images, Office documents, and PDFs, which may include sensitive content.

Mitigation: Run the skill only on files the user has permission to process and use a private output directory for generated or rewritten documents.

Risk: Unpinned Python dependencies may change behavior or introduce compatibility issues over time.

Mitigation: Install dependencies in an isolated virtual environment and pin package versions before operational use.

Risk: PDF watermarking creates a temporary watermark image in the output directory during processing.

Mitigation: Use a controlled output directory and remove temporary files if a run is interrupted before cleanup completes.

## Reference(s):

- [Watermark Pro on ClawHub](https://clawhub.ai/tobewin/skills/watermark-pro)
- [tobewin publisher profile](https://clawhub.ai/user/tobewin)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with Python code blocks and dependency installation commands]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and Python packages including pillow, python-docx, python-pptx, and pymupdf; generated helpers read and rewrite local media or document files.]

## Skill Version(s):

1.0.4 (source: artifact frontmatter and server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

LICENSE.txt

MIT No Permission (MIT-0)

Copyright 2026

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Sponsored

Ads related to Watermark Pro and adjacent AI workflows.