Style Distiller banner
MiaIria MiaIria

Style Distiller

AI community

Description

用 5 个 Claude Code Skill 训练一个「像你写作」的 AI — 个人写作风格蒸馏器

Installation

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

README

Style Distiller

**不是替你写,是学你怎么写。**

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Version](https://img.shields.io/badge/version-0.3.0-blue.svg)]() [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)]()


🎯 这是什么

你可能遇到过这些问题:

  • 网上刷到一篇感触很深的文章,第一反应是“我也想写这样文章” → 奈何文笔不够
  • 想着让 AI 写吧 → 写出来一股 AI 味
  • 让 AI "仿照我的风格去写" → 结果它根本不懂你

**Style Distiller 不替你写,它学你怎么写。**

它维护一份"你的文字人格档案",每次你:

你想干什么 用哪个(自然语言关键词,无需斜杠
"我喜欢这篇" / 喂入喜欢的文章 feed <文章>
给写出来的草稿打分 feedback <草稿>
喂入你讨厌的文章 reject <文章> <理由>
看看自己风格档案什么样 review
用你的风格写一篇 write <主题> <平台>
不确定该用哪个?说一句话即可 style-distiller ⭐ 兼容入口

⭐ **v0.3 起新约定**:**自然语言触发**为主——主对话 Claude 看到 `feed` / `feedback` / `reject` / `review` / `write` 等关键词会自动 `Read -SKILL.md` 加载执行。`/style-distiller` 等斜杠写法仍兼容(为老用户平滑迁移),但不再是首选。


📦 安装(30 秒)

前提条件

  • Python 3.10+(安装脚本和 profile_stats.py 等脚本需要)
  • Claude Code(任意版本)
  • 三平台都支持:Windows / macOS / Linux

方式 A:一键安装(推荐)

# Linux / macOS / WSL
git clone https://github.com/MiaIria/style-distiller.git \
  ~/.claude/skills/style-distiller \
&& bash ~/.claude/skills/style-distiller/install.sh
# Windows PowerShell
$dir = "$env:USERPROFILE\.claude\skills"
New-Item -ItemType Directory -Force -Path $dir
git clone https://github.com/MiaIria/style-distiller.git "$dir\style-distiller"
& "$dir\style-distiller\install.ps1"

脚本会自动建好 `~/.claude/styles/` 骨架(首次安装是创建、再次运行因幂等性会跳过已存在文件):

~/.claude/styles/                   ← 用户档案数据(隐私本地化,首次安装即建好)
├── weights.json                    ← 档案权重与状态
├── history.md                      ← 初始化日志
├── profile/                        ← 8 份风格画像(hook/rhythm/voice/verve/closing/vocabulary/format/persona)
├── samples/positive/                ← 投喂样本(feed)
├── samples/negative/                ← 反样本(reject)
├── backups/                         ← 自动备份
├── results/                         ← AI 写