Introduction
A Zhihu copywriting rewriting assistant produced by this duck, helping you intelligently convert any copy into high-quality content in the style of a Zhihu answerer, with a built-in sense of professionalism and knowledge-sharing attributes — with viewpoints, structure, and sincerity.
Through simple input, you can:
- Automatically generate attractive Zhihu-style titles
- Rewrite the original copy into a colloquial, in-depth Zhihu professional long-form expression
- The body naturally carries 2-3 Zhihu-specific keywords (guide, tutorial, secret tips, etc.)
- Append Tags starting with # at the end
Suitable for content creators, knowledge sharers, brand operators, Zhihu answerers, and other users who need to efficiently produce Zhihu-style content.
Technical foundation: purely local implementation, based on the Python standard library to read platform rules, with copy rewritten by an AI model according to Zhihu platform rules. No network requests, no third-party dependencies.
Features
Core Features
- 🎯 Intelligent Title Generation: Automatically generate attractive Zhihu-style titles with hooks
- 📚 Keyword Enhancement: The body naturally carries 2-3 Zhihu-specific keywords (guide/tutorial/secret tips/experience sharing/case analysis, etc.)
- 🗣️ Answerer-Style Rewriting: Convert the original copy into a Zhihu professional long-form article that is highly approachable, colloquial, and yet still professional
- 🏷️ Tags Appending: Automatically append relevant tags starting with # at the end
Highlights
- ⚡ Input and Use Immediately: Input the original copy and directly output the rewritten result, without repeatedly asking
- 🔒 Purely Local Operation: The script only reads local rule files, does not initiate any network requests, and requires no API Key
- 🔧 Customizable Rules: Via
assets/platform-rules.mdcustomize rewriting rules
One-Click Installation
Prerequisites
- Python 3 (path:
/usr/bin/python3) - No additional dependencies, only the Python standard library is used (
os、re、sys)
Installation Method
Just place the project into your skills directory, with no authentication or configuration required.
Usage Guide
Basic Usage (2 Steps)
Step 1: Provide Copy
Provide the Agent with the copy content that needs to be rewritten in Zhihu style:
帮我把这篇改写为知乎风格:这款耳机采用主动降噪技术,支持30小时续航,音质出色
The copy may include various types of content such as product introductions, usage experiences, and guide sharing.
Step 2: Get the Rewritten Result
The Agent reads assets/platform-rules.md the complete rules in (you can also run the script below to output the rule prompt), and strictly rewrites the copy style according to Zhihu's Profile(role positioning),WritingSkills(writing techniques),Rules(rewriting rules),Workflow(workflow), and directly outputs the result:
- The content includes an attractive title
- Tags are appended at the end (starting with #)
- Use colloquial expressions to shorten the distance from readers
- The copy must include 2-3 Keywords (guide, tutorial, secret tips, experience sharing, case analysis, etc.)
After the output is complete, do not ask the user again whether adjustments are needed.
Script Command Quick Reference
| Command | Description |
|---|---|
python scripts/rewrite.py prompt |
Output the Zhihu rewriting rules prompt (fully local, no network requests) |
Usage Examples
Example 1: Product Introduction Rewriting
- Scenario/Input:
这款耳机采用主动降噪技术,支持30小时续航... - Expected Output: Zhihu-style title + colloquial rewritten content + Tags
- Key Points: Include 2-3 keywords (tutorial/guide/secret tips, etc.), keep the paragraph structure consistent
Example 2: Event Copy Rewriting
- Scenario/Input:
周年庆全场5折起... - Expected Output: Eye-catching Zhihu-style copy
- Key Points: Colloquial expression, strong affinity, append relevant Tags at the end
Use Cases
Scenario 1: In-Depth Product Review
- Role: Tech blogger / Zhihu answerer
- Need: Rewrite a product introduction document into an in-depth Zhihu review article
- How to Use: Input product technical specifications and feature descriptions
- Expected Benefit: Obtain Zhihu-style content with keywords such as "guide"/"tutorial", enhancing professionalism
Scenario 2: Experience / Strategy Sharing
- Role: Industry practitioner
- Need: Organize work experience into a highly upvoted Zhihu answer
- How to Use: Input experience points and cases
- Expected Benefit: Obtain a clearly structured, highly readable professional long-form Zhihu article
Scenario 3: Knowledge Popularization Rewriting
- Role: Knowledge popularization creator
- Need: Transform professional knowledge into an accessible Zhihu-style popular science article
- How to Use: Input professional knowledge points
- Expected Benefit: Obtain a colloquial, easy-to-understand Zhihu-style popular science article
Scenario 4: Brand Storytelling
- Role: Brand operations personnel
- Need: Rewrite a brand introduction into a Zhihu-style brand story
- How to Use: Input brand background and story materials
- Expected Benefit: Obtain brand story copy with appeal and a sense of immersion
Project Architecture
Directory Structure
zhihu-rewrite/
├── SKILL.md # 本文件
├── README.md # 用户文档(中文)
├── assets/
│ └── platform-rules.md # 知乎改写规则(Profile、WritingSkills、Rules、Workflow)
└── scripts/
└── rewrite.py # 辅助脚本(本地规则提取,无网络请求)
Core Module Description
| Module | File | Description |
|---|---|---|
| Rewriting Rules | assets/platform-rules.md |
Define the Zhihu role positioning, writing techniques, rewriting rules, and workflow |
| Auxiliary Script | scripts/rewrite.py |
Extract the platform rules prompt (fully local, only reads the rules file) |
Tech Stack
| Technology | Purpose |
|---|---|
| Python 3 | Script runtime environment |
| regex | Rules file parsing |
Resource Index
- Script:
scripts/rewrite.py(Purpose: output the Zhihu rewriting rules prompt; Parameters:prompt) - Reference:
assets/platform-rules.md(When to read: when performing copy rewriting)
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 by default uses /usr/bin/python3。
Usage Related
Q: What elements does the rewritten result include? A: It includes an attractive title, a colloquial rewritten body, 2-3 Zhihu keywords (such as guide/tutorial/secret manual, etc.), and Tags at the end.
Q: Can I choose the keywords myself? A: The keywords are automatically selected by the AI based on the content of the copy, choosing the most suitable 2-3.
Security and Licensing
Q: Will this skill connect to the internet? Does it need an API Key? A: It will not connect to the internet, and it does not need any API Key. The script only reads local rule files, does not initiate any network requests, and has no third-party dependencies.