Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Book2Skill

Skill by zhimaAi

Converts TXT, Markdown, DOCX, and PDF documents into a reusable skill zip with a JSONL knowledge index. Useful for turning reference documents into a skill an assistant can search.

  • Score 78
  • 2.1k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install Book2Skill

Built from the published package, never by AI.

git clone --depth 1 https://github.com/zhimaAi/chatwiki /tmp/chatwiki && mkdir -p ~/.claude/skills && cp -r /tmp/chatwiki/clawbot/skills_system/alone_doc/doc-to-skill ~/.claude/skills/book2skill

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install Book2Skill in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Book2Skill converts one or more TXT, Markdown, DOCX, or PDF documents into a reusable skill zip. The zip contains normalized Markdown, extracted images, and a JSONL knowledge index built from the source text. The workflow runs bundled Python scripts that prepare the documents, extract knowledge in batches, merge the index, and build the package.

The index uses chunks of at most 5,000 Unicode characters, and the model cites only allowed source IDs, so the final content is restored from the source text. The skill can also update an existing package with new documents while keeping its name unchanged. The source states that the workflow does not call vision models or interpret images. It suits anyone who wants to turn a set of documents into a reusable skill.

Written from the project's SKILL.md and checked against it.

What it can do

  • Convert documentsConverts TXT, Markdown, DOCX, and PDF files into normalized Markdown.
  • Extract imagesPreserves DOCX and PDF images and renders PDF pages without usable text as images.
  • Build knowledge indexCreates a grounded JSONL knowledge index from batched document chunks.
  • Update existing skillAdds newly uploaded documents to an existing skill zip and keeps its name unchanged.
  • Package skill zipOutputs a skill zip with SKILL.md, the index, source Markdown, assets, and a search script.

What you need

  • Python 3 to run the bundled scripts
  • Online OCR only when the system prompt enables it

Try asking

  • Convert these PDF and DOCX files into a reusable skill zip
  • Update my existing skill with the newly uploaded Markdown document
  • Build a searchable knowledge skill from this set of TXT files

Good to know

  • Does not interpret images or call vision models
  • Online OCR runs only when the system prompt explicitly enables it
  • Image-only content is not inferred from filenames or surrounding text

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: clawbot/skills_system/alone_doc/doc-to-skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Book2Skill

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

Book2Skill: common questions

Which file types does Book2Skill support?

It accepts .txt, .md, .docx, and .pdf files. Source conversion failure fails the whole task.

Does Book2Skill analyze images in documents?

No. It preserves DOCX and PDF images and renders image-only PDF pages, but the workflow never performs image interpretation. The generated skill can inspect the images later through file operations.

Can I add documents to an existing skill?

Yes. Update mode reuses the existing normalized Markdown and assets from the validated package, converts only the new documents, and keeps the skill name exactly unchanged.

How do I install Book2Skill?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is Book2Skill free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is Book2Skill safe to use?

It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Book2Skill?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

Book2Skill Install

Add to stack

Loading.