redact-outgoing

redact-outgoing is a skill for Claude Code from dambuchs/redact-pdf-mcp. It costs 66 tokens per session (648 once invoked), scanned A, original, MIT.

A document-redaction workflow for removing personal data from PDFs, scans, or screenshots before they leave a repository. Redaction means hiding or removing details such as names, email addresses, phone numbers, and account numbers.

In plain words
What is it for?
Use it to prepare outgoing documents for vendors, issue trackers, or other external recipients while protecting the originals.
Why use it?
It prevents unredacted personal information from being committed, attached to an issue, or sent outside the company. It also keeps the original files away from the agent and helps avoid adding generated sensitive files to Git.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to prepare outgoing documents for vendors, issue trackers, or other external recipients while protecting the originals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dambuchs/redact-pdf-mcp/redact-outgoing
Install

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.

Any agent
npx skills add dambuchs/redact-pdf-mcp --skill redact-outgoing
Clone the repo
git clone --depth 1 https://github.com/dambuchs/redact-pdf-mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for redact-outgoing

README.md
[![agentmods](https://agentmods.dev/badge/skills/dambuchs/redact-pdf-mcp/redact-outgoing/github.svg)](https://agentmods.dev/skills/dambuchs/redact-pdf-mcp/redact-outgoing)
Your own site
<a href="https://agentmods.dev/skills/dambuchs/redact-pdf-mcp/redact-outgoing"><img src="https://agentmods.dev/badge/skills/dambuchs/redact-pdf-mcp/redact-outgoing/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.

agentmods 80×15 button for redact-outgoing

Your own site · 80×15
<a href="https://agentmods.dev/skills/dambuchs/redact-pdf-mcp/redact-outgoing"><img src="https://agentmods.dev/badge/skills/dambuchs/redact-pdf-mcp/redact-outgoing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.00648
Opus 5.5 $0.00026 $0.00259
Sonnet 5.5 $0.00013 $0.00130
Haiku 4.5 $0.00007 $0.00065

Measured 11d ago against content hash df4903e89e74, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

redact-outgoing 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 11d 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.

examples/claude-code/.claude/skills/redact-outgoing/SKILL.md · 31 lines

How it starts

The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redact documents before they leave

Uses the redact-pdf MCP server from .mcp.json. Keep this file at .claude/skills/redact-outgoing/SKILL.md in the repository, next to .claude/settings.json: this skill only guides Claude, the deny rules in that file are what stop it reading the tables, the restored files and the originals under outgoing/.

Never open the original

Do not Read, cat or preview the document before it is redacted. Pass its path to the tool and nothing else. The same goes for any -correspondence.csv and -restored file: they hold the real names.

Keep the outputs out of git

The -correspondence.csv and -restored files hold the real names, and the originals are what you are protecting. They are written next to the original. Check that .gitignore covers them (for example *-correspondence.csv, *-restored.* and the folder that holds originals) before running git add.

Redact (black boxes)

  1. Call redact_pdf_and_wait with file_path set to the absolute path and pii_categories set to ["Person", "Email", "PhoneNumber", "Address", "Organization", "Date", "IBAN", "CreditCard"], unless the user asked to keep some of them.
  2. Report output_path (the -redacted.pdf next to the original). If the result lists categories_not_redacted, tell the user those stay in the file.
  3. Only the -redacted.pdf may be committed or sent. Remind the user that the original is unchanged.

Work on it without seeing names

  1. Call redact_pdf_and_wait with mode: "pseudonymize" and the same pii_categories list. If the result lists categories_not_redacted, stop and ask the user: names or other details would be in the text you read.
  2. Work from document_text (or the file at document_text_path), keeping tags such as [Person 1] exactly as written.
  3. Write the result to a .md file, then call restore_names with that file and correspondence_path. Do not pass output_path: the default -restored name is the one the deny rules cover.
  4. Give the user the restored file's path. Do not open it. If replacements is 0, say that no tag was found and nothing was restored.

Read the full file on GitHub · 31 lines

Changes

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.

  1. 11d ago First seen · 31 lines · 66 tokens per session scan A df4903e89e74

Subscribe to this mod's changes

redact-outgoing is a skill published in the GitHub repository dambuchs/redact-pdf-mcp (1 stars, last pushed 11d ago), licensed MIT. It adds 66 tokens to every session and 648 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-11-22.

Related

redact-outgoing compared with skills from other repositories

redact-outgoing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
redact-outgoingdambuchs/redact-pdf-mcpSkill111d agoMITA66Claude Code
pdf-processingPrefectHQ/fastmcpSkill29ktodayApache-2.0A14Claude Code, Codex
kernelcad-drawingsw1ne/kernelCAD-webSkill37todayMITA69Claude Code, Codex
pubmed-fulltext-accessu9401066/pubmed-search-mcpSkill30yesterdayApache-2.0A72Claude Code
pdf-asset-extractoru9401066/pubmed-search-mcpSkill30yesterdayApache-2.0A84Claude Code
cvxhrtips/cvxSkill84d agoApache-2.0A87Claude Code, Codex
agoragentic-anydoc-document-evidencerhein1/agoragentic-integrationsSkill411mo agoMITA82Cursor