Ahao Writing Dna Distiller logo

Ahao Writing Dna Distiller

Community
ahao31196
ahao-writing-dna-distiller

从某个作者/公众号的 N 篇历史文章中,蒸馏出一套高保真、可交付、可复用的「写作 DNA」——包含语言肌理、结构骨架、选题认知、公众号排版、内容禁区,以及一份专门对抗「AI 味」的人味量化基线。本 skill 只做蒸馏与拆解,不负责写作/创作;产物是一套供下游写作者(人或 AI)直接取用的档案。当用户想拆解/蒸馏/分析/提炼某个账号或作者的写作风格、语言、句式、结构、选题逻辑、排版、语感,或想「把某个号的风格拆出来」「提炼写作DNA」「分析这个作者怎么写的」时,务必使用本 skill。触发词:蒸馏写作风格、拆解文章、提炼写作DNA、分析写作风格、拆解句式结构、把风格拆出来、蒸馏语感、蒸馏AI味。注意:若用户要的是「用这套风格写一篇新文」,那是创作任务,不属于本 skill 范围。

Add to TypingMind

Overview

Publisherahao31196
Repositoryahao-writing-dna-distiller
Skill nameahao-writing-dna-distiller
Stars
33
Forks
6
Bundled files
20
LicenseMIT
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.

  • 20 bundled files

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

  • Open source

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

Installation

Install the Ahao Writing Dna 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/ahao31196/ahao-writing-dna-distiller/tree/main
  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/ahao31196/ahao-writing-dna-distiller.git \
  .claude/skills/ahao-writing-dna-distiller
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ahao Writing Dna 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 Ahao Writing Dna 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 Ahao Writing Dna 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.

写作 DNA 蒸馏器(纯蒸馏 · 不写作)

作者:ahao(阿浩) | 项目:ahao-writing-dna-distiller | 更多用法与交流见项目 README「关于作者」。

这个 skill 只做一件事:把一个作者/公众号的 N 篇文章,蒸馏成一套高保真、可交付的写作 DNA。它不写文章——产物是一套档案,交给任何下游写作者(人或另一个 AI)都能直接取用。

默认场景:微信公众号长文。视觉/排版分析针对手机端阅读。

核心原理:蒸馏不是求平均,是建「规律 + 基线 + 样本」三层档案

大多数风格蒸馏的失败模式是:把 N 篇文章压成一份"平均模板"。这么做有两个致命问题——

  1. 求平均会抹平人味。 一个作者的风格活在不规则里:句长的突然起伏、一句一段的停顿、口语颗粒、带脾气的地方。这些是方差,不是均值。语料越多、压得越平,方差被磨得越干净,蒸出来的东西越"规整"——而"规整"正是 AI 味的头号来源。所以蒸得多≠更好,蒸法不对时蒸得多反而更 AI。
  2. 抽象规律留不住手感。 "作者爱用短句"是规律,但真正的手感在那句具体的「就这么简单。」里。抽象一层,魔法就没了。

因此本 skill 的每一层产物都必须同时输出三类东西:

  • 规律(patterns)——可迁移的抽象规则,但必须带变化区间(是"句长 20–45 字、常在长句后接一个 4–8 字短句",不是"平均句长 30 字")。
  • 基线(baselines)——量化指纹,给下游当"像不像作者本人 / 有没有 AI 味"的尺子。由脚本产出。
  • 样本(samples)——原文照抄的开头、结尾、金句、招牌段落,按功能分桶。few-shot 原件,补抽象规律留不住的手感。

但只有三层还不够——这是本 skill 迭代后补上的关键一课:

描述性的 DNA 压不住 AI 味,指令性的才行。 下游(人或 AI)读到"句长 CV 0.52"根本不知道要做什么,于是照旧滑回 AI 默认腔调。所以必须有 L1.5 防火墙,把每个数值翻成"每 3–4 句穿插 1 句 ≤8 字短句""全文高危词 ≤1 个"这种能一条条照做的硬指令,再配一份作者专属的禁用清单和反 AI 招式库。脚本已自动产出翻译好的指令建议,填进 06 即可。没有这一层,蒸得再准,下游也写不出人味。

验收标准(务必对照):一个没读过原文的陌生人,只看这套 DNA(不看原文),写出来的东西能被作者的真实读者当成「同一个号的新一篇」。达不到,就是没蒸干净——通常是样本层太薄或基线层缺失。

蒸馏的六个层次

层蒸什么产物文件详细指南
L1 语言肌理词/句/标点/节奏/口头禅/语气 + 人味量化基线01-language-dna.mdreferences/distill-guide.md §3、references/human-texture-spec.md
L1.5 AI 味防火墙把基线翻成硬指令 + 禁用清单 + 反 AI 招式库 + 自检清单06-ai-flavor-firewall.mdreferences/ai-flavor-firewall-spec.md
L2 结构骨架逐篇节拍骨架 → 3–5 个结构原型 + 选题→结构决策树00-INDEX.md、02-structure-dna.md、beat-sheets/references/beat-sheet-spec.md
L3 选题认知选题逻辑 / 视角 / 思维模型04-perspective-dna.mdreferences/distill-guide.md §6
L4 排版视觉公众号手机端排版规律03-layout-dna.mdreferences/wechat-layout.md
L5 形式/内容分离可迁移形式 vs 绑定话题内容(禁区地图)05-forbidden-content.mdreferences/form-vs-content.md
L0 整合入口一页纸导航WRITING-DNA.mdreferences/distill-guide.md §7

完整流水线看 references/distill-guide.md(7 步)。

产物目录

蒸馏产物统一放在 <作者名>/ 下(把 templates/dna/ 整个复制过去填写):

text
<作者名>/
├── raw/                       # 原始文章语料(.md / .txt / .html)
├── _meta/                     # 每篇文章的结构化记录(schema 见 templates)
├── beat-sheets/               # 每篇文章的节拍骨架(结构能对齐的根基)
├── 00-INDEX.md                # 对标索引表 + 结构原型库 + 选题→结构决策树
├── 01-language-dna.md         # 语言肌理 + 人味量化基线 + 样本库
├── 02-structure-dna.md        # 各原型完整节拍骨架 + 开头库/结尾库(原文样本)
├── 03-layout-dna.md           # 公众号排版 DNA(手机端)
├── 04-perspective-dna.md      # 选题逻辑 / 视角 / 思维模型
├── 05-forbidden-content.md    # 内容禁区(下游去重用)
├── 06-ai-flavor-firewall.md   # AI 味防火墙(禁用清单+硬指令+反AI招式+自检)★压AI味核心
└── WRITING-DNA.md             # 整合入口(一页纸导航)

脚本

scripts/distill_metrics.py 用纯标准库跑量化基线 + 人话素材 + 自动写作指令。产出:句长分布与变异系数 CV、短/长句占比、段落长度、加粗频率、标点偏好、语气词收尾率、高危词自然密度、名词化密度、具体度代理、高频词;此外还会自动抽出人话短句样本、识别作者用什么替代 signpost、并把关键数值翻成可直接照做的写作指令(填进 06 防火墙)。

bash
python3 scripts/distill_metrics.py <作者名>/raw --out <作者名>/_meta/baseline-report.md

装了 jieba 高频词更准;没装用字符二元组近似,也能跑。无需联网。

语料门槛

  • 建议 ≥ 20 篇完整文章才敢声称「可靠风格」;少于 20 篇明确告诉用户这是格式演示,不是可靠蒸馏。
  • 覆盖不同时期、不同类型(访谈/深度/短评/盘点/观点),否则结构原型库不全。
  • 图片承载信息的公众号,抽样打开图片看内容(截图、对话、数据表常是论证链的一部分)。
  • 蒸得多不等于蒸得好:语料多的价值是让基线更准、原型更全、样本更丰富,不是让平均更"平"。多蒸时重点扩样本层和基线层,别只喂进抽象平均层。

使用红线

蒸馏的目的是学习可迁移的写作手艺、建立可交付的档案,不是冒充特定真人发声,也不是给洗稿供弹药。05-forbidden-content.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 Ahao Writing Dna Distiller AI skill do?

从某个作者/公众号的 N 篇历史文章中,蒸馏出一套高保真、可交付、可复用的「写作 DNA」——包含语言肌理、结构骨架、选题认知、公众号排版、内容禁区,以及一份专门对抗「AI 味」的人味量化基线。本 skill 只做蒸馏与拆解,不负责写作/创作;产物是一套供下游写作者(人或 AI)直接取用的档案。当用户想拆解/蒸馏/分析/提炼某个账号或作者的写作风格、语言、句式、结构、选题逻辑、排版、语感,或想「把某个号的风格拆出来」「提炼写作DNA」「分析这个作者怎么写的」时,务必使用本 skill。触发词:蒸馏写作风格、拆解文章、提炼写作DNA、分析写作风格、拆解句式结构、把风格拆出来、蒸馏语感、蒸馏AI味。注意:若用户要的是「用这套风格写一篇新文」,那是创作任务,不属于本 skill 范围。

Why use Ahao Writing Dna Distiller on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ahao31196/ahao-writing-dna-distiller/tree/main. 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 Ahao Writing Dna 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 Ahao Writing Dna Distiller?

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

Is the Ahao Writing Dna Distiller AI skill free?

Yes. It is published on GitHub by ahao31196 under the MIT 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 👇