MB

michaelpersonal/book-distill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 质量 39 趋势 10

把任何书提炼成可执行的Claude代码技能包

概览

将任何书籍提炼成可执行的Claude代码技能包。评估技能能力,生成包含模块/模板/示例的结构化技能,并支持多书综合。 这是一种元技能——它不是教你书的内容,而是把书中的方法转化为你实际可用的Claude代码技能。给它一个标题,它会给书的“技能能力”评分,然后生成一个完整的技能包:SKILL.md 文件、模块、模板、决策框架和护栏。 - 一个或多个书名(必填)- --lang — 输出语言:英文(英文)、zh(中文)、ja(日文)。若遗漏书名,自动检测 - --notes — 通往高亮/摘录/注释文件的路径(可选)- --output — 输出目录(可选,默认为cwd) 支持英语、中文和日语——不是翻译,而是作为母语生成: - 来自书名的语言,或明确设置 --lang - : 方法、示例、模板、护栏、README - : 工作场所示例反映本地规范(例如

概述(AI 翻译)

将任何书籍提炼成可执行的Claude代码技能包。评估技能能力,生成包含模块/模板/示例的结构化技能,并支持多书综合。

这是什么

这是一种元技能——它不是教你书的内容,而是把书中的方法转化为你实际可用的Claude代码技能。给它一个标题,它会给书的“技能能力”评分,然后生成一个完整的技能包:SKILL.md 文件、模块、模板、决策框架和护栏。

安装

在Claude代码中:

用途

争论:

  • 一本或多本书名(必读)
  • --lang — 输出语言:en(英语),zh(中文),ja(日语)。若省略标题,自动检测
  • --notes — 通往高亮/摘录/注释文件的路径(可选)
  • --output — 输出目录(可选,默认为cwd)

语言支持

支持英语、中文和日语——不是翻译,而是作为母语生成:

  • 自动检测书名中的语言,或明确设置为--lang
  • 本地化所有内容:方法、示例、模板、护栏、README
  • 文化适应性:职场示例反映当地规范(例如:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

book-distill

Distill any book into an executable Claude Code skill pack. Evaluates skillability, generates structured skills with modules/templates/examples, and supports multi-book synthesis.

What This Is

A meta-skill — it doesn’t teach you a book’s content, it converts a book’s methods into Claude Code skills you can actually use. Feed it a title, it scores the book’s “skillability,” then generates a complete skill pack: SKILL.md files, modules, templates, decision frameworks, and guardrails.

Installation

In Claude Code:

/install gh:michaelpersonal/book-distill

Usage

/book-distill "Never Split the Difference"
/book-distill "Radical Candor" "Crucial Conversations"
/book-distill "The Manager's Path" --notes ~/highlights/managers-path.md
/book-distill "人性的弱点" --lang zh
/book-distill "嫌われる勇気" --lang ja
/book-distill "影响力" "Never Split the Difference" --lang en

Arguments:

  • One or more book titles (required)
  • --lang — output language: en (English), zh (Chinese), ja (Japanese). Auto-detected from title if omitted
  • --notes — path to highlights/excerpts/notes file (optional)
  • --output — output directory (optional, defaults to cwd)

Language Support

Supports English, Chinese, and Japanese — not as translation, but as native generation:

  • Auto-detects language from book title, or set explicitly with --lang
  • Localizes all content: methods, examples, templates, guardrails, README
  • Culturally adapts: workplace examples reflect local norms (e.g., 面子 dynamics in Chinese, 根回し/報連相 in Japanese)
  • Preserves original terms: key concepts show the source language term alongside the output language
  • File names stay English: SKILL.md, prepare.md etc. for CLI compatibility
  • Cross-language synthesis: can merge books from different languages into one skill pack

How It Works

flowchart LR
    A(["📖 Book Title(s)"])
    B["Evaluate\nskillability"]
    C["Synthesize\noverlaps"]
    D["Choose\nstructure"]
    E["Generate\nskill pack"]
    F(["✅ Done"])

    A --> B --> C --> D --> E --> F
Phase What happens You do
Evaluate AI scores the book on 5 dimensions (max 25) Validate, correct, go/no-go
Synthesize Overlap analysis across books (if 2+) Confirm which modules to merge
Structure Router+modules or standalone skills? Override if you prefer
Generate Skill files built section by section Review each section
Finalize Files written, README generated, git commit Ship it

Skillability Score

Books are scored on 5 dimensions (1-5 each, max 25):

Dimension What it measures
Actionability Methods vs. narrative
Modularity Separable techniques vs. one big idea
Situational Triggers Clear “use when X” vs. general wisdom
Concreteness Scripts/templates vs. abstract principles
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add michaelpersonal/book-distill
新手?先看 mcpskill.org 教程 →