SkillsGrove
SkillsGrove/문서 작업/runyuan-wang/nutrition-assistants/book-to-skill-distillation

book-to-skill-distillation

설치

$npx skills add https://github.com/runyuan-wang/nutrition-assistants --skill book-to-skill-distillation
$git clone --depth 1 https://github.com/runyuan-wang/nutrition-assistants.git /tmp/nutrition-assistants && mkdir -p ~/.claude/skills && cp -r /tmp/nutrition-assistants/book-to-skill-distillation ~/.claude/skills/book-to-skill-distillation
이 Agent Skill을 설치해 주세요: https://github.com/runyuan-wang/nutrition-assistants/tree/15acf8f8d54b80d95574ef5e3dc43aaab10cbaba/book-to-skill-distillation — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITEnd-to-end workflow for rewriting a book, long PDF, EPUB, or manual into an agent-native LingTai skill/knowledge structure; covers source triage, scanned/image-only PDF OCR, page maps, topic splitting, progressive-disclosure outline design, daemon fan-out, copyright-safe transformation, validation, and publishing.
아래 SKILL.md는 runyuan-wang/nutrition-assistants(커밋 15acf8f)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 book-to-skill-distillation contributors. 라이선스: book-to-skill-distillation/LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

book-to-skill-distillation

Convert a linear human text into a branching agent-native skill. Distillation here is not a summary and not a compressed copy: it is a rewrite into the forms an agent can call while working — routers, decision trees, checklists, schemas, prompts, scripts, validation gates, worked examples, and reference modules.

Keep SKILL.md as the router; put depth in reference/, reusable forms in assets/, deterministic helpers in scripts/, and project-private extraction substrate under work/book-distill/<slug>/.

Lifecycle

Scout source → Recover structure → Extract/OCR substrate → Design target skill → Split by agent-native units → Rewrite in parallel → Reconcile → Return to hub → Validate & publish

Router

Situation Read next
understand the core transformation reference/agent-native-rewrite.md
classify PDF/EPUB/source reference/source-triage.md
scanned PDF / blank pdftotext / full OCR reference/scanned-pdf-recipe.md
recover table of contents reference/toc-recovery.md
map book to skill tree reference/outline-design.md
add cyclic return / low-power / trajectory discipline reference/cyclic-low-power-distillation.md
use daemons in parallel reference/daemon-orchestration.md, assets/daemon-task-template.md
copyright concern reference/copyright-discipline.md
validate/publish reference/validation-checklist.md, reference/publishing.md
calibrate on this run reference/worked-example-legal-dd.md

Quick start

  1. Create work/book-distill/<slug>/ and keep source-derived OCR/transcripts there, not inside the published skill.
  2. Run scripts/scout.sh <source.pdf> work/book-distill/<slug> or equivalent inspection; decide whether the source has a text layer.
  3. Recover the source structure: TOC, headings, page offsets, chapter boundaries, appendices, and repeated schemas.
  4. If scanned/image-only, build full-text OCR as private substrate, then split it into topic files by page range.
  5. Design the target skill tree before rewriting: trigger, exclusions, primary routing axis, reference modules, assets, scripts, caveats, and validation plan.
  6. Fan out daemons: each daemon rewrites one topic or coherent topic group into agent-native structures, not into a chapter summary.
  7. Parent reconciles, removes duplication, verifies current-law/current-fact deltas, and enforces copyright-safe abstraction.
  8. Validate, refresh, and smoke-test realistic prompts.

Output test

A good distilled skill lets an agent answer: “What do I do next on this task?” without rereading the book. If the output mostly says what the book said in the same order, it is not yet agent-native.

<!-- Maintainer update: Runyuan Wang (9s5bz2jvd2-lang). -->
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 book-to-skill-distillation contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.