← 返回 Skills 市场
upwell

Compress pdf file

作者 upwell · GitHub ↗ · v0.1.4
cross-platform ✓ 安全检测通过
336
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install pdf-compressor
功能描述
Compresses a given PDF file to reduce its size.
安全使用建议
This skill appears to do exactly what it says: compress a PDF using PyMuPDF. Before installing: (1) ensure the execution environment can install the listed Python dependencies or provides 'uv' as SKILL.md expects; (2) run it on non-sensitive PDFs first to confirm compression behavior and output quality; (3) be aware the tool writes the compressed file next to the input file (so verify file system permissions and that overwrites are acceptable); (4) review dependency versions in pyproject.toml if your environment has strict supply-chain policies. No credentials or network endpoints are requested by the skill.
功能分析
Type: OpenClaw Skill Name: pdf-compressor Version: 0.1.4 The skill bundle is a legitimate PDF compression utility that uses the PyMuPDF (fitz) library to reduce file sizes. The code implements standard optimization techniques such as font subsetting, image resampling, and metadata scrubbing, with input validation handled via Pydantic (src/models.py) and safe path generation using UUIDs (src/utils.py). No indicators of data exfiltration, malicious execution, or prompt injection were found.
能力评估
Purpose & Capability
The name/description (PDF compression) matches the code and dependencies (PyMuPDF, pydantic, loguru). The code only operates on a user-specified PDF path and produces a compressed output in the same directory.
Instruction Scope
SKILL.md and src/main.py limit actions to validating arguments, checking file existence, compressing the PDF, and printing a JSON result. There are no instructions to read other files, environment variables, or to send data to external endpoints.
Install Mechanism
There is no install spec in the registry metadata, but a pyproject.toml lists dependencies and SKILL.md's entrypoint uses the 'uv' tool ('uv run src/main.py'). This is operationally consistent but slightly inconsistent with the 'required binaries: none' metadata — the runtime assumes an execution environment that can install/supply dependencies (uv and Python packages). This is not a security issue but is an operational/incoherence note.
Credentials
The skill requests no environment variables, no credentials, and accesses only the PDF path provided by the user. There are no unrelated or excessive secret requests.
Persistence & Privilege
always is false and the skill does not request any elevated or persistent platform privileges. It does not modify other skills or global agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pdf-compressor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pdf-compressor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.4
- Initial public release. - Compresses PDF files using three selectable compression levels (Low, Medium, High). - Requires the absolute path to the PDF file as input. - Returns compression success status, compressed file path, and size details in JSON format.
元数据
Slug pdf-compressor
版本 0.1.4
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Compress pdf file 是什么?

Compresses a given PDF file to reduce its size. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 336 次。

如何安装 Compress pdf file?

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

Compress pdf file 是免费的吗?

是的,Compress pdf file 完全免费(开源免费),可自由下载、安装和使用。

Compress pdf file 支持哪些平台?

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

谁开发了 Compress pdf file?

由 upwell(@upwell)开发并维护,当前版本 v0.1.4。

💬 留言讨论