bbm-plan
Skill by yihong0618
Guides an AI coding agent through translating a book into a bilingual edition with bilingual_book_maker. Covers EPUB plan mode, PDF to reflowable EPUB, and TXT, SRT and Markdown files, for users who want a careful translation.
Install bbm-plan
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yihong0618/bilingual_book_maker /tmp/bilingual_book_maker && mkdir -p ~/.claude/skills && cp -r /tmp/bilingual_book_maker/.agents/skills/bbm-plan ~/.claude/skills/bbm-planRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/yihong0618/bilingual_book_maker /tmp/bilingual_book_maker && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/bilingual_book_maker/.agents/skills/bbm-plan ~/.gemini/antigravity-cli/skills/bbm-planAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
bbm-plan is an agent skill that guides an AI coding agent through translating a book with the bilingual_book_maker tool, called bbm. It handles EPUB files through a plan mode, PDF files converted into a bilingual, reflowable EPUB, and TXT, SRT and Markdown files. The skill checks the book type first, then loads one flow file for that book.
For EPUB books, the agent builds a greedy partition and a classification plan, reviews uncertain signatures against real samples, and then runs a full resumable translation. Before any paid run, it states the command, whether the output is bilingual, and which allowance is spent. The skill is aimed at users who want a book translated well, with running heads, page numbers and apparatus skipped on purpose, rather than a quick pass.
Written from the project's SKILL.md and checked against it.
What it can do
- EPUB plan modePartitions an EPUB, builds an agent-reviewed classification plan, then runs a full resumable translation.
- PDF to bilingual EPUBTranslates a PDF into a bilingual, reflowable EPUB using the --to-epub option.
- TXT, SRT and MarkdownUses a default command for each plain text, subtitle and Markdown file type.
- Route and credential setupProbes existing credentials, asks for the route, model and prompt file, and checks the endpoint before any paid run.
- Prompt file lintingChecks a user's prompt file for problems before the first paid translation run.
- Cost approval checkpointStates the command, output type and cost-bearing allowance, and waits for approval before running.
What you need
- A bilingual_book_maker repository checkout with make_book.py at its root
- An API key for the model provider, or a ChatGPT plan for the codex route
- Python
Try asking
- Translate this EPUB into Simplified Chinese as a bilingual book.
- Translate this PDF into a bilingual, reflowable EPUB with bbm.
- Use bbm plan mode to translate this epub and skip running heads.
Good to know
- Output is bilingual by default; translated-only output needs an explicit request.
- The EPUB translate run will not start while any classification signature is still null.
- Only .epub, .pdf, .txt, .srt and .md files are covered; other extensions are not supported.
- A folder of chapters is treated as several books, one run per file.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/bbm-plan/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
assets/bbm_providers.example.json3 KB -
assets/env.example891 B -
references/epub-plan-mode.md23 KB -
references/pdf-route.md27 KB
Show all 9 files
-
references/plain-formats.md5 KB -
references/prompt-files.md3 KB -
references/providers.md14 KB -
references/route-setup.md19 KB
Alternatives to bbm-plan
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
bbm-plan: common questions
Does the skill produce a bilingual book or a translated-only one?
It produces a bilingual book, keeping each original next to its translation, unless the user explicitly asks for a translated-only edition. The skill states which one it is producing before any paid run.
Which file types does the skill support?
It supports EPUB, PDF, TXT, SRT and Markdown files. Each type has its own flow file that the agent loads for the book at hand.
Who pays for the translation run?
The skill states which allowance is spent before the run, either the API key's account or the ChatGPT plan on the codex route.
How do I install bbm-plan?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bbm-plan free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is bbm-plan safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, 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 bbm-plan?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
