Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

book-to-skill

БесплатноБез исполняемых скриптовНе проверен

Converts books and documents into structured agent skills from local files (PDF, EPUB, DOCX, HTML, Markdown, TXT, RTF, MOBI/AZW) or remote MCP book search…

virgiliojr94от virgiliojr94★ 39 459 звёзд на GitHub

Об этом скилле

Book-to-Skill Converter

Transform written knowledge into actionable agent skills by extracting structure — not producing summaries.

Philosophy

Books contain crystallized expertise: frameworks, principles, and techniques that took years to develop. This skill extracts that knowledge into a format GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, OpenCode, OpenClaw, or another compatible agent can leverage repeatedly. Extract structure, not summaries. A skill isn't a book report. It's a toolkit of:

  • Named frameworks (mental models with clear application)
  • Actionable principles (rules that guide decisions)
  • Techniques (step-by-step methods)
  • Anti-patterns (what to avoid and why)
  • Voice calibration (how the author thinks and communicates)

Preserve the author's precision. Frameworks often have specific names for reasons. "The 5 Whys" isn't interchangeable with "ask why multiple times." Capture the exact formulation.

Layer depth appropriately. Simple books → simple skills. Complex books with 10+ frameworks → skills with reference files and on-demand chapters.


Modes of Operation

Local paths (Input Mode 1, default — no MCP required) and remote search (Input Mode 2, MCP-assisted). Route based on what the user asks:

1. Full Conversion (Default)

Trigger: User provides one or more document/directory/glob paths without special instructions Action: Run all steps below (Steps 0–9) Output: Complete skill with SKILL.md, chapters/, glossary, patterns, cheatsheet

2. Analyze Only

Trigger: User says "analyze", "just extract", or "I want to review before generating" Action: Run Steps 0–3, then produce a structured extraction report (frameworks, principles, techniques found). Stop — do NOT generate skill files. Output: Analysis report for user review

3. Generate from Prior Analysis

Trigger: User has existing analysis notes or previously ran analyze-only Action: Skip Steps 0–3, use the provided analysis as input, run Steps 4–9 Output: Skill files from the provided analysis

4. Update / Fold-in (Existing Skill)

Trigger: User provides one or more new source paths and indicates they want to update an existing skill (either by pointing to the existing skill folder, providing a skill slug that already exists in SKILLS_HOME, or explicitly requesting an update). Action: Run Step 0 (out-of-scope check), Step 1 (validate inputs), Step 1.5 (identify book type), and Step 2 (extract new files). Then skip to Step 5 (identify/detect existing skill path) and run the Update / Fold-in Workflow to merge the new content into the existing skill files. Output: Updated existing skill with new/revised chapter summaries and merged indexes/glossaries.

5. Search & Read (Input Mode 2 — MCP)

Trigger: /book-to-skill search <query> (or user asks to search/find a book remotely when an MCP provider is available) Action: Check MCP availability in Step 0, then read references/search-and-read.md only when Mode 2 Search & Read is triggered and follow its incremental MCP workflow (MCP discovery, confirmation, incremental chapter synthesis, Steps 8–11). Output: Same skill layout (SKILL.md, chapters/, glossary.md, patterns.md, cheatsheet.md) without saving a full raw book file.


Skill Locations

This converter can run from multiple skill systems. When looking for this converter's helper script or writing the generated book skill, prefer these locations in order:

  1. GitHub Copilot CLI personal skills: ~/.copilot/skills/
  2. Cross-agent personal skills (Copilot, Amp, Codex; OpenClaw with its default state): ~/.agents/skills/
  3. Claude Code personal skills: ~/.claude/skills/
  4. Project-local Copilot skills: .github/skills/
  5. Project-local Claude skills: .claude/skills/
  6. Project-local Amp / Copilot / OpenClaw skills: .agents/skills/
  7. Amp global skills: ~/.config/agents/skills/
  8. Amp legacy glo
Полный SKILL.md на GitHub

Установить book-to-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitattributes.gitignoreAGENTS.mdBACKERS.mdCHANGELOG.mdCLAUDE.mdCONTRIBUTING.mdLICENSE.mdREADME.ja.mdREADME.mdREADME.ru.mdREADME.zh-CN.mdSECURITY-NOTICE.mdSECURITY.mdcliff.tomlmkdocs.ymlpyproject.toml

FAQ

Что делает скилл book-to-skill?

Converts books and documents into structured agent skills from local files (PDF, EPUB, DOCX, HTML, Markdown, TXT, RTF, MOBI/AZW) or remote MCP book search (`/book-to-skill search <query>`), extracting frameworks, mental models, principles, techniques, and anti-patterns. Use via GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, OpenCode, or OpenClaw to study a document or apply an author's frameworks.

Как установить скилл book-to-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл book-to-skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить book-to-skill с