Style Transfer logo

Style Transfer

OrganizationPopular
ZJU-REAL
style-transfer

文案风格迁移:把一段文案从一种风格改写成另一种风格(严肃→搞笑、书面→口语、文艺→直白、正式→社交媒体感), 支持风格参考(给一段目标风格的示例文本)。 使用时机:用户说"改成搞笑风格"、"换个风格"、"风格迁移"、"改成口语化"、"改成文艺风"、 "像 XX 那样写"、"风格改写"、"换个腔调"。 和 text-polisher 的区别:polisher 提升质量不改风格,style-transfer 改变风格不做质量评估。

Overview

PublisherZJU-REAL
RepositoryEasel
Skill namestyle-transfer
Stars
3.5K
Forks
535
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ZJU-REAL on GitHub. Read the source before you install it.

Installation

Install the Style Transfer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ZJU-REAL/Easel/tree/main/skills/openclaw/style-transfer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZJU-REAL/Easel.git /tmp/Easel
mkdir -p .claude/skills
cp -r /tmp/Easel/skills/openclaw/style-transfer .claude/skills/style-transfer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Style Transfer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Style Transfer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Style Transfer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

文案风格迁移

把文案从一种风格改写成另一种风格,保留核心语义,只改表达方式。

输入

字段必填说明
text是待改写的原文
target_style是目标风格(见预设风格列表,或自由描述)
style_reference否一段目标风格的示例文本,用于学习风格特征
preserve_keywords否必须保留的关键词/术语列表
intensity否迁移强度:light(微调语气)/ medium(默认)/ full(彻底改写)

预设风格

详见 references/style-rules.md,含完整执行清单。

风格 key名称核心规则句式特征禁止事项
humorous搞笑每 3-4 句至少一个梗点/夸张/自嘲短句为主,反转节奏不用"哈哈哈"、不解释梗
colloquial口语去掉所有书面连词,用"嗯""就是""反正"≤15字/句,多用问句和感叹不用"综上""此外""因此"
literary文艺意象化表达,用比喻代替直述长短交替,有留白不堆砌形容词
sharp犀利直接下判断,不留余地短促有力,多用句号不用"可能""也许""个人觉得"
professional专业术语准确,逻辑链完整并列/递进结构清晰不用口语化表达
healing治愈温暖共情,"你"开头的句子多中等句长,节奏舒缓不用反讽/批判
sarcastic毒舌一针见血指出问题,不留面子极短句+反问不人身攻击
social_media社交媒体感emoji+口语+互动句式分行多,每行≤20字不写长段落
custom自定义需提供 style_reference——

输出

  • 改写后的文案(纯文本)
  • 风格变更摘要(改了哪些维度:用词、句式、语气、修辞、节奏)
  • 写入 outputs/ 目录,文件名含原风格和目标风格标识

执行步骤

Step 1 — 风格分析

分析原文的风格特征,识别以下维度:

  • 用词层:正式/口语、抽象/具体、术语密度
  • 句式层:长短句比例、主被动、复句/简单句
  • 语气层:客观/主观、冷峻/热情、距离感
  • 修辞层:比喻、排比、反问、夸张等手法的使用频率
  • 节奏层:段落长度、停顿感、信息密度

Step 2 — 目标风格建模

如果提供了 style_reference:

  • 用同样维度分析参考文本,提取风格特征向量
  • 识别参考文本的标志性手法(如特定句式、口头禅、节奏模式)

如果使用预设风格:

  • 加载预设风格的特征定义

Step 3 — 迁移改写

按迁移强度执行改写:

  1. 逐段处理,保证语义完整性
  2. 按优先级调整:语气 → 用词 → 句式 → 修辞 → 节奏
  3. 保留 preserve_keywords 中指定的关键词不变
  4. 保持原文的信息完整度(不增不减核心信息)

Step 4 — 一致性校验

  • 检查全文风格是否统一(避免前后风格不一致)
  • 检查核心信息是否保留完整
  • 检查 preserve_keywords 是否全部保留
  • 如果迁移后文意偏移超过阈值,回退该段重写

Step 5 — 输出变更摘要

列出改写涉及的风格维度变化,让用户了解改了什么:

风格迁移: 正式 → 口语化
- 用词: 书面语替换为日常用词 (12处)
- 句式: 长复句拆为短句 (8处)
- 语气: 增加语气词和互动感 (6处)
- 修辞: 移除排比,增加口语化比喻 (3处)

Profile 感知

  • 有 Profile:从 style.md 读取账号的惯用风格偏好,作为目标风格的微调参考;从 identity.md 读取品牌调性,确保改写后仍符合品牌边界
  • 无 Profile:直接按用户指定的目标风格改写,不做品牌约束

自研溯源与参考项目见同目录 EASEL-META.md。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Style Transfer AI skill do?

文案风格迁移:把一段文案从一种风格改写成另一种风格(严肃→搞笑、书面→口语、文艺→直白、正式→社交媒体感), 支持风格参考(给一段目标风格的示例文本)。 使用时机:用户说"改成搞笑风格"、"换个风格"、"风格迁移"、"改成口语化"、"改成文艺风"、 "像 XX 那样写"、"风格改写"、"换个腔调"。 和 text-polisher 的区别:polisher 提升质量不改风格,style-transfer 改变风格不做质量评估。

Why use Style Transfer on TypingMind?

Because you install it once and use it with any model. Style Transfer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Style Transfer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ZJU-REAL/Easel/tree/main/skills/openclaw/style-transfer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Style Transfer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Style Transfer?

As many as you like. As long as a model supports skills, you can use Style Transfer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Style Transfer AI skill free?

Yes. It is published on GitHub by ZJU-REAL under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇