Turn any technical book or document into a Claude Code skill so the material can be studied, referenced, and used while you work.

Snapshot

  • Stars: 1313
  • Forks: 154
  • Open issues: 1
  • Language: Python
  • License: MIT License
  • Description: Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
  • Formats: PDF, EPUB, DOCX, TXT, Markdown, reStructuredText, HTML, RTF, MOBI/AZW/AZW3

What it does

  • Compiles a source document into a Claude Code skill rooted at ~/.claude/skills/<slug>/.
  • Generates a compact SKILL.md plus chapter files, glossary, patterns, and a cheatsheet.
  • Treats chapters as on-demand context instead of dumping raw text into every prompt.
  • Adapts extraction strategy to the book type: technical books get Docling first; text-heavy books fall back to lighter PDF extractors.

Why it matters

This repo is useful because it turns a one-off book into reusable working knowledge. That is closer to a durable moc-ai-coding workflow than ordinary PDF search, and it also fits the wider moc-dev-tools pattern of tools that reduce context friction for agents.

For Claude Code users, it extends the same logic behind 2026-04-22-skills-manage: make skills first-class, load only what is needed, and keep the rest on disk until a topic is relevant.

Workflow cues

  1. Point the command at a document: /book-to-skill <path-to-document>
  2. Let the extractor choose a technical or text-heavy path.
  3. Review the generated skill, chapter files, glossary, patterns, and cheatsheet.
  4. Load the skill later with topic-specific slash commands while working.

2026-10 한국어 소개 (X)

@dopamine_crypto가 2026-10-27에 이 저장소를 “별 3.6만”으로 소개했다(5월 수집 당시 1,313★).

  • 문제의식: 실무서를 한 번 읽으면 석 달 뒤 7장이 있었는지도 기억이 안 난다. PDF 검색은 답 대신 페이지 목록만 주고, AI에게 물으면 지어내거나 모른다고 한다.
  • 방식: 책을 요약하지 않고 뼈대로 쪼갠다. 프레임워크·판단 기준·피해야 할 패턴·챕터별 파일을 따로 뽑고, 질문하면 AI가 맞는 챕터를 찾아 실제 책 내용으로 답한다.
  • 토큰 효율: 질문마다 책 전체를 넣을 때보다 토큰을 24~51배 덜 쓴다고 한다(실제 책으로 잰 수치라는 설명, 독립 검증은 안 됨).
  • 호환: 같은 SKILL.md 형식이라 Claude Code 외에 Codex, GitHub Copilot CLI, OpenCode에서도 읽힌다.
  • 사용: /book-to-skill ./my-book.pdf → 스킬 생성 → 이후 /책이름 키워드로 질문. 문서 폴더나 여러 자료를 묶어 스킬 하나로 만들 수도 있다.
  • 작성자는 회사 업무 매뉴얼 폴더나 업계 실무서를 넣어 “그 규정 어디 있었지”에 바로 답을 받는 직장인 용도를 가장 크게 봤다.

같은 24~51배 수치를 인용한 영상 정리는 2026-08-09-hermes-ai-read-books-book-brain-engine.