skills/clawhub.ai/epub-bilingual-converter-skill

epub-bilingual-converter-skill

Installation
SKILL.md

epub-bilingual-converter-skill

Overview

Use this skill to convert an EPUB into a bilingual EPUB through four separated stages:

  1. Extract structure with scripts/extract.py.
  2. Estimate translation token budget with scripts/estimate_tokens.py.
  3. Fill only target-language fields in extraction.json.
  4. Assemble the bilingual EPUB, summary text files, and report.txt with scripts/assemble.py.

Keep extraction, translation, and assembly responsibilities separate. Extraction must not translate. Assembly must not invent translations. Translation must not alter source fields or structure.

Inputs

Require an EPUB file and target language. If the user omits the target language, ask for it before processing.

Use an output directory supplied by the user. If none is supplied, create a sibling directory named output beside the EPUB.

Installs
1
First Seen
4 days ago
epub-bilingual-converter-skill from clawhub.ai