redact-pii

redact-pii is a skill for Claude Code, Codex from runxhq/runx. It costs 40 tokens per session (1,048 once invoked), scanned A, original, Apache-2.0.

A privacy filter that finds personal data in supplied content and replaces it, tokenizes it, or blocks the content from crossing a trust boundary.

In plain words
What is it for?
It scans content for personal data, reports its locations without repeating the values, applies the selected handling mode, and returns usable content only when the final check passes.
Why use it?
It reduces the risk of exposing personal information in exports, prompts, logs, support material, and handoffs. It also checks that sensitive data did not remain after redaction.

Skill for Claude CodeCodex

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

Good fit It scans content for personal data, reports its locations without repeating the values, applies the selected handling mode, and returns usable content only when the final check passes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/redact-pii
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 runxhq/runx --skill redact-pii
Clone the repo
git clone --depth 1 https://github.com/runxhq/runx

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/runxhq/runx/redact-pii/github.svg)](https://agentmods.dev/skills/runxhq/runx/redact-pii)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/redact-pii"><img src="https://agentmods.dev/badge/skills/runxhq/runx/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/runxhq/runx/redact-pii"><img src="https://agentmods.dev/badge/skills/runxhq/runx/redact-pii.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,048 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.00040 $0.01048
Opus 5.5 $0.00016 $0.00419
Sonnet 5.5 $0.00008 $0.00210
Haiku 4.5 $0.00004 $0.00105

Measured 17d ago against content hash 5387a05f57c5, 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 17d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (redact-pii.mjs, redact-pii.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/redact-pii/SKILL.md · 93 lines

How it starts

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

Redact PII

Prepare support material, a prompt, a log excerpt or another bounded document for a declared audience without carrying selected personal data across that boundary. The result is the scrubbed text and a source-bound report. Only ready releases text; needs_review and blocked release none. This skill does not send or publish anything.

Review and treatment

The default redact-pii reviews the supplied content, identifies the selected personal-data classes and returns exact text selections. The deterministic phase locates those selections, applies replacements, scans the residual for selected identifier patterns and binds the source and result to native digests. A block policy skips the model and returns a blocked result immediately.

Choose redact, tokenize or block. Omitted classes use the module's broad default policy: names, email, phone, postal address, government/tax identifiers, payment cards, account/record identifiers, precise geolocation and date of birth. An explicit class list defines the scope; custom sensitive-data classes are supported. A names-only policy does not claim to remove email or other classes. The final report retains that scope and locale.

A detector selects exact source quotes rather than calculating character offsets. A unique quote needs no position. For repeated text, select one occurrence, all occurrences, or disambiguate with an exact adjacent prefix/suffix. A missing, ambiguous or overlapping selection blocks release. Selection does not normalize Unicode or change whitespace. The module computes the final UTF-16 spans, so an emoji or combining character before an identifier cannot shift a model-authored offset into unrelated text.

Semantic uncertainty remains a separate gate. A clean pattern scan cannot clear acknowledged ambiguity, elevated residual risk or loss of meaning. The scanner covers selected direct/obfuscated identifier patterns; it cannot prove the absence of names, contextual identification or sensitive inferences. Use needs_review when that matters for the actual audience and purpose.

Read the full file on GitHub · 93 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. 17d ago Changed · -2 lines 5387a05f57c5
  2. 25d ago Changed · +36 lines · -25 tokens per session 55305c984931
  3. 2mo ago First seen · 59 lines · 65 tokens per session scan A 2358e19a81b0

Subscribe to this mod's changes

redact-pii is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 1,048 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-09-03.

Related

redact-pii compared with skills from other repositories

redact-pii next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
redact-piirunxhq/runxSkill106yesterdayApache-2.0A40Claude Code, Codex
dd-risk-scoringAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-synthesisAbilityai/trinitySkill822todayApache-2.0A33Claude Code, Codex
dd-report-formatAbilityai/trinitySkill822todayApache-2.0A27Claude Code, Codex
dd-sourcingAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-verificationAbilityai/trinitySkill822todayApache-2.0A35Claude Code, Codex
gh-treasure-huntHmbown/CodeWhaleSkill41k2d agoMITA39Claude Code, Codex