pii-detect
它能做什么
这项技能指导智能体扫描文本、代码和设置,查找个人或机密信息。适合希望避免无意中泄露电子邮件、电话号码、证件号码或密码的人。
适用场景
- ✓当你即将提交可能含有机密或个人数据的代码时。
- ✓当你编写日志或保存可能包含个人信息的数据时。
- ✓当模型的回复可能暴露某人的联系方式时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-aidefence/skills/pii-detect/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在提交前扫描这些配置文件和日志,看看有没有电子邮件、电话号码或 API 密钥。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体对文本运行快速和详细的个人信息检查,列出发现的位置和类别,并建议如何进行脱敏处理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- Quick PII check — call
mcp__plugin_ruflo-core_ruflo__aidefence_has_piiwith the text for a boolean result - Detailed scan — call
mcp__plugin_ruflo-core_ruflo__transfer_detect-piifor categorized PII findings - Full analysis — call
mcp__plugin_ruflo-core_ruflo__aidefence_analyzefor context-aware PII detection - 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
常见问题
它能检测哪些类型的数据?
这项技能可以识别电子邮件、电话号码、社会保障号码、纳税人识别号、银行卡号、API 密钥、密码、地址,以及与敏感数据相关的姓名。
它会替我删除这些数据吗?
这项技能只会标出位置并建议脱敏,由你决定如何修改。
它能保证完全准确吗?
没有任何检测工具能发现所有内容,所以在依赖结果之前请先自行核对。
详情
作者的原始描述
Detect and flag personally identifiable information (PII) in text, code, and configurations. Use before committing code, writing logs, storing data, or sending model responses that might contain emails, phone numbers, SSNs, API keys, or passwords.
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1570
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。