ClawVault Project Document Masking
Use this skill when a user asks to analyze a local company or project document only after ClawVault checks and desensitizes it.
Example User Request
Please analyze project.txt. It is a company project document, so use @clawvault to check and mask it first.
Required Safety Flow
When the user requests ClawVault masking before analysis:
- Do not directly read the original file for analysis.
- Run this skill first against the user-specified file.
- Analyze only the returned
sanitized_contentor the file written by--output. - Do not quote, summarize, or expose original sensitive values.
- Do not restore numbered placeholders such as
[mask_1]to original values.
This skill masks sensitive business values with numbered non-reversible placeholders such as [mask_1], [mask_2], and [mask_3]. It does not create a reversible mapping.
Commands
/tophant-clawvault-mask-project generate-policy
Generate the default company-project masking policy.
/tophant-clawvault-mask-project generate-policy
/tophant-clawvault-mask-project generate-policy --save-policy /tmp/clawvault-policy.json
/tophant-clawvault-mask-project mask-file
Mask a local document and return JSON containing sanitized content.
/tophant-clawvault-mask-project mask-file project.txt
/tophant-clawvault-mask-project mask-file project.txt --output project.masked.txt
/tophant-clawvault-mask-project mask-file project.txt --policy /tmp/clawvault-policy.json
/tophant-clawvault-mask-project mask-file project.txt --save-policy /tmp/clawvault-policy.json
What Gets Masked
The default policy targets:
- Company names with common Chinese or English organization suffixes.
- Project amount values, especially after labels such as
Project Amount,Contract Amount,Budget,项目金额,合同金额, or预算. - Contextual person names after labels such as
Project Manager,Contact,Owner,负责人,联系人, or项目经理.
For label-introduced values, the label is preserved and only the sensitive value is masked.
Project Amount: USD 300,000
becomes:
Project Amount: [mask_1]
Chinese project-document values are also supported. For example:
客户公司:上海示例科技有限公司
项目金额:人民币三百万元
项目经理:张伟
联系人:李娜
becomes:
客户公司:[mask_1]
项目金额:[mask_2]
项目经理:[mask_3]
联系人:[mask_4]
No-Match Warning
If no sensitive content is matched, the skill returns the original content as sanitized_content, sets detections to 0, and includes this warning:
No matching sensitive content was found. This does not guarantee the document is safe; it only means the current policy did not match.
Privacy Rules
- Reads only the user-specified input file.
- Never modifies the original file.
- Writes only optional sanitized output files or optional saved policy JSON files.
- Does not request network access.
- Does not start or require the ClawVault proxy or dashboard.
- Does not access credentials.
- Does not output original matched values.
微信扫一扫