# Privacy File Content Replace V1

> 在 在 wechat 场景下，Agent 想要 send_file 时 场景下保护 file_content 字段。 策略为 replace。

- Skill: `theodora-y/privacy-file-content-replace-v1-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add theodora-y/privacy-file-content-replace-v1-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/theodora-y/privacy-file-content-replace-v1-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Theodora-Y (https://skillmd.com/u/theodora-y)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/theodora-y/privacy-file-content-replace-v1-2

---


# 在 wechat 场景下，Agent 想要 send_file 时

## 何时使用
在微信场景下，当您需要发送文件时，如果涉及文件内容需要替换为用户提供的替代内容。

## 执行步骤
- [ ] 检查当前操作是否为通过微信发送文件，并确认涉及的文件内容。
- [ ] 如果操作策略为“replace”，将原文件内容替换为用户提供的替代内容（user_provided_replacement）。
- [ ] 继续执行文件发送操作。

## 边界情况
- [特殊情况1]：如果用户未提供替代内容，则系统应提示用户补充替代内容后继续操作。
- [特殊情况2]：如果文件内容格式不支持替换，则保留原内容并提示用户。

