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 dambuchs/redact-pdf-mcp --skill redact-before-sharinggit clone --depth 1 https://github.com/dambuchs/redact-pdf-mcpWrote 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/dambuchs/redact-pdf-mcp/redact-before-sharing)<a href="https://agentmods.dev/skills/dambuchs/redact-pdf-mcp/redact-before-sharing"><img src="https://agentmods.dev/badge/skills/dambuchs/redact-pdf-mcp/redact-before-sharing/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/dambuchs/redact-pdf-mcp/redact-before-sharing"><img src="https://agentmods.dev/badge/skills/dambuchs/redact-pdf-mcp/redact-before-sharing.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.00085 | $0.00501 |
| Opus 5.5 | $0.00034 | $0.00200 |
| Sonnet 5.5 | $0.00017 | $0.00100 |
| Haiku 4.5 | $0.00009 | $0.00050 |
Grade A, and why
redact-before-sharing scanned grade A with 0 findings 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 18d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Redact or anonymize a document
1. Get the document
Call create_upload_link and give the user the upload_url as a link. They choose the file on that page and it goes straight to Redact PDF AI, not through this conversation. Do not read an attached copy of the document before redacting it.
2. Run it
When the user says the file is uploaded, call redact_pdf_and_wait with the upload_id.
- To black out personal data, leave
modeat its default. - To keep the document readable, pass
mode: "pseudonymize": every person, company and address becomes a consistent tag such as [Person 1], and the result includesdocument_text, the document with tags in place of names. pii_excluded_termskeeps words visible, such as the employer's name on a payslip.pii_included_termsalways removes extra words, such as a reference number.
If the answer is waiting_for_upload, the user has not finished: ask them, then call it again.
3. Report back
Give the user the download_url as a link and the page count. The removed text is deleted from the file, not hidden under a box. Automatic detection can miss something, so for a filing or anything public the user should check the redacted PDF before sending it.
In pseudonymize mode, work only from document_text and keep every tag exactly as written. When the user wants the real names back in what you wrote, call restore_names with the document_id, the text_version and your text, and give them the link it returns. Never open the correspondence link yourself: it contains the real names.
4. Delete on request
When the user asks to delete a document, confirm first, then call delete_job with the job_id. The files and links stop working at once.
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.
- 18d ago Changed · +2 lines · -9 tokens per session b1bfbc56dd1d
- 1mo ago First seen · 29 lines · 94 tokens per session scan A c5296062f594
redact-before-sharing is a skill published in the GitHub repository dambuchs/redact-pdf-mcp (1 stars, last pushed 12d ago), licensed MIT. It adds 85 tokens to every session and 501 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-19.
redact-before-sharing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| redact-before-sharingdambuchs/redact-pdf-mcp | Skill | 1 | 12d ago | MIT | A | 85 | Claude Code, Codex |
| pdf-processingPrefectHQ/fastmcp | Skill | 29k | today | Apache-2.0 | A | 14 | Claude Code, Codex |
| kernelcad-drawingsw1ne/kernelCAD-web | Skill | 37 | today | MIT | A | 69 | Claude Code, Codex |
| pubmed-fulltext-accessu9401066/pubmed-search-mcp | Skill | 30 | 2d ago | Apache-2.0 | A | 72 | Claude Code |
| pdf-asset-extractoru9401066/pubmed-search-mcp | Skill | 30 | 2d ago | Apache-2.0 | A | 84 | Claude Code |
| cvxhrtips/cvx | Skill | 8 | 4d ago | Apache-2.0 | A | 87 | Claude Code, Codex |
| agoragentic-anydoc-document-evidencerhein1/agoragentic-integrations | Skill | 41 | 1mo ago | MIT | A | 82 | Cursor |