Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Bwkyd/wps-skills --skill wps-watermarkgit clone --depth 1 https://github.com/Bwkyd/wps-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bwkyd/wps-skills/wps-watermark)<a href="https://agentmods.dev/skills/bwkyd/wps-skills/wps-watermark"><img src="https://agentmods.dev/badge/skills/bwkyd/wps-skills/wps-watermark/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bwkyd/wps-skills/wps-watermark"><img src="https://agentmods.dev/badge/skills/bwkyd/wps-skills/wps-watermark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00097 | $0.01610 |
| Opus 5 | $0.00048 | $0.00805 |
| Sonnet 5 | $0.00019 | $0.00322 |
| Haiku 4.5 | $0.00010 | $0.00161 |
Grade A, and why
wps-watermark scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
文档水印工具
一键为文档添加水印。"机密""草稿""内部"随你选。
When to Use
- 文档需要添加"机密""内部"等水印
- 草稿文档标注"DRAFT"
- 防止文档未授权传播
- 用户说"加个水印""标记为机密"
When NOT to Use
- 文档加密/密码保护 → WPS自带功能
- PDF操作 → 使用
wps-pdf-merge-split
水印类型
[1] 文字水印 → "机密""内部资料""草稿""DRAFT""CONFIDENTIAL"
[2] 图片水印 → 公司Logo等
[3] 日期水印 → 自动添加日期
[4] 个人水印 → "仅供XX查阅"
工作流程
Step 1: 确认水印需求
- 水印文字/图片
- 目标文件格式(Word/PDF)
- 角度(默认-45度斜置)
- 透明度(默认30%)
- 颜色(默认浅灰色)
Step 2: 添加水印
Word文档水印:
from docx import Document
from docx.oxml.ns import qn, nsdecls
from docx.oxml import parse_xml
import os
def add_watermark_to_word(doc_path, text='机密', output_path=None):
"""为Word文档添加文字水印"""
doc = Document(doc_path)
# 通过页眉添加水印(兼容性最好的方式)
for section in doc.sections:
header = section.header
header.is_linked_to_previous = False
# 创建水印shape
watermark_xml = f'''
<w:r {nsdecls('w', 'wp', 'v', 'o', 'mc', 'r')}>
<mc:AlternateContent>
<mc:Choice Requires="wps">
<w:drawing>
<wp:anchor distT="0" distB="0" distL="0" distR="0"
simplePos="0" relativeHeight="251658240"
behindDoc="1" locked="0" layoutInCell="1"
allowOverlap="1">
<wp:simplePos x="0" y="0"/>
<wp:positionH relativeFrom="page">
<wp:align>center</wp:align>
</wp:positionH>
<wp:positionV relativeFrom="page">
<wp:align>center</wp:align>
</wp:positionV>
<wp:extent cx="5400000" cy="2700000"/>
<wp:wrapNone/>
</wp:anchor>
</w:drawing>
</mc:Choice>
</mc:AlternateContent>
</w:r>'''
# 简化方式:在页眉添加灰色大字作为视觉水印
p = header.paragraphs[0] if header.paragraphs else header.add_paragraph()
p.alignment = 1 # CENTER
run = p.add_run(text)
run.font.size = 7200000 # 大字
run.font.color.rgb = None # 需要设置透明
if not output_path:
base, ext = os.path.splitext(doc_path)
output_path = f'{base}_watermarked{ext}'
doc.save(output_path)
return os.path.abspath(output_path)
def add_watermark_to_pdf(pdf_path, text='机密', output_path=None):
"""为PDF添加文字水印"""
import fitz # PyMuPDF
doc = fitz.open(pdf_path)
for page in doc:
rect = page.rect
# 在页面中心添加斜置文字
text_point = fitz.Point(rect.width / 4, rect.height / 2)
page.insert_text(
text_point, text,
fontsize=60,
color=(0.8, 0.8, 0.8), # 浅灰色
rotate=-45,
)
if not output_path:
base, ext = os.path.splitext(pdf_path)
output_path = f'{base}_watermarked{ext}'
doc.save(output_path)
doc.close()
return os.path.abspath(output_path)
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 200 lines · 97 tokens per session scan A 339b80ae4da5
wps-watermark is a skill published in the GitHub repository Bwkyd/wps-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 97 tokens to every session and 1,610 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
note-organizer
Use this skill whenever the user wants to organize course materials, lecture notes, PPT/PDF/DOCX files, textbooks, personal notes, senior-student notes, historical exams, review questions, standards, manuals, or scattered study resources into a structured Markdown note library. Use it even when the user only says…
tender-analysis
A workflow for reviewing tender documents, which are formal project requests that describe requirements and bidding rules. It extracts project details, technical and business conditions, deadlines, scoring rules, risks, and questions for clarification.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
liteparse
Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities…
markitdown
Convert heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.
open-notebook
Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and summaries, creating multi-speaker…