data-minimizer
FreeNo executable scriptsNot checkeddata-minimizer — 把文本里的手机号/邮箱/证件号/长号/指定人名一键打码后交给 AI,输出脱敏文本+脱敏报告;支持 --names 自定义人名、--json。 适用场景:当需要给AI前脱敏器能力时使用本技能;触发词:data-minimizer。
by zhaoxinghua09-cell639 installs in other catalogsAbout this skill
凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:见平台质量门禁规范
English
When to use
Before sending text containing phone numbers, emails, ID numbers or long digit strings to an external AI model. When document processing involves privacy compliance and named entities must be anonymized. When the workflow needs both the cleaned text and a masking report for audit.
Usage
Run python data_minimizer.py --input_text <text> --output_format json. --names takes a custom name list (e.g. ['Zhang San']); --json enables structured output.
Flow
- Prepare the raw text; confirm it contains sensitive info to protect.
- Configure params; add
--namesfor custom-name masking. - Run the script; it scans for sensitive data.
- On completion, replace detected items with masks and generate the report.
- Read the final output; JSON mode returns a structured result for downstream use.
Evidence & safety
- Evidence: TBD. Version: 1.0.1. Security: no independent scan (TBD).
中文
何时用
当您需要将包含手机号、邮箱、证件号或长号码的文本发送给外部 AI 模型前;当文档处理流程涉及隐私合规,需对指定人名及敏感标识进行匿名化处理时;当您希望在工作流中同时获取脱敏后的干净文本及详细的脱敏报告记录以备审计。
用法
执行命令:python data_minimizer.py --input_text <待处理内容> --output_format json。支持参数说明:--names 用于传入需要脱敏的自定义人名列表(如 ['张三']),--json 用于启用 JSON 结构化输出模式以返回报告数据。
流程
- 准备待处理的原始文本内容,确认其中包含需保护的敏感信息。
- 根据需求配置参数,若涉及特定人名脱敏请添加
--names列表。 - 在终端执行命令启动脚本,系统将读取输入并开始扫描敏感数据。
- 等待处理完成,系统自动将识别到的敏感项进行掩码替换并生成报告。
- 获取最终输出,若开启了 JSON 模式则直接获得结构化结果用于后续调用。
证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.0.1
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
Install data-minimizer in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadGlobGrepBashWriteWebFetchFAQ
What does the data-minimizer skill do?
data-minimizer — 把文本里的手机号/邮箱/证件号/长号/指定人名一键打码后交给 AI,输出脱敏文本+脱敏报告;支持 --names 自定义人名、--json。 适用场景:当需要给AI前脱敏器能力时使用本技能;触发词:data-minimizer。
How do I install the data-minimizer skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the data-minimizer skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic