redact-pii

A document-cleaning step that detects and replaces personally identifiable information, such as names or contact details, before the document is used.

In plain words
What is it for?
Use it to redact PII from text, markdown, PDFs, scans, images containing text, office documents, spreadsheets, presentations, and HTML files.
Why use it?
It lets you work from a redacted copy instead of exposing personal or sensitive data to later processing. The original values cannot be recovered from this workflow.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/superlinked/sie/redact-pii
Any agent
npx skills add superlinked/sie --skill redact-pii
Clone the repo
git clone --depth 1 https://github.com/superlinked/sie

Made for: Claude Code, Codex.

Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00488
Opus 5 $0.00026 $0.00244
Sonnet 5 $0.00011 $0.00098
Haiku 4.5 $0.00005 $0.00049

Measured 3d ago against content hash 19ab55109524, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

redact-pii 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 3d 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.

packages/sie_mcp/plugin/claude-code/redact-pii/SKILL.md · 51 lines

What it actually says

Redact PII with Superlinked MCP

Use the connected Superlinked MCP server to detect and replace PII on the SIE cluster through the MCP redact_pii tool.

Hard Rules

  • Do not open, view, attach, or read the source document into context before redaction.
  • After redaction, continue the user's task using only the redacted artifact.
  • The MCP tool intentionally does not return a placeholder-to-original map. Do not promise de-redaction from the MCP flow.

Steps

  1. Call the Superlinked MCP redact_pii tool:

    • For PDF, scan, image-of-text, DOCX, PPTX, XLSX, or HTML inputs, read raw bytes only, base64-encode them, and pass document_base64 plus filename.
    • For text or markdown inputs, read raw bytes only, base64-encode them, and pass content_base64.
    • Pass labels only if the user wants a custom PII/sensitive-data set.
    • Leave engine as auto unless the user explicitly asks to force a conversion engine.
  2. Write the returned redacted_text to processed/<source-stem>.redacted.md. Create processed/ if it does not exist.

  3. Your next message must begin with a short receipt:

    Redacted <span_count> spans from <source> -> processed/<source-stem>.redacted.md
    

    Include the label counts and the note that detection is model-based and best-effort, not a certified scrubber.

  4. Continue the user's actual task using only the redacted artifact.

Errors

If the MCP call fails, relay the tool error and do not retry blindly. For auth or connector errors, tell the user to reinstall the generated MCP plugin pack or rerun the generated claude mcp add ... --header 'Authorization: Bearer ...' command from INSTALL.md.

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. 3d ago First seen · 51 lines · 53 tokens per session scan A 19ab55109524

Subscribe to this mod's changes

redact-pii is a skill published in the GitHub repository superlinked/sie (2,940 stars, last pushed 5d ago), licensed Apache-2.0. It adds 53 tokens to every session and 488 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens

vector-search-workflows

Vector search indexing and querying workflows using MCP Vector Search, including setup, reindexing, auto-index strategies, and MCP integration.

bobmatnyc/claude-mpm-skills · 31 tokens

locus

npx @sylphx/locus --root=/absolute/path/to/project.

SylphxAI/coderag · 0 tokens

RAG Chunking Strategy Advisor

Given a document type and retrieval goal, recommends the optimal chunking strategy for a RAG pipeline to minimize retrieval failures.

Notysoty/openagentskills · 31 tokens

check-memory-before-acting

Search this project's own memory before doing something it may already have opinions about. Use before running a build/test/deploy command, before choosing a library or approach, before changing configuration or CI, and before re-opening a decision that may already have been settled. Also use when a task resembles…

GiulioDER/RE-call · 66 tokens

keep-memory-current

Load this project's memory when you start, and write back what you learned before you stop. Use at the beginning of a work session, when finishing a task or about to end a session, after debugging something non-obvious, after a decision that took argument to reach, and whenever you catch yourself thinking "I should…

GiulioDER/RE-call · 77 tokens