redact-pii

star 77

Detect and mask PII in-line in the text, replacing it with label placeholders like [PERSON] and [EMAIL]. Use when the user asks to redact, scrub, mask, anonymize, or sanitize a passage before sharing or logging it.

zerogpu By zerogpu schedule Updated 5/27/2026

name: redact-pii description: Detect and mask PII in-line in the text, replacing it with label placeholders like [PERSON] and [EMAIL]. Use when the user asks to redact, scrub, mask, anonymize, or sanitize a passage before sharing or logging it. argument-hint: "" allowed-tools: Bash(zerogpu redact_pii*)

Mask PII in-line. $ARGUMENTS is the raw user text — pass it verbatim, no escaping or quoting required (the heredoc below handles every shell metacharacter, newline, quote, and paren safely):

ZGPU_TEXT=$(cat <<'ZGPU_END_OF_INPUT'
$ARGUMENTS
ZGPU_END_OF_INPUT
)
zerogpu redact_pii "$ZGPU_TEXT"

Output is the original text with PII spans replaced by [LABEL] placeholders. For extracting (not masking) PII, use /zerogpu-router:extract-pii.

Savings note: only if the command output literally contains a line starting with 💰 ZeroGPU savings, append that exact line, unchanged, as the last line of your reply. If no such line is present, say nothing about savings and do not mention or suggest /zerogpu-router:cost-savings — this note is intentionally occasional, not shown every time.

Install via CLI
npx skills add https://github.com/zerogpu/zerogpu-router --skill redact-pii
Repository Details
star Stars 77
call_split Forks 11
navigation Branch main
article Path SKILL.md
More from Creator