Introduction
This Duck's "Multi-platform Copy Rewriting" is a purely local one-draft-multiple-posts assistant that helps you rewrite the same original text all at once into the expressions each of the seven major platforms—WeChat Official Account, WeChat Channels, Douyin, Kuaishou, Bilibili (B site), Xiaohongshu, and Zhihu—is accustomed to, achieving one input and batch output.
With simple input, you can:
- Single-platform rewriting: convert the copy into the style of a specified platform
- Multi-platform batch rewriting: convert simultaneously into multiple platform styles, getting multiple finished drafts at once
- Full-platform coverage: output all rewritten versions for the seven major platforms with one click
Suitable for scenarios requiring cross-platform content distribution, such as content operations, MCN agencies, brand marketing, and self-media matrix operations.
Technical foundation: implemented purely with the Python standard library, zero network requests, zero third-party dependencies; rewriting is completed by an AI model strictly according to each platform's rules.
Features
Core Features
- 🔄 Single-platform rewriting: supports specifying any platform for style conversion
- 📦 Multi-platform batch rewriting: supports specifying multiple platforms at the same time and outputting rewriting results in batches
- 🌐 Full-platform coverage: supports outputting all rewritten versions for the seven major platforms with one click
- 🔍 Intelligent platform recognition: automatically recognizes platform keywords in user input (including aliases and pinyin abbreviations)
Highlights
- ⚡ Seven-in-one output: one piece of copy, seven platform styles, clearly presented in list form
- 🗂️ Platform alias support: supports multiple ways of entering platform names, including Chinese, English, and abbreviations
- 🔒 Purely local operation: the script only reads the local rule library, does not initiate any network requests, and requires no API Key
- 🔧 Unified rule management: through
assets/platform-rules.mdunified management of the seven major platform rules
One-click installation
Prerequisites
- Python 3 (path:
/usr/bin/python3) - No additional dependencies, using only the Python standard library (
os、re、sys, etc.)
Installation method
Just put this skill directory into your skills directory, ready to use out of the box, with no need to configure any keys or interfaces.
Usage Guide
Supported platforms and aliases
| Platform | Recognizable aliases |
|---|---|
| WeChat Official Account | WeChat Official Account, WeChat Public Account |
| WeChat Channels | WeChat Channels, WeChat Video Account |
| Douyin | Douyin, dy |
| Kuaishou | Kuaishou, ks |
| Bilibili (B site) | Bilibili, B site, bilibili, Bilibili |
| Xiaohongshu | Xiaohongshu, Hongshu, xhs |
| Zhihu | Zhihu, zhihu |
Basic usage (3 steps)
Step 1: Provide the copy and target platform
Provide the Agent with the content to be rewritten and the target platform:
Single-platform example:
抖音 今天天气真好
Multi-platform example (space-separated):
抖音 小红书 知乎 这款防晒霜很好用
Multi-platform example (comma-separated):
抖音,小红书 这款防晒霜很好用
All-platform example:
全部 这款防晒霜很好用
Platform recognition rules:
- Input format:
[平台1 平台2 ...] [文案内容] - All-platform keyword:
全部、all、所有(automatically recognizes all seven platforms)
Handling when no platform is recognized: If there are no recognizable platform keywords in the user's input at all, the Agent replies and asks:
Which platform styles would you like to rewrite the copy into? Multiple selections are supported:WeChat Official Account, WeChat Channels, Douyin, Kuaishou, Bilibili, Xiaohongshu, Zhihu(You can also enter "all")
Wait for the user's reply before rewriting. If a recognizable platform is already included, proceed directly to the next step.
Step 2: Extract the rules for each platform
The script locally parses the target platforms and outputs the rewriting rule prompt for the corresponding platform one by one (purely local, with no network requests):
# 多平台(逗号分隔)
python3 scripts/rewrite.py 抖音,小红书 "文案内容"
# 多平台(空格分隔)
python3 scripts/rewrite.py 抖音 小红书 知乎 "文案内容"
# 全平台
python3 scripts/rewrite.py all "文案内容"
Step 3: Obtain the rewriting results
The Agent reads assets/platform-rules.md the complete rules for each platform in Profile(role positioning),WritingSkills(writing techniques),Rules(rewriting rules),Workflow(workflow) of that platform, and strictly follows them to rewrite the copy style.
Output format (presented as a list):
## 改写结果
---
### 1. 公众号
[公众号风格改写内容]
---
### 2. 抖音
[抖音风格改写内容]
---
### 3. 小红书
[小红书风格改写内容]
#标签1 #标签2 #标签3
---
Output rules:
- Each platform entry includes: serial number + platform name + the complete rewritten content
- Separate each platform with a divider
---for clear structure - Output the rewritten content directly,without any difference annotations or platform style comparisons
- For the Xiaohongshu platform, Tags must be appended at the end of the content
- After the output is complete,do not ask the user againwhether any version needs adjustment
Script command quick reference
| Command | Description |
|---|---|
python3 scripts/rewrite.py list |
List all supported platforms and aliases |
python3 scripts/rewrite.py <平台> |
Output the rewriting rule prompt for a single platform |
python3 scripts/rewrite.py <平台1,平台2> [文案] |
Multi-platform rule extraction (comma-separated) |
python3 scripts/rewrite.py 抖音 小红书 知乎 [文案] |
Multi-platform rule extraction (space-separated) |
python3 scripts/rewrite.py all [文案] |
All-platform rule extraction |
Use cases
Scenario 1: Matrix account content distribution
- Role: New media matrix operator
- Need: Distribute one core piece of copy simultaneously to multiple platforms
- How to use: Enter
全部 <文案内容> - Expected benefit: Obtain rewritten versions for seven major platforms at once, saving the time of rewriting platform by platform
Scenario 2: Cross-platform A/B testing
- Role: Content strategist
- Need: Compare the presentation effects of the same copy on different platforms
- How to use: Enter
抖音,小红书,知乎 <文案内容> - Expected benefit: Compare copy style differences across platforms and find the best content strategy
Scenario 3: Platform-specific optimization
- Role: Short video operator
- Need: Generate suitable copy for Douyin and Kuaishou separately
- How to use: Enter
抖音 快手 <文案内容> - Expected benefits: Get differentiated copy that matches the tone of each platform
Scenario 4: Quickly adapt to a new platform
- Role: A content creator newly joining a platform
- Needs: Quickly understand the copywriting style of the new platform
- How to use: Rewrite copy from a familiar platform into the style of the new platform
- Expected benefits: Quickly grasp the tone of the new platform and lower the barrier to content creation
Project architecture
Directory structure
multi-rewrite/
├── SKILL.md # 本文件
├── README.md # 用户文档(中文)
├── assets/
│ └── platform-rules.md # 七大平台详细改写规则(Keyword、WritingSkills、Rules、Workflow)
└── scripts/
└── rewrite.py # 辅助脚本(平台识别、规则提取,纯本地)
Core module description
| Module | File / Configuration | Description |
|---|---|---|
| Rewrite rules | assets/platform-rules.md |
Profiles, WritingSkills, Rules, and Workflow for seven major platforms |
| Helper scripts | scripts/rewrite.py |
Platform alias resolution and rule extraction (fully local, no network requests) |
| Platform mapping | PLATFORM_ALIAS(within the script) |
Supports multiple aliases such as Chinese, English, and pinyin abbreviations |
| All-platform keyword | ALL_KEYWORDS(within the script) |
全部、all、所有 Trigger all-platform mode |
Tech stack
| Technology | Purpose |
|---|---|
| Python 3 | Script runtime environment |
| regex | Rule file parsing and platform keyword recognition |
FAQ
Installation-related
Q: What dependencies need to be installed? A: No additional installation is required; only the Python standard library is used.
Q: What is the Python version requirement?
A: Python 3.x; the script uses by default /usr/bin/python3。
Usage-related
Q: Which platforms are supported? A: Supports seven major platforms in total: WeChat Official Account, WeChat Channels, Douyin, Kuaishou, Bilibili (B站), Xiaohongshu, and Zhihu.
Q: How do I enter multiple platforms?
A: You can separate them with spaces (抖音 小红书 知乎), separate them with commas (抖音,小红书,知乎), or enter 全部/all/所有 to select all platforms.
Q: Can the output rewrite only one platform? A: Yes, just enter one platform name plus the copy content.
Q: What should I do if platform recognition fails? A: The Agent will proactively ask which platform styles you want to rewrite into, and multiple selections are supported.
Troubleshooting
Q: A certain platform's rules failed to be extracted?
A: Check whether the assets/platform-rules.md file contains the rule definition for that platform.
Security and licensing
Q: Will this skill connect to the internet or upload my copy? A: No. The script runs purely locally, only reads the local rule library, does not initiate any network requests, and does not require any API Key.