Agent skill · writing content · aradotso

translate-book-parallel

Translate entire books (PDF/DOCX/EPUB) into any language using Claude Code parallel subagents with resumable chunked pipeline

Why this skill is useful

Adds a complete executable pipeline for translating books with parallel processing and validation that the AI cannot generate on its own.

What it needs

Requires calibre, pandoc, python3 installed locally. About 5k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.

What this skill does

Translate Book (Parallel Subagents) Skill by ara.so — Daily 2026 Skills collection. A Claude Code skill that translates entire books (PDF/DOCX/EPUB) into any language using parallel subagents. Each chunk gets an isolated context window — preventing truncation and context accumulation that plague single-session translation. Pipeline Overview Prerequisites Verify all tools are available: Installation Option A: npx (recommended) Option B: ClawHub Option C: Git clone Usage in Claude Code Once the skill is installed, use natural language inside Claude Code: The skill orchestrates the full pipeline automatically. Supported Languages Code Language ------ ----------- zh Chinese en English ja Japanese ko Korean fr French de German es Spanish Language codes are extensible — add new ones in the skill definition. Running Pipeline Steps Manually Step 1: Convert to Markdown Chunks This produces inside {bookname}temp/: chunk0001.md, chunk0002.md, ... (source chunks, ~6000 chars each) manifest.json (SHA-256 hashes for validation) Step 2: Translate (Parallel Subagents) The skill handles this step — it launches 8 concurrent subagents per batch, each translating one chunk independently: Resumable: Already-translated chunks (valid outputchunk.md files) are skipped on re-run. Step 3: Merge and Build All Formats Before merging, validation checks: Every source chunk has a matching output file (1:1) Source chunk hashes match manifest.json (no stale outputs) No output files are empty Outputs produced: File Description ------ ------------- output.md Merged translated Markdown book.html Web version with floating TOC book.docx Word document book.epub E-book format book.pdf Print-ready PDF Project Structure How Manifest Validation Works If validation fails, the script auto-deletes stale output.md and re-merges from valid chunk outputs. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aradotso/translate-book-parallel

View the source on GitHub

Browse the @skills marketplace