Privacymask — Data De-identification and Privacy Protection Assistant for Openclaw

Privacymask is a local-first data masking skill that detects and redacts sensitive information across common file formats without uploading data.

zxj2devs
v1.0.0
Aug 3, 2026
0
30
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install privacymask

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install privacymask using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Privacymask — Data De-identification and Privacy Protection Assistant?

Privacymask helps teams and individuals safely de-identify sensitive content on-device, making it ideal for privacy protection, compliance workflows, and secure data sharing. As one of the most practical Openclaw Skills for regulated environments, it supports offline processing, preserves original files, and generates masked copies plus audit-ready reports.

It covers a wide range of formats including TXT, CSV, JSON, YAML, MD, HTML, DOCX, XLSX, PPTX, and PDF, while applying 20+ built-in masking rules for Chinese personal data standards and international PII frameworks such as GDPR, PCI DSS, HIPAA, and GLBA. Openclaw Skills like this are designed for fast, repeatable, and compliant redaction at scale.

Privacymask — Data De-identification and Privacy Protection Assistant Use Cases

  • Mask sensitive data before sharing reports, spreadsheets, contracts, or presentations.
  • Preview and detect privacy risks without modifying the source file.
  • Redact single documents or entire folders in batch mode.
  • Apply organization-specific custom rules for contract IDs, internal identifiers, or proprietary fields.
  • Export detection results to JSON or CSV for compliance review and downstream processing.
  • Support legal, finance, HR, audit, and privacy teams that need zero-upload processing.
  • Use Openclaw Skills in regulated workflows where local execution and traceability are required.

How Privacymask — Data De-identification and Privacy Protection Assistant Works

  1. The user submits a file, folder, or preview request to Openclaw Skills Privacymask.
  2. The skill identifies the input format and parses text, tables, structured data, or document content accordingly.
  3. Built-in masking rules scan for sensitive fields such as IDs, phone numbers, bank cards, emails, addresses, credentials, and more.
  4. Matching values are redacted using format-preserving patterns where applicable, while the original file remains untouched.
  5. A masked output file is generated in the requested destination.
  6. The skill also compiles a detection summary that includes item type, count, and location for compliance review.
  7. If needed, the user can define custom patterns and rerun the workflow for organization-specific identifiers.
  8. Results can be exported as JSON or CSV for reporting, storage, or downstream automation.

Privacymask — Data De-identification and Privacy Protection Assistant Setup

  1. Install or enable Privacymask inside your Openclaw Skills environment or MCP Toolbox bundle.
  2. Confirm the skill is available locally; no external API or cloud connection is required.
  3. Point the skill to a file or directory containing supported formats.
  4. Optionally define custom masking rules before running batch jobs.
  5. Choose whether to generate a masked copy, run preview-only detection, or export a report.
# Mask a single file into a new output directory
请脱敏 C:/reports/audit_2024.xlsx 输出到 C:/masked/

# Mask an entire folder
批量脱敏 C:/finance/2024/ 全部脱敏输出到 C:/finance_masked/

# Preview sensitive data without modifying the source
帮我检测 C:/data/customer_list.csv 里有哪些敏感信息

# List available masking rules
查看所有脱敏规则
查看手机号码和身份证号规则

# Add a custom rule for contract numbers
新增自定义规则:合同编号,模式为 [Tt]\d{6,},掩码用 * 替换

# Export detection results
将检测结果导出到 C:/report.json
  1. Review the generated output and exported report to verify compliance coverage before distribution.

Privacymask — Data De-identification and Privacy Protection Assistant Data Schema & Taxonomy

Privacymask organizes data around three main layers: input sources, masking rules, and output artifacts.

Layer Purpose Examples
Input files Detect and redact sensitive data in supported formats TXT, CSV, JSON, YAML, MD, HTML, DOCX, XLSX, PPTX, PDF
Rule taxonomy Built-in and custom sensitive-data patterns ID cards, phone numbers, bank cards, emails, IPs, CVV, IBAN, SSN, contract numbers
Output artifacts Preserved masked copy plus machine-readable reporting masked document, JSON report, CSV report

Supported file handling behavior:

  • Plain text formats: direct redaction of sensitive strings.
  • CSV/TSV: cell-level masking while preserving structure.
  • JSON/YAML: recursive masking of string values.
  • DOCX/PPTX: paragraph, table, and slide-text masking with layout preservation.
  • XLSX/XLS: cell-level masking while preserving formulas and formatting.
  • PDF: text-layer redaction.

Metadata captured in reports typically includes:

  • Sensitive type detected
  • Count of matches
  • Match position or location
  • Applied rule name
  • Output destination

Openclaw Skills users can extend the taxonomy with custom patterns for internal identifiers such as contract IDs, employee IDs, or proprietary account numbers.

Privacymask — Data De-identification and Privacy Protection Assistant Advanced Features

  • Local-only execution with zero upload, making Openclaw Skills suitable for confidential and regulated data.
  • Original files remain unchanged; only redacted copies are produced.
  • Batch folder processing for high-volume privacy cleanup.
  • Preview mode for detection-only review before masking.
  • Exportable JSON/CSV findings for audits, sharing, and automation pipelines.
  • Custom rule support for business-specific sensitive fields.
  • Broad multi-format support across documents, spreadsheets, slides, structured data, and PDFs.
  • Compliance-oriented rule coverage for Chinese privacy standards and international PII frameworks.
  • Cleanly fits into the MCP Toolbox skill matrix for coordinated use with other Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*