PDF/EPUB/MOBI to TXT and Markdown Translation
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_1793b15c/pdfconversion-v1.
About this skill
Problem
Ebooks often arrive as EPUB, MOBI, or PDF files. Extracting the text is only the first step: the output still needs cleaning, chapter structure, and optional translation. Manual copying can break headings, while online models add token cost, privacy concerns, and connectivity requirements. This skill targets local conversion: turn common ebook files into editable text, generate Markdown with scripts, and translate when needed.
How It Works
- Format conversion:
epub-to-txt,mobi-to-txt, andpdf-to-txtexport single or batch files toTXT; MOBI usesmobi, while PDF can fall back toclawpdfandPyMuPDF. - Scanned PDFs:
pdf-to-txt-ocruses localRapidOCRfor PDFs without a text layer, such as scanned books or facsimiles. - Markdown rendering:
txt-to-mdmaps titles, authors, and subsections into#,###, italics, and plain body text. - Translation:
txt-translateruns offline throughArgos Translate, preserving chapter structure, supporting bilingual output, and resuming interrupted jobs. - Batch workflows:
workspace-batch-convertparses book lists, routes mixed formats, skips completed files, and emits a summary report.
Boundaries and Notes
The skill is best for extractable text. Image-only EPUBs still require exporting images and running OCR separately. Complex multi-column layouts may produce interleaved lines. Offline translation is suitable for reading and understanding, not for publication-grade copy. With special filenames, long paths, or Windows console encoding issues, verify that the output file exists and contains the expected content.
Use Cases
- Convert a set of English EPUB technical books to TXT and Markdown for editing in local notes.
- Extract text from scanned PDFs with local OCR, then save TXT for search and summarization.
- Batch convert mixed MOBI and EPUB books in a folder to TXT, skip existing files, and review success and failure counts.
- Translate English TXT chapters into Chinese while preserving headings and sections, with bilingual output for review.
Best For
- Engineers maintaining personal knowledge bases who need ebook text as editable Markdown instead of manual copying.
- Editors processing course or industry materials who need batch text extraction from EPUB, PDF, and MOBI into structured drafts.
- Offline translation assistants who need to convert English TXT/MD into Chinese while preserving chapter structure.
- Research assistants organizing mixed ebook folders who need one batch conversion pass with a success/failure summary.
Related Skills
Turns files, references, or chat context into styled single-page HTML reports with built-in templates and preset themes.
An engineering-oriented email automation solution for batch sending, Jinja2 templates, attachments, scheduled sending, inbox monitoring, and rule-based auto-reply.
An engineering workflow for creating, editing, reviewing, analyzing, and image-converting .docx files using pandoc, docx-js, OOXML, and LibreOffice.
Pre-submission scanner for Word/PDF blind-bid files that checks margins, fonts, page numbers, and metadata against tender requirements and flags residual bidder identities.