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 glebis/claude-skills --skill pii-pdfgit clone --depth 1 https://github.com/glebis/claude-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/glebis/claude-skills/pii-pdf)<a href="https://agentmods.dev/skills/glebis/claude-skills/pii-pdf"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/pii-pdf/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/glebis/claude-skills/pii-pdf"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/pii-pdf.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.00065 | $0.01645 |
| Opus 5.5 | $0.00026 | $0.00658 |
| Sonnet 5.5 | $0.00013 | $0.00329 |
| Haiku 4.5 | $0.00006 | $0.00164 |
Grade B, and why
pii-pdf 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 22d 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.
Explain the actual installation plan before applying it. An explicit request to set up this engine authorizes its documented missing dependencies; do not ask again for the same installation. Downloads happen during setup How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF PII workflow
Use the bundled, versioned pii-pdf CLI. It combines native character boxes, local Tesseract OCR, spaCy PERSON and format rules. Preserve the user's selected scope and retain originals. The detector is experimental: a completed command is not a validated anonymous document.
SKILL_DIR below means the directory containing this file. Resolve it from the actual loaded skill path; do not assume the current working directory is the skill directory.
Setup mode
When asked to install, configure or repair this engine:
python3 "$SKILL_DIR/scripts/setup.py" --plan
python3 "$SKILL_DIR/scripts/setup.py" --apply
Explain the actual installation plan before applying it. An explicit request to set up this engine authorizes its documented missing dependencies; do not ask again for the same installation. Downloads happen during setup, not document processing. The installer checks the bundled source hashes, uses an isolated Python environment, installs its Python dependencies and the pinned English model, and installs a missing Tesseract through an existing supported package manager. It does not bootstrap Homebrew, run remote shell installers, or invoke sudo automatically.
Default environment: ~/.local/share/pii-pdf/venv. --venv PATH selects another environment. --system skip skips installing system packages; if Tesseract is still missing the result remains incomplete. Report a missing package manager or privilege requirement with the exact missing step; do not invent success or silently substitute cloud OCR. Use setup.py --help for supported switches.
For installation through npx and runtime setup, read references/installation.md. The standalone toolkit is maintained at https://github.com/glebis/pii-pdf; this skill includes a versioned source snapshot for reproducible setup.
Doctor mode
When asked to diagnose, check, test or troubleshoot this engine (/pii-pdf doctor), or when a document run fails with exit 2/3:
What ships with it
14 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.
- agents/openai.yaml 259 B
- assets/cli/pyproject.toml 431 B
- assets/cli/README.md 8.7 KB
- assets/cli/src/pii_pdf/__init__.py 135 B runs code
- assets/cli/src/pii_pdf/__main__.py 47 B runs code
- assets/cli/src/pii_pdf/cli.py 18 KB runs code
- assets/cli/src/pii_pdf/engine.py 20 KB runs code
- assets/source.sha256 510 B
- references/evaluation.md 1.7 KB
- references/installation.md 1.4 KB
- scripts/doctor.py 9.3 KB runs code
- scripts/run.py 1.1 KB runs code
- scripts/setup.py 11 KB runs code
- scripts/smoke_fixture.py 3.7 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.
- 22d ago First seen · 83 lines · 65 tokens per session scan B 56aca6e5bf52
pii-pdf is a skill published in the GitHub repository glebis/claude-skills (417 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 1,645 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-11-08.
pii-pdf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pii-pdfglebis/claude-skills | Skill | 417 | today | MIT | B | 65 | Codex |
| LaTeX工具XiaoMaColtAI/math-modeling-skill | Skill | 2.0k | today | none | A | 46 | Claude Code, Codex |
| pdfXiaoMaColtAI/math-modeling-skill | Skill | 2.0k | today | none | A | 92 | Claude Code, Codex |
| autodoc-next-prospectus-auditPaodingAI/skills | Skill | 17 | 1mo ago | none | A | 39 | Codex |
| ChatDOC Studio--KnowledgeMatePaodingAI/skills | Skill | 17 | 1mo ago | none | A | 92 | Codex |
| nanodoc-parsePaodingAI/skills | Skill | 17 | 1mo ago | none | A | 108 | Codex |
| PDFlux-PDF2MarkdownPaodingAI/skills | Skill | 17 | 1mo ago | none | A | 78 | Codex |