seeyouintokyo

Gzh Style Distiller — AI skill for Claude Code

AI community

把公众号历史文章蒸馏成 AI 能照着写的写作风格 Skill:先量出写作硬指标,再翻译成可执行规则,最后装成能自查的 Skill.

How to install Gzh Style Distiller

This entry records only its repository, not the path inside it, so there is no exact command to give. Open seeyouintokyo/gzh-style-distiller and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Gzh Style Distiller does

把公众号历史文章蒸馏成 AI 能照着写的写作风格 Skill:先量出写作硬指标,再翻译成可执行规则,最后装成能自查的 Skill.

Alternatives in AI

  • Anthropic Quickstarts — by Anthropic - Offers comprehensive development guides for three distinct AI-powered demo projects with standa 15.4k ★
  • Style Distill — style-distill skill — 三阶段 13 模板 LLM 蒸馏(style-distill-order) 669 ★
  • Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★

README

gzh-style-distiller

把自己的公众号蒸馏成一份 AI 能照着写的风格 Skill。

不是「让 AI 模仿你」,是**先量出你写作的硬指标,再把指标翻译成规则**。


安装

# 1. 依赖
pip install -r requirements.txt

# 2. 机器上要有 Google Chrome(脚本复用系统 Chrome 的登录态)

# 3. 放进 skills 目录
cp -R gzh-style-distiller ~/.workbuddy/skills/

Codex / Claude Code 放到各自的 skills 目录,只要 `SKILL.md` 的 `name` 与目录名一致即可。


三步跑完

# 一、采集与统计(机器干,只需扫一次码)
python scripts/login_and_list.py
python scripts/fetch_article.py --from-json _gh_style/articles/_articles.json -o _gh_style/articles -f md -w 4
python scripts/dedup.py _gh_style/articles --apply
python scripts/analyze_style.py _gh_style/articles

# 二、提炼成规则(你干,读 references/extraction-framework.md 按五层写)

# 三、自查
python scripts/check_style.py 你的稿子.md --baseline _gh_style/_style/_stats.json

目录

gzh-style-distiller/
├── SKILL.md                        # 主流程
├── requirements.txt
├── scripts/
│   ├── login_and_list.py           # 扫码登录后台,导出全部文章清单
│   ├── fetch_article.py            # 并发抓正文转 Markdown
│   ├── dedup.py                    # 标题去重
│   ├── analyze_style.py            # 算 20 项指标 + 抽样
│   └── check_style.py              # 新稿对照基线自查
└── references/
    ├── extraction-framework.md     # 五层提炼框架
    ├── metrics.md                  # 20 项指标怎么读
    └── pitfalls.md                 # 踩坑清单

适用边界

  • ✅ 蒸馏自己的号;分析拿到授权的文章
  • ❌ 批量导出别人的号全部文章 —— 微信已封搜号接口,非登录态拿不到全量列表
  • ❌ 复制某个人的思维方式 —— 那是人格蒸馏,不是写作风格

与 nuwa-skill 的关系

**不含 nuwa-skill 的任何代码或文件。** 借用的只是「一个风格 Skill 该装哪几层」这个方法框架,具体内容是独立重写的。

nuwa-skill 本项目
目标 蒸馏思维方式(思维顾问) 蒸馏写作风格(写作助手)
五层 心智模型 / 决策启发式 / 表达 DNA / 反模式 / 边界 沿用这五层
增量 — 补两层 nuwa 没有的:文体结构模板、标题公式
实现 — references/extraction-framework.md 为重写版,非原文搬运

nuwa-skill 采用 MIT 协议(Copyright © alchaincyf),方法论思路受益于它,在此致谢。

License

MIT