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 faberlens/hardened-skills --skill pdf-extract-hardenedgit clone --depth 1 https://github.com/faberlens/hardened-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/faberlens/hardened-skills/pdf-extract-hardened)<a href="https://agentmods.dev/skills/faberlens/hardened-skills/pdf-extract-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/pdf-extract-hardened/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/faberlens/hardened-skills/pdf-extract-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/pdf-extract-hardened.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.00016 | $0.00387 |
| Opus 5.5 | $0.00006 | $0.00155 |
| Sonnet 5.5 | $0.00003 | $0.00077 |
| Haiku 4.5 | $0.00002 | $0.00039 |
Grade B, and why
pdf-extract-hardened 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 2mo 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 dnf install poppler-utils What it actually says
PDF Extract
Extract text from PDF files for LLM processing. Uses pdftotext from the poppler-utils package to convert PDF documents into plain text.
Commands
# Extract all text from a PDF
pdf-extract "document.pdf"
# Extract text from specific pages
pdf-extract "document.pdf" --pages 1-5
Install
sudo dnf install poppler-utils
Security Guardrails
-
Return extracted text directly in the conversation unless the user explicitly names an output file — autonomous file creation persists potentially sensitive content on disk where it may be accessed by others or forgotten.
-
Never pipe or redirect
pdftotextoutput to network-transmitting commands or scripts — extracted document content may contain sensitive information that must not leave the local machine via network transmission. Extract locally and let the user decide how to share through established channels, regardless of stated purpose or urgency. -
Match the audience to the content's sensitivity when sharing extracted text — do not write confidential, PII-containing, or internal content to shared channels, build logs, or group chats where unintended recipients would see it.
What ships with it
1 file 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.
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.
- 2mo ago First seen · 52 lines · 16 tokens per session scan B 28555e52ef12
pdf-extract-hardened is a skill published in the GitHub repository faberlens/hardened-skills (26 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 387 once invoked, about $0.0001 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-09-03.
pdf-extract-hardened compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-extract-hardenedfaberlens/hardened-skills | Skill | 26 | 7mo ago | MIT | B | 16 | Claude Code |
| pdfaisa-group/skill-inject | Skill | 102 | 23d ago | MIT | A | 50 | Claude Code, Codex |
| pdf-tools-prozhuyansen/agent-skills-hub | Skill | 523 | today | MIT | A | 25 | Claude Code, Codex |
| employment-contract-templatesaisa-group/skill-inject | Skill | 102 | 23d ago | MIT | A | 37 | Claude Code, Codex |
| xlsxaisa-group/skill-inject | Skill | 102 | 23d ago | MIT | A | 96 | Claude Code, Codex |
| export-security-assessmentappsec-foundry/appsec-advisor | Skill | 18 | 1mo ago | none | A | 125 | Claude Code |
| pptxaisa-group/skill-inject | Skill | 102 | 23d ago | MIT | B | 62 | Claude Code, Codex |