dshbase

插件目录 / Developer / dsh-pdfslim

dsh-pdfslim

已验证 · 实测可装 zhaoyaqi18

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台

功能简介

PDF compression MCP tools for DeepSeek Harness (dsh). Compress/optimize/inspect PDFs via api.pdfslim.app — free 20 calls/day, pro key on Ko-fi.

✅
我们的评价
可用 — 实测通过,早期项目

PDF compression MCP tools for DeepSeek Harness (dsh). Compress/optimize/inspect PDFs via api.pdfslim.app — free 20 calls/day, pro key on Ko-fi. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-pdfslim — PDF Compression for DeepSeek Harness

中文

Bring production-grade PDF compression to DeepSeek Harness. This bundle wires the
api.pdfslim.app MCP server (Cloudflare Worker + MuPDF engine,
~93% average compression) into your DSH profile as three tools:

Tool (as seen by the model) What it does
mcp__pdfslim__compress_pdf Compress a PDF to a target size / quality (render-rebuild engine)
mcp__pdfslim__optimize_pdf Lossless structural optimization (garbage collection, stream compression)
mcp__pdfslim__inspect_pdf Page count, file size, password protection check

Install

git clone https://github.com/zhaoyaqi18/dsh-pdfslim
dsh plugin --profile <name> add ./dsh-pdfslim
dsh --profile <name>

The upstream MCP server is hosted and always-on — no local engine, no dependencies.

Usage example

"Compress this PDF to under 1MB: ./report.pdf"

The agent calls mcp__pdfslim__compress_pdf and returns the compressed file.

Limits & pricing

  • Anonymous: 20 free calls/day per IP — perfect for trying it out.
  • Pro Key: $9.90/month, 5,000 calls, up to 100MB files — buy on Ko-fi.
  • Files up to 100MB. Gigantic files (100MB+) are handled by the web app: pdfslim.app.

When the free quota runs out, the API itself tells the AI where to go (buy a key or use the free web app) — no dead ends.

Why PDF Slim?

  • Real compression engine (MuPDF render-rebuild), not just re-packaging — measured 93% on a 11MB test PDF.
  • Privacy-first: files are processed in memory, not stored.
  • Works from anywhere: Claude, Hermes, DSH, or any MCP client.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-pdfslim」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:zhaoyaqi18/dsh-pdfslim

Headless(CLI)profile:

dsh plugin --profile headless add github:zhaoyaqi18/dsh-pdfslim

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →