book-to-skill
यह क्या करती है
यह स्किल लिखी हुई सामग्री को एक ज्ञान आधार में बदलती है, जिसे AI ज़रूरत पड़ने पर इस्तेमाल कर सके, हर बार पूरा स्रोत पढ़ने के बजाय। यह उन लोगों के लिए है जो चाहते हैं कि उनका AI किसी किताब, मैनुअल या spec के सेट से काम करे।
कब इस्तेमाल करें
- ✓जब आप चाहते हों कि AI किसी किताब या लंबे मैनुअल को काम के संदर्भ की तरह इस्तेमाल करे।
- ✓जब आपके पास आंतरिक docs या spec का फ़ोल्डर हो जिसे आप स्किल में बदलना चाहते हों।
- ✓जब आप किसी लंबे स्रोत दस्तावेज़ से शब्दावली और चीट शीट बनवाना चाहते हों।
Skill का लिंक
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/book-to-skill/skills/book-to-skill/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे ब्रांड दिशानिर्देशों की इस PDF को अध्याय सारांश और शब्दावली वाली स्किल में बदलिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट स्रोत की संरचना निकालता है, सिर्फ़ सारांश नहीं, और एक छोटी मुख्य फ़ाइल बनाता है जिसमें अध्याय फ़ाइलें, शब्दावली, पैटर्न और चीट शीट होती हैं। फिर वह नतीजे को सत्यापित करता है और चलाने से पहले स्रोत के अधिकार जाँचता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Book-to-Skill Converter
Turn written knowledge into an agent skill by extracting structure, not summaries.
A book is crystallized expertise: frameworks, principles, techniques that took years to develop. Read once, forgotten. The workarounds all fail — PDF search returns page numbers instead of answers, an agent handed the raw file hallucinates or drowns, reading notes rot. This skill compiles a source into a knowledge base the agent loads on demand: a small resident core, one chapter file at a time, and never the whole book again.
What it produces:
| 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 |
Beyond books: anything referenced often enough to be worth memorizing — internal documentation, brand systems, standards, specs, research clusters, a folder of RFCs.
Philosophy
Extract structure, not summaries. A skill is not a book report. It is a toolkit of named frameworks, actionable principles, step-by-step techniques, anti-patterns, and the author's voice.
Preserve the author's precision. Framework names are interfaces. "The 5 Whys" is not interchangeable with "ask why a few times" — the exact formulation is what makes lookup work.
Layer depth appropriately. A thin book gets a thin skill. A book with fifteen frameworks gets chapter files and a real topic index.
Never reproduce the source at length. These are structured notes. Synthesize, compress,
name — do not copy passages. See references/rights_and_provenance.md.
Modes
| Mode | Trigger | Runs |
|---|---|---|
| 1. Full conversion (default) | One or more paths, no special instruction | Steps 0–10 |
| 2. Analyze only | "analyze", "just extract", "let me review first" | Steps 0–3, then stop with an extraction report |
| 3. Generate from analysis | User supplies prior analysis notes | Steps 4–10 |
| 4. Update / fold-in | New sources + an existing compiled skill | Steps 0–2, then the Update Workflow |
| 5. Package as plugin | "make it a plugin", "add it to the repo" | Step 11 |
Mode 5 is this repository's addition. Upstream stops at a bare folder in a personal skills home; Step 11 wraps that folder in a plugin package other skills and agents can route to.
Hard rules
- Never convert a source the user cannot show you. No web-scraping a book, no reconstructing a title from memory. This tool converts files that are already on disk.
- Pre-flight the cost before generating (Step 2.5). Generation is the expensive part; the user approves it with numbers in front of them.
- Never dump a large source into context. Over ~50k tokens, probe with
grep/sedand bounded reads (Step 2.6). Re-reading a 200-page book once per chapter costs more than everything else in this workflow combined. - Validate before anyone loads it (Step 9.5). A generated skill is untrusted text that an agent will later read as instructions.
- Never widen the generated skill's authority. Generated frontmatter carries
nameanddescriptiononly — noallowed-tools, no model-invocation flags. - Rights before redistribution. Compiled notes from a copyrighted work are personal study notes. Packaging one as a shareable plugin requires a stated basis (Step 11).
- State what the skill does not cover. Every compiled skill's Scope section names its boundary, so the agent says "the source doesn't cover this" instead of improvising.
Pipeline
extract_document.py → analyze → chapter files → supporting files → SKILL.md
(Step 2) (Step 3) (Step 7) (Step 8) (Step 9)
↓
skill_plugin_emitter.py ← book_skill_validator.py
(Step 11) (Step 9.5)
All four tools live in scripts/ and run on the standard library alone.
Run it
SKILL_ROOT=engineering/book-to-skill/skills/book-to-skill
अक्सर पूछे जाने वाले सवाल
कौन सी फ़ाइल प्रकार पढ़ सकती है?
PDF, EPUB, DOCX, HTML और Markdown।
क्या यह केवल सारांश लिखती है?
नहीं। स्किल फ़्रेमवर्क, सिद्धांतों और तकनीकों पर केंद्रित है, और चलने से पहले इसमें अधिकार जाँच शामिल है।
मुख्य फ़ाइल क्या है?
यह एक छोटी मुख्य फ़ाइल है, लगभग 4,000 टोकन से कम, जिसे एजेंट हमेशा लोड करता है, जबकि अध्याय फ़ाइलें केवल ज़रूरत पड़ने पर लोड होती हैं।
जानकारी
लेखक का मूल विवरण
Use when turning a book, docs folder or spec collection (PDF, EPUB, DOCX, HTML, Markdown) into an agent skill, before summarizing it by hand. Extracts with extract_document.py, compiles chapters, glossary and cheatsheet, validates with book_skill_validator.py and enforces a rights gate.
लोकप्रियता
- GitHub स्टार
- 29k
- रैंकिंग में स्थान
- #9543
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-launcher-orchestrator
29kआपके एजेंट को एक साफ़ लक्ष्य से शुरू करके, अपने खाते में Claude मैनेज्ड एजेंट की योजना बनाने, बनाने, जांचने और शेड्यूल करने में चरण-दर-चरण मदद करती है।
grade-iterate
29kआपके एजेंट को किसी मैनेज्ड AI एजेंट के काम को रूब्रिक से आंकने और तय संख्या के दौरों में सुधारने देती है, ताकि वह कभी अनंत चक्र में न फंसे।
interview
29kआपके एजेंट को AI एजेंट के विचार पर आपसे इंटरव्यू लेने और कुछ भी लॉन्च होने से पहले आपके जवाबों को सरल निर्माण योजना में बदलने देती है।
run-without-you
29kआपके एजेंट को मैनेज्ड AI एजेंट शेड्यूल पर या किसी घटना पर चलाने में मदद करती है, लॉन्च से पहले cron समय की जांच के साथ।
मिलती-जुलती skills
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
notcrawl
394kयह आपके एजेंट को Notion वर्कस्पेस की सेव की गई कॉपी में खोजने, पेज और डेटाबेस देखने और पेजों को Markdown फ़ाइलों में निर्यात करने देती है।
knowledge-entities
394kयह आपके एजेंट को लोगों, कंपनियों और प्रोजेक्ट्स की पहचान करने और आपके Knowledge vault में स्रोत-आधारित प्रोफ़ाइल पेज लिखने देती है।