shdskill514
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "shdskill514" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-29fc1654487306f0aa5accd9bf09ee2bcacb535dd58e30d4783a76dcce88c62e. Verify the upstream source and version against https://skillhub.cn/skills/user_9355e276/shdskill514 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
An automated skill for scheduled batch removal of PDF watermarks, supporting image, text, and logo watermarks. Suitable for finance, design, legal scenarios—e.g., daily cleaning of financial statement watermarks, removing design placeholder marks, or sanitizing contract scans. Runs unattended via scheduled tasks and supports external professional tools or built-in masking/blur approaches to help keep documents tidy for archiving.
Introduction source: third_party · user_9355e276 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: shdskill514
description: PDF水印移除定时PDF水印移除技能
1. 技能简介
本技能实现全自动、定时批量移除 PDF 文件中的图片类水印(含文字水印、Logo、背景浮水印)。它既支持调用第三方专业去水印软件(如 PDF Watermark Remover Pro)的 CLI 接口,也内置了基于 PyMuPDF 的开源备用方案——通过矩形遮罩或高斯模糊覆盖固定位置水印。通过结合系统定时任务(cron / 任务计划程序),实现“无人值守、即放即清”的高效文档预处理流水线。
2. 适用场景
- 财务结算:每日凌晨自动清理数百份财报上的“内部预览”水印,归档至共享盘。
- 设计交付:每周定时去除设计稿样机中的品牌占位水印,准备最终交付包。
- 法律档案:定期扫描并清理合同扫描件中自动添加的机构名称水印,保持档案整洁。
3. 输入参数
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
source_folder |
String | 是 | - | 存放待处理 PDF 的监控文件夹路径(如 D:\ToRemove)。 |
output_folder |
String | 是 | - | 处理完成后输出干净 PDF 的目标文件夹(如 D:\Cleaned)。 |
watermark_rect |
String | 是 | [0,0,100,100] |
水印所在矩形区域(单位:点,PDF坐标系,左下角为原点),格式 [x0, y0, x1, y1]。 |
cover_method |
Enum | 否 | white_rect |
覆盖方式:white_rect(白色遮罩)/ blur(高斯模糊)/ external_tool(调用外部专业软件)。 |
external_tool_path |
String | 否 | - | 若 cover_method 为 external_tool,需指定第三方 CLI 工具的完整路径。 |
schedule_time |
String | 是 | "02:00" |
每日定时执行时间(24小时制,如 "02:00" 表示凌晨2点)。 |
file_pattern |
String | 否 | *.pdf |
匹配文件名的通配符。 |
backup_enabled |
Boolean | 否 | true |
是否在处理前将原文件备份至 source_folder/backup/。 |
4. 输出规范
- 执行日志:在
output_folder下生成removal_log_{date}.txt,记录每个文件的处理状态(成功/失败/跳过)。 - 处理结果:所有去水印后的 PDF 按原文件名保存至
output_folder(若重名则自动添加_cleaned后缀)。 - 错误报告:若文件损坏或无法处理,会在日志中标记异常,并单独移入
output_folder/errors/。
5. 核心执行流程(工作流)
graph TD
A[定时触发器唤醒] --> B[扫描源文件夹]
B --> C{是否有匹配的PDF?}
C -->|否| D[记录空跑日志并退出]
C -->|是| E[启用备份机制(可选)]
E --> F[遍历PDF列表]
F --> G{选择去水印方式}
G -->|外部工具| H[调用CLI命令批量处理]
G -->|内置遮罩| I[执行PyMuPDF矩形覆盖]
H --> J[校验输出文件完整性]
I --> J
J --> K{校验通过?}
K -->|是| L[移动至输出目录并记录成功]
K -->|否| M[移入错误目录并记录失败]
L --> N{还有剩余文件?}
M --> N
N -->|是| F
N -->|否| O[发送邮件/通知汇总报告]Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供定时批量移除 PDF 水印功能,适用于财务、设计、法律等多个实际场景
- 支持多种去水印方式(外部专业工具、内置遮罩、高斯模糊),满足不同需求
Areas to improve
-
description写错位置 Reported severity: Minor
顶层 description 字段为空,但 skill_body 内部 frontmatter 中有完整描述
Recommendation: 请将 description 内容移至顶层 frontmatter 中的 description 字段
Highlights
- skill_body 内部有清晰的技能描述和功能说明
Highlights
- 结构完整,包含简介、适用场景、输入参数、输出规范、核心执行流程
- 使用 mermaid 流程图清晰展示执行逻辑
Highlights
- 工具来源明确(PyMuPDF、第三方 CLI),参数定义清晰
- 覆盖主要异常场景(校验、错误目录、日志记录)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.