omh-data-share-review
它能做什么
它为文件中的每个字段分类,删除不需要的内容,用假名替换标识符,并在声称已脱敏之前扫描结果。适合需要与供应商分享数据、或需要公开发布数据而又不暴露个人信息的人。
适用场景
- ✓当你想与外部供应商分享数据集或日志时。
- ✓当一份含有客户信息的文件即将公开发布时。
- ✓当你想在导出数据用于训练或测试模型之前删除其中的个人数据时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-data-share-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在我把这份客户导出数据发给分析供应商之前,请检查其中是否有个人数据,并遮盖不应外泄的内容。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体列出每个字段,删除接收方不需要的内容,对标识符进行假名化并将映射保存在本地,然后扫描结果。只有在扫描之后,它才会把文件称为已脱敏。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Data Share Review
This is an OMH data-share-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
data-share-review exists because data leaving the team had no owner: Hermes redacts identifiers in gateway chat and secrets in tool output, omh-security-safety-review reviews an agent's own exposure, and omh-legal-compliance-review reads the obligations, while nothing minimized a file's fields, kept its pseudonym mapping local, and refused to call it redacted before a scan of what actually leaves.
First Steps
- Ask where the file goes and what the destination needs it for before touching a field.
- Inventory the fields from the header and the schema before planning any masking.
Do Not Use When
- Whether the data may lawfully leave at all -- the lawful basis, a DPA, consent, or a cross-border transfer -- is a contract and compliance question; use
omh-legal-compliance-review, then return here for the fields. - The exposure is an agent's tool permissions, a secret in code, or a prompt-injection path rather than a file about to leave; use
omh-security-safety-review. - The ask is analysing the dataset itself -- trends, a cleanup, a chart; use
omh-data-analysis. - Filing the issue once its attachment is clean -- the title, labels, and reproduction steps; use
omh-github-issue-intake. - Building the training set or deciding whether to train once the corpus is clean; use
omh-model-finetuning. - Working the support queue -- triaging or answering tickets rather than exporting them; use
omh-support-operations.
Examples
Good example:
- Prompt: the analytics vendor wants last month's ticket export, take the customer details out first
- Expected behavior: Ask what the vendor needs, inventory the columns from the header and per-column shape counts, drop the ones it does not need, pseudonymize the customer id with the mapping kept in a local folder, count emails, phone numbers, names, and secrets in the output with a scan that prints counts only, and write the share record.
- Why: A masking step that was never followed by a scan of the shipped file has not shown that anything came out.
Bad example:
- Prompt: I ran find and replace on the emails, so the file is clean, right
- Expected behavior: Hold the verdict at not_observed: count every class in the exact file that leaves, free-text fields included, before calling it redacted.
- Why: A find and replace covers the shapes it was given; names and account numbers in a notes column stay.
Completion Checklist
- Every field has a class and an action, and each kept field names the destination's need for it.
- The pseudonym mapping, if any, sits at a local path outside the shipped file.
- The residual scan ran on the exact file that leaves and counted every class, free text included.
- The verdict is redacted only with that scan observed; otherwise it reads not_observed.
- The share record holds destination, date, fields, row count, and digest, and no value from the file.
Recovery Notes
- If the scan cannot run in this session, hand the user the per-class scan and keep the verdict not_observed until the counts come back.
- If a class still has hits after masking, fix the field or the free text and scan again; never ship on an explained hit that was not accepted by name.
When to Use
Use when a dataset, log bundle, ticket or CRM export, or transcript excerpt is about to leave the team -- to a vendor or contractor, a public issue, a model provider, or a training corpus -- and its personal data, identifiers, and secrets must come out first. The output is a field inventory with each field's class, a minimization plan, a residual scan of the file that leaves with counts per class, and a metadata-only record of what left; OMH uploads nothing and keeps no raw data.
Strong routing signals: `data-share-review`, `data share review`, `pii redaction`, `redact pii`, `pseudonymize`, `de-identify`, `anonymize the dataset`, `residual pii`, `redact the pii`, `redact personal data`, `strip pii`, `strip the pii`, `remove pii`, `remove the pii`, `scrub pii`, `scrub the pii`, `mask pii`, `mask personal data`, `remove personal data`, `scan for pii`, `pseudonymise`, `pseudonymizing`, `pseudonymization`, `pseudonymisation`, `de-identifying`, `deidentify`, `quasi-identifier`, `quasi-identifiers`, `direct identifiers`, `anonymize this dataset`, `anonymize the data`, `anonymize the lo
常见问题
这会决定我是否有权分享这些数据吗?
不会。法律依据、合同和同意由合规审查技能负责。
假名映射的密钥存放在哪里?
该技能把映射保存在本地,不会随共享文件一起发送。
它会检查代码中的密钥吗?
不会。密钥以及智能体自身的暴露风险由安全审查技能负责。
详情
作者的原始描述
[omh] Before data leaves the team -- a dataset, log, ticket export or transcript excerpt bound for a vendor, a public issue, a model provider or a training corpus: classify every field, minimize first, pseudonymize with the mapping kept local, and call it redacted only after an observed residual scan. Use when the user says: data-share-review, data share review, pii redaction, redact pii, pseudonymize, de-identify, anonymize the dataset, residual pii.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15095
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。