Writing Style Distiller logo

Writing Style Distiller

Community
qyh9527
writing-style-distiller

Distills executable <writing_style> XML configuration from author names, literary texts, excerpt samples, or style descriptions; also critiques and rewrites existing style prompts. Use when asked for 文风蒸馏, 文风配置, 写作风格分析, 文风批改, AIRP writing style prompts, SillyTavern 酒馆预设文风, 角色卡文风, writing style distillation, style profiles, or <writing_style> XML.

Overview

Publisherqyh9527
Repositorywriting-style-distiller-skill
Skill namewriting-style-distiller
Stars
28
Forks
3
Bundled files
14
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.

  • 14 bundled files

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

  • Open source

    Published by qyh9527 on GitHub. Read the source before you install it.

Installation

Install the Writing Style Distiller 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/qyh9527/writing-style-distiller-skill/tree/master/.claude/skills/writing-style-distiller
  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/qyh9527/writing-style-distiller-skill.git /tmp/writing-style-distiller-skill
mkdir -p .claude/skills
cp -r /tmp/writing-style-distiller-skill/.claude/skills/writing-style-distiller .claude/skills/writing-style-distiller
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Writing Style Distiller 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 Writing Style Distiller 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 Writing Style Distiller 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.

Writing Style Distiller v2

从作者名、文学文本、摘录样本或风格描述中,蒸馏出可执行的 <writing_style> 配置。采用自适应多阶段工作流,每阶段文件落盘并设审查门。

⚠️ 模型执行门槛

本 skill 的自适应路由和多阶段审查门需要极强的指令遵循与逻辑分析能力。强烈建议在 Claude 3.5/4.5 Sonnet 或 Opus 及以上执行模型下运行。

🚀 极速上手 (Quick Start)

当用户输入:

"帮我蒸馏‘老舍’写市井市民文风的气息"

  1. 自动诊断并输出:进入 [深度]模式,预计 4 个阶段,每阶段有审查门。
  2. 轻量提问锚定(意图探针)。
  3. 分步执行:按阶段进行并落盘。向用户确认后,进入下一阶段,最终输出一份高精准的 <writing_style>。

📦 支持文件

在执行各阶段时,按需读取以下文件:

文件用途读取时机
output-format.md输出格式定义与完整示例Phase 3-4
quality-checklist.md质检清单(11 维精悍版)Phase 4
phases/research.md研究与证据收集指令(优选权威学术渠道)Phase 1
phases/diagnosis.md风格诊断与架构指令Phase 2
phases/drafting.md文风初稿生成指令Phase 3
phases/optimization.md优化与质检指令Phase 4
knowledge/style-families.md风格家族分类与密度表Phase 2
knowledge/label-risk-table.md高风险标签行为化转换Phase 3-4
knowledge/model-adaptation.md模型适配规则(Claude / Gemini)Phase 4
knowledge/anti-bagu.md文风提示词反八股指南Phase 3-4
knowledge/exemplary-patterns.md优秀文风结构范式参考Phase 2-3
knowledge/narrative-perspective.md叙事人称与视角知识库Phase 2-3
error-handling.md常见错误防御与边缘异常处理Phase 3-4

🔀 自适应路由

每次接收请求时,判断输入类型并选择对应深度模式:

输入类型深度模式阶段路线
作者名(无文本)深度P1 研究 → P2 诊断 → P3 初稿 → P4 优化
作者名 + 代表作深度P1 研究 → P2 诊断 → P3 初稿 → P4 优化
AIRP 预设定制(复杂)深度P1 研究 → P2 诊断 → P3 初稿 → P4 优化
本地文件 / 大量摘录标准P1 分析 → P2 初稿+质检 → P3 输出
少量摘录(<500字)标准P1 分析 → P2 初稿+质检 → P3 输出
风格描述(>100字或多维度)标准P1 分析 → P2 初稿+质检 → P3 输出
文风批改/诊断(贴出现成文风挑毛病)标准P1 分析 → P2 初稿+质检 → P3 输出
风格描述(≤100字且单一方向)快速P1 草稿 → P2 输出
已有文风 + 修改请求快速P1 草稿 → P2 输出

路由完成后向用户输出诊断信息并立即触发 1-2个意图探针问题(详见 phases/research.md),提问与诊断一起展示,不单设审查门。

🎯 核心编排流程

流程进度看板 (Checklist)

进行过程中,用此看板指示当前阶段:

  • 路由决策与意图探针 (phases/research.md)
  • Phase 1: 研究与证据收集 (phases/research.md)
  • Phase 2: 风格诊断与架构 (phases/diagnosis.md)
  • Phase 3: 文风初稿 (phases/drafting.md)
  • Phase 4: 最终优化与质检 (phases/optimization.md)
  • 清理与最终输出 (phases/optimization.md + error-handling.md)

🚪 审查门交互规则

每个 Phase 完成后,必须:

  1. 文件落盘:将当前阶段产物写入 docs/style-output/{timestamp}-{style-name}/。
  2. 交互审查:在终端展示摘要,并向用户发送审查提问(如:方向是否正确?是否进下一阶段?)。禁止一次性吐出所有最终配置,必须分步确认再读取下一份 md 执行。

各模式下的详细工作流执行细节,请参考各阶段指令说明文件。关于常见异常与规避原则,请参见 error-handling.md。


本技能改编自 Yandhi酱 的原创内容(Discord ID: y_a_n_d_h_i,禁止商用,开源需署名,遵循原作者最新声明)。

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 Writing Style Distiller AI skill do?

Distills executable <writing_style> XML configuration from author names, literary texts, excerpt samples, or style descriptions; also critiques and rewrites existing style prompts. Use when asked for 文风蒸馏, 文风配置, 写作风格分析, 文风批改, AIRP writing style prompts, SillyTavern 酒馆预设文风, 角色卡文风, writing style distillation, style profiles, or <writing_style> XML.

Why use Writing Style Distiller on TypingMind?

Because you install it once and use it with any model. Writing Style Distiller 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 Writing Style Distiller in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/qyh9527/writing-style-distiller-skill/tree/master/.claude/skills/writing-style-distiller. 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 Writing Style Distiller?

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 Writing Style Distiller?

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

Is the Writing Style Distiller AI skill free?

It is published on GitHub by qyh9527. Check the repository for licensing terms. 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 👇