cas-bigdatalab/piflow/data-masking
Claude Code and agent skill by cas-bigdatalab/piflow
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
'数据脱敏工具。对结构化数据中的敏感字段进行字符遮蔽脱敏,保留字段位置并用遮蔽字符替换手机号、身份证、姓名、邮箱、银行卡等内容。
Install
npx vskill@latest install cas-bigdatalab/piflow/data-maskingSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry/data-masking.
Data Masking 数据脱敏 Skill
功能概述
本 skill 用于对结构化数据中的敏感信息进行脱敏处理,使用字符遮蔽模式(如 138****5678)。 如需用假数据替换敏感信息,请使用 data_faker。
触发条件
当用户请求以下任务时,应使用此 skill:
- 数据脱敏
- 隐私保护
- 敏感信息处理
- 数据匿名化
- PII(个人可识别信息)处理
核心参数说明
必需参数
--input:输入文件路径--output:输出文件路径--masking_rules:脱敏规则,格式为字段名:脱敏类型
可选参数
--mask_char:脱敏替换字符,默认*
输入文件格式
支持 CSV、TSV、Excel 等结构化数据。
使用方法
输出示例
脱敏效果示例
| 原始值 | 脱敏后 | |
|---|---|---|
13812345678 | 138****5678 | |
110101199001011234 | 110101********1234 | |
张三 | 张* | |
test@example.com | te**@example.com | |
user@example.com | us**@example.com |
环境要求
注意事项
- 脱敏规则格式必须正确:
字段名:脱敏类型 - 字段名必须存在于数据中
- 脱敏后的数据不可逆,请备份原始数据
- 建议在测试环境验证脱敏效果后再处理生产数据
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/data_masking/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cas-bigdatalab/piflow/data-masking)