privacy-file-content-replace-v1

Replace file_content with user-provided text in WeChat interactions.

13|3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Theodora-Y/MaskClaw --skill privacy-file-content-replace-v1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: privacy-file-content-replace-v1
Source: https://github.com/Theodora-Y/MaskClaw/tree/main/user_skills/demo_UserA/privacy-file-content-replace-v1
Command: npx skills add https://github.com/Theodora-Y/MaskClaw --skill privacy-file-content-replace-v1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

In WeChat scenarios, when users interact with an Agent and file_content could disclose sensitive data, this rule replaces the content with a user-provided replacement to protect privacy.

Core Features & Use Cases

  • Privacy-preserving replacement: automatically substitutes file_content with user_provided_replacement during WeChat file transfers.
  • Deterministic behavior: ensures the replacement happens consistently for all applicable send_file actions.
  • Edge-case handling: if no replacement text is provided or the content is empty, the rule prevents unintended behavior and logs the outcome.

Use Case: When sharing documents or images via WeChat, the rule ensures sensitive content is masked by a user-supplied text before transmission.

Quick Start

Enable this rule in WeChat interactions to automatically replace the file_content with user_provided_replacement.

Frequently Asked Questions about privacy-file-content-replace-v1

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I protect privacy when sending files through WeChat agents?

To protect privacy in WeChat, you can use a content replacement rule to automatically substitute the file_content field with a user-provided replacement text before the file is transmitted.

What happens to file_content if I do not provide replacement text?

If no replacement text is provided or the content is empty, the replacement rule prevents unintended behavior by gracefully handling the edge case and logging the outcome without disrupting subsequent actions.

How does WeChat file content masking work for on-device agents?

On-device WeChat agents can apply a deterministic replace strategy to consistently mask sensitive file_content by swapping it with a user-supplied text during all applicable send_file actions.

Can I automatically redact sensitive data in WeChat file transfers?

Yes, you can automatically redact sensitive data by applying a privacy-preserving rule that validates the presence of replacement text and substitutes the original file_content during WeChat interactions.

Does WeChat file content replacement interrupt subsequent agent actions?

No, replacing WeChat file_content does not interrupt subsequent agent actions; the rule ensures that downstream processes continue normally after validating and applying the replacement text.