redact-pii

redact-pii is a skill for Claude Code, Codex from superlinked/sie. It costs 53 tokens per session (488 once invoked), scanned A, original, Apache-2.0.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to redact PII from text, markdown, PDFs, scans, images containing text, office documents, spreadsheets, presentations, and HTML files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/superlinked/sie/redact-pii
About the project

SIE, or Superlinked Inference Engine, is a self-hosted inference server that runs the language, embedding, retrieval, and other models used by AI agents through one API. It is for teams deploying agent workloads in their own cloud and managing many models in a shared production cluster.

superlinked/sie · 3,407 stars · on GitHub · superlinked.com

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 superlinked/sie --skill redact-pii
Clone the repo
git clone --depth 1 https://github.com/superlinked/sie

Made for: Claude Code, Codex.

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-pii

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/superlinked/sie/redact-pii"><img src="https://agentmods.dev/badge/skills/superlinked/sie/redact-pii.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.00488
Opus 5.5 $0.00021 $0.00195
Sonnet 5.5 $0.00011 $0.00098
Haiku 4.5 $0.00005 $0.00049

Measured 1mo ago against content hash 19ab55109524, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (3,407 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 488 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

meta-pdf-reformat-pipeline

Modernize a legacy PDF: structural extraction → natural-language rewrite of problem pages → audit summary → re-merge into the final PDF.

opensquilla/opensquilla · 35 tokens

docx

Read, edit, or create Microsoft Word .docx files. Trigger this skill whenever the user mentions a Word document, .docx file, contract, report, brief, memo, or asks to extract text, modify an existing doc, generate one from a brief, or audit tracked changes. Three execution paths: text-and-structure extraction…

opensquilla/opensquilla · 111 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens

xlsx

Read, edit, or create Microsoft Excel .xlsx workbooks. Trigger this skill whenever the user mentions a spreadsheet, .xlsx file, workbook, sheet, formula, pivot table, or asks to extract tabular data, modify a sheet, or build a workbook from rows. Three execution paths: structured inspection, in-place cell edits, and…

opensquilla/opensquilla · 108 tokens

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

meta-pdf-intelligence

Use this meta-skill instead of answering directly when the user needs PDF analysis, pasted PDF excerpt analysis, digesting, comparison, or question answering that benefits from multi-skill orchestration across PDF extraction, summarization, cross-document synthesis, traceable evidence indexing, and memory capture.

opensquilla/opensquilla · 63 tokens