Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By devlify-marketplacev1.0.0MITIn 1 marketplace
Converts books, documentation folders, and source collections (PDF, EPUB, DOCX, HTML, Markdown, RST, AsciiDoc, RTF, MOBI/AZW) into structured agent skills: a master SKILL.md with core frameworks and a topic index, on-demand chapter files, a glossary, a patterns file, and a decision cheatsheet. Ships 4 stdlib-only tools (multi-format extractor with invisible-Unicode sanitization, four-family generated-skill validator, pre/post-flight token budget estimator, and a plugin emitter that wraps a compiled skill as an installable claude-skills package), 5 references citing 7-8 sources each (including the full step-by-step conversion workflow), a cs-book-to-skill agent, and /cs:book-to-skill + /cs:book-to-plugin commands. Use when the user wants to study a document with an agent, apply an author's frameworks while working, turn internal docs or standards into a reusable knowledge base, or package a compiled book skill as a plugin.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Turn a book, a documentation folder, or a pile of specs into an agent skill.
A source goes in. What comes out is a knowledge base the agent loads on demand: a small resident core with the author's named frameworks and a topic index, one chapter file per chapter, a glossary, a patterns file, and a decision cheatsheet. The agent reads the core, then one chapter — never the whole source again.
Derived from virgiliojr94/book-to-skill (MIT). See Deviations from upstream below for the authoritative list of what changed.
| File | Contents | Budget |
|---|---|---|
SKILL.md | Core frameworks + chapter index + topic index | < 4,000 tokens, resident |
chapters/chNN-*.md | One summary per chapter | 800–3,000 tokens, on demand |
glossary.md | Every significant term, alphabetized, with chapter | < 1,500 tokens |
patterns.md | Techniques and design patterns with trade-offs | < 2,000 tokens |
cheatsheet.md | Decision rules, thresholds, trade-off matrices | < 1,200 tokens |
Formats: PDF, EPUB, DOCX, HTML, Markdown, plain text, reStructuredText, AsciiDoc, RTF, and MOBI/AZW/AZW3 with Calibre.
Already in this repository. Install as a marketplace plugin:
/plugin install book-to-skill@claude-code-skills
Or use the tools directly — they are self-contained under
skills/book-to-skill/scripts/.
Dependencies: none required. Every format degrades to a standard-library parser except
MOBI/AZW/AZW3, which need Calibre's ebook-convert on PATH. Optional packages
(docling, pypdf, pdfminer.six, ebooklib, beautifulsoup4, python-docx, striprtf)
raise extraction quality where installed; Poppler's pdftotext is the fastest PDF path.
Nothing is installed implicitly — run extract_document.py --check to see what is present and
get the exact install command.
/cs:book-to-skill ~/books/thinking-in-systems.pdf meadows-systems
/cs:book-to-skill ./docs/architecture/ '*.md' internal-arch
/cs:book-to-plugin ~/.claude/skills/meadows-systems --domain engineering
Or drive the tools yourself:
SKILL_ROOT=engineering/book-to-skill/skills/book-to-skill
WORKDIR=$(mktemp -d) # or omit --workdir and capture the path the tool prints
SLUG=<author-lastname>-<concept>
python3 "$SKILL_ROOT/scripts/extract_document.py" BOOK.pdf --mode technical --workdir "$WORKDIR"
python3 "$SKILL_ROOT/scripts/token_budget_estimator.py" --full-text "$WORKDIR/full_text.txt"
# ... agent generates the skill ...
python3 "$SKILL_ROOT/scripts/book_skill_validator.py" ~/.claude/skills/"$SLUG"
python3 "$SKILL_ROOT/scripts/skill_plugin_emitter.py" --skill-dir ~/.claude/skills/"$SLUG" \
--dest ./engineering --dry-run
Every tool supports --help, --sample and --output json.
| Tool | Does |
|---|---|
extract_document.py | Multi-format extraction → full_text.txt + metadata.json. Strips invisible Unicode, blocks DOCX entity expansion, detects chapters across Latin, Roman, Chinese, Thai and Korean heading styles. --check reports the environment. |
book_skill_validator.py | Four check families over a generated skill — frontmatter (host-lens rules), safety (injection phrasing, invisible Unicode, authority grants), budget (token caps), index (dead links, unindexed chapters, dangling topic refs). Errors block; --strict promotes warnings. |
token_budget_estimator.py | Pre-flight: models context-dump vs. discovery-loop vs. compiled-skill cost on this source's real chapter sizes and prints a worth-converting verdict. Post-flight: file-by-file budget audit. |
skill_plugin_emitter.py | Wraps a compiled skill as a claude-skills plugin (manifest + agent + command + README) and prints the marketplace entry. Refuses to emit a shareable package without a rights basis. |
A live document-reading agent pays a discovery loop tax: it reads the table of contents, pulls the chapter it guessed at, then backtracks for a definition it turns out to need. Every one of those lands in history. Dumping the whole source into context is worse — it is resident, and re-billed every turn.
Compiling pays that navigation cost once. A query afterwards costs what the answer costs, not
what the source costs. token_budget_estimator.py models all three on the real token sizes of
your source and says which one wins — including when the honest answer is "this source is too
small; just read it."
This numbered list is the authoritative record. .claude-plugin/authoring-notes.json's
attribution.derivation_note summarizes it; if the two ever disagree, this list wins.
Structural
npx claudepluginhub devlify-marketplace/devlify-skills --plugin book-to-skillPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.