Skip to main content
AI/MLruvnet

pii-detect

Detect and flag personally identifiable information (PII) in text, code, and configurations

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--pii-detect
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-aidefence/skills/pii-detect/SKILL.md -o .claude/skills/pii-detect.md

Drops the SKILL.md into .claude/skills/pii-detect.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

PII Detection

Detect personally identifiable information before it enters logs, commits, or responses.

When to use

Before committing code, storing data, or sending responses that might contain PII (emails, phone numbers, SSNs, API keys, passwords).

Steps

  1. Quick PII check — call mcp__claude-flow__aidefence_has_pii with the text for a boolean result
  2. Detailed scan — call mcp__claude-flow__transfer_detect-pii for categorized PII findings
  3. Full analysis — call mcp__claude-flow__aidefence_analyze for context-aware PII detection
  4. If PII found, flag the specific locations and suggest redaction

PII categories detected

  • Email addresses, phone numbers
  • Social security numbers, tax IDs
  • Credit card numbers
  • API keys, tokens, passwords
  • Physical addresses
  • Names linked to sensitive data