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 cat-xierluo/legal-skills --skill pdf-processorgit clone --depth 1 https://github.com/cat-xierluo/legal-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/cat-xierluo/legal-skills/pdf-processor)<a href="https://agentmods.dev/skills/cat-xierluo/legal-skills/pdf-processor"><img src="https://agentmods.dev/badge/skills/cat-xierluo/legal-skills/pdf-processor/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/cat-xierluo/legal-skills/pdf-processor"><img src="https://agentmods.dev/badge/skills/cat-xierluo/legal-skills/pdf-processor.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.00083 | $0.03990 |
| Opus 5.5 | $0.00033 | $0.01596 |
| Sonnet 5.5 | $0.00017 | $0.00798 |
| Haiku 4.5 | $0.00008 | $0.00399 |
Grade B, and why
pdf-processor scanned grade B with 1 finding 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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install poppler-utils The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
47 files 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.
- archive/.gitkeep 0 B
- CHANGELOG.md 70 KB
- config/.env.example 1006 B
- LICENSE.txt 1.1 KB
- references/mineru-api-guide.md 6.4 KB
- references/ocr-backend-guide.md 5.8 KB
- references/ocr-corrections-reference.json 2.8 KB
- references/optional-dependencies.txt 596 B
- references/paddleocr-api-guide.md 18 KB
- references/pdf-workflows.md 4.9 KB
- references/troubleshooting.md 5.0 KB
- references/v27-alignment-baseline/baseline_results.json 8.0 KB
- references/v27-alignment-baseline/research_harness.py 19 KB runs code
- references/v27-alignment-baseline/scanned_A_ocrmypdf.png 502 KB
- references/v27-alignment-baseline/scanned_D_block_line.png 379 KB
- references/v27-alignment-baseline/scanned_D_block_para.png 419 KB
- references/v27-alignment-baseline/scanned_D_legacy_word.png 427 KB
- references/v27-alignment-baseline/v27-improved_results.json 6.8 KB
- references/v27-alignment-baseline/v27-improved/scanned_D_line.png 378 KB
- references/v27-alignment-baseline/v27-improved/scanned_D_para.png 439 KB
- references/v27-alignment-baseline/v27-improved/scanned_D_word.png 442 KB
- references/v27-alignment-baseline/v27-improved/v27_final_summary.json 2.7 KB
- scripts/pdf_ocr_corrections.py 9.5 KB runs code
- scripts/pdf_ocr_layered.py 43 KB runs code
- scripts/pdf_ocr_mineru.py 17 KB runs code
- scripts/pdf_ocr_paddle_api.py 46 KB runs code
- scripts/pdf_ocr_paddle_local.py 12 KB runs code
- scripts/pdf_ocr_paragraphs.py 29 KB runs code
- scripts/pdf_ocr_rapid_local.py 10 KB runs code
- scripts/pdf_preprocess_skew.py 9.4 KB runs code
- scripts/pdf_runtime.py 11 KB runs code
- scripts/pdf-add-page-numbers.py 7.1 KB runs code
- scripts/pdf-compress.py 10 KB runs code
- scripts/pdf-decrypt.py 3.9 KB runs code
- scripts/pdf-merge.py 7.7 KB runs code
- scripts/pdf-ocr-benchmark.py 14 KB runs code
- scripts/pdf-ocr-quality-check.py 11 KB runs code
- scripts/pdf-ocr.py 36 KB runs code
- scripts/pdf-preprocess-core.py 35 KB runs code
- scripts/pdf-preprocess-ocr.py 50 KB runs code
- scripts/pdf-remove-watermark.py 7.4 KB runs code
- scripts/pdf-rotate.py 6.3 KB runs code
- scripts/test_pdf_ocr_benchmark.py 5.2 KB runs code
- scripts/test_pdf_ocr_layered_v27.py 28 KB runs code
- scripts/test_pdf_ocr_paragraphs.py 15 KB runs code
- scripts/test_pdf_preprocess_skew.py 2.6 KB runs code
- scripts/test_pdf_preprocess_speed_options.py 23 KB runs code
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.
- 1mo ago Changed · +17 lines 6068c49a6b4c
- 1mo ago Changed 96cc55b680c0
- 2mo ago First seen · 264 lines · 83 tokens per session scan B 16dff91272bd
pdf-processor is a skill published in the GitHub repository cat-xierluo/legal-skills (778 stars, last pushed yesterday), with no licence file. It adds 83 tokens to every session and 3,990 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
pdf-processor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-processorcat-xierluo/legal-skills | Skill | 778 | yesterday | none | B | 83 | Claude Code, Codex |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 48 | Claude Code |
| foundry-hosted-agent-validationmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 82 | Claude Code, Codex |
| skill-doc-deliverynyldn/claude-octopus | Skill | 4.4k | yesterday | MIT | A | 29 | Claude Code |
| meta-web-to-pdf-briefingopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| paper-readerhuangkiki/dailypaper-skills | Skill | 1.3k | 4d ago | Apache-2.0 | A | 135 | Claude Code, Codex |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 90 | Claude Code, Codex |