bilingual_book_maker: Skill for Claude Code

.agents/skills/bbm-plan/SKILL.md

bbm-plan is a skill for Claude Code, Codex from yihong0618/bilingual_book_maker. It costs 125 tokens per session (1,881 once invoked), scanned A, original, MIT.

A guided workflow for translating an EPUB, a digital book, into a bilingual edition. It first plans which parts to translate, such as skipping page numbers and running heads, then runs the translation in resumable steps.

In plain words
What is it for?
Use it to prepare and translate a complete bilingual EPUB with reviewable decisions, a small test run, and a later full run.
Why use it?
It avoids treating every part of a book as ordinary text and helps catch classification mistakes before a full translation. A resumable run also reduces the risk of losing progress if the process stops.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions Codex.

This is yihong0618/bilingual_book_maker's own configuration. It tells Claude Code and Codex how to work on bilingual_book_maker itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bilingual_book_maker configures →

About the project

Bilingual Book Maker is an AI translation tool that creates multilingual versions of EPUB, TXT, Markdown, subtitle, and PDF files. It is for translating public-domain books and other supported documents with language-model or machine-translation services. Its catalogue skill lets coding agents operate the translation tool.

yihong0618/bilingual_book_maker · 9,930 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to yihong0618/bilingual_book_maker. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yihong0618/bilingual_book_maker/main/.agents/skills/bbm-plan/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yihong0618/bilingual_book_maker

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bbm-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/yihong0618/bilingual_book_maker/bbm-plan/github.svg)](https://agentmods.dev/skills/yihong0618/bilingual_book_maker/bbm-plan)
Your own site
<a href="https://agentmods.dev/skills/yihong0618/bilingual_book_maker/bbm-plan"><img src="https://agentmods.dev/badge/skills/yihong0618/bilingual_book_maker/bbm-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bbm-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/yihong0618/bilingual_book_maker/bbm-plan"><img src="https://agentmods.dev/badge/skills/yihong0618/bilingual_book_maker/bbm-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 40
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 87
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Supply Chain · line 182
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • medium Output Handling · line 470
    Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.
    Fix: Set explicit limits on output length, generation count, and rate. Use max_tokens and truncation to prevent unbounded output.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.01881
Opus 5.5 $0.00050 $0.00752
Sonnet 5.5 $0.00025 $0.00376
Haiku 4.5 $0.00013 $0.00188

Measured 7d ago against content hash 41c1af69af28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bbm-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/bbm-plan/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bbm-plan: translate a book with bilingual_book_maker

This file is the router. Do the intake below, then load one flow file for the book in hand and follow it. The other flow files stay unread.

Repo: the repository this skill ships in (make_book.py at its root). Run every command from the repo root. The user documentation is the MkDocs site in docs/en/ of this checkout; the flow files point at the page to read for anything they do not spell out. python make_book.py --help is the authority on every flag, and docs/en/cmd.md lists them all in one place.

Your stance

You are the trained CLI operator. You pick every flag from the flow file's recommendations and state each choice with a one-line reason; the recommended defaults are what you pass unless the user asks for something else or the book argues otherwise. The user hands over a book, credentials and (if they have one) a prompt file, approves the plan and the cost, and gets a bilingual book back. They are never asked to experiment with flags, halt semantics or resume mechanics.

The EPUB flow uses --plan-classify agent. The plan arrives with its uncertain signatures set to "action": null, and the translate run refuses to start while any null remains, so you, the coding agent, own the classification against the real samples. Do it in the main agent with full session context; never delegate plan editing to a subagent or a small/fast model. The one exception is the user naming a classifier themselves (Jev, or a model): then follow "A classifier the user names" in references/epub-plan-mode.md, and still read its skips.

All state lives on disk (bbm_providers.json, .env, the flow's own working files, the resume cache, run.log), so any step can be redone after a crash or in a new session.

Intake

  1. Route and credentials: always read references/route-setup.md before the first command. It probes what the user already has, asks one question (route, model, prompt file), binds the ROUTE and CONTEXT arrays every flow uses, and probes the endpoint for a sub-cent before anything is paid. Keys never go on the command line: the handoff block reprints the whole command, and argparse echoes it back on a mistyped flag. If a key ever reaches the terminal, say so at once and tell the user to rotate it.
  2. Book path and target language (--language, e.g. zh-hans, ja, Simplified Chinese). For a small language the tables may not know, pass both halves: --language "ain:Ainu" (tag before the colon, name after; the tag list is docs/en/languages.md). --source_lang states the source language for a book whose short lines or names could be misdetected.
  3. Their prompt file, asked in the route question. If they hand one over, lint it before the first paid run: references/prompt-files.md. If they say no, offer one sentence of what a style instruction would buy them and move on. Independently, look for an existing template in the book's directory and the repo root (prompt.json, prompt.txt, prompt*.md, prompt_template*). A candidate must carry a diff: in a git repo only untracked or modified-against-HEAD files count; cleanly tracked prompt* files are the repo's shipped examples, not the user's voice. Found one? Ask before doing anything with it; never adopt or ignore it silently.
  4. Anything they want changed from the recommended defaults: a visual style for the translation, specific chapters or pages only.

Read the full file on GitHub · 135 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +1 lines 41c1af69af28
  2. 1mo ago Changed · -449 lines · +45 tokens per session scan C → A 0756d1931e1a
  3. 1mo ago Changed d65ed3f49e68
  4. 1mo ago Changed 8430ed6a3daa
  5. 2mo ago Changed · +30 lines fc0ff4d82293
  6. 2mo ago Changed · +73 lines · -4 tokens per session ef43bfb042ef
  7. 2mo ago Changed · +149 lines 092bde20eced
  8. 2mo ago First seen · 331 lines · 84 tokens per session scan C 9735035a0f46

Subscribe to this mod's changes

bbm-plan is a skill published in the GitHub repository yihong0618/bilingual_book_maker (9,930 stars, last pushed 7d ago), licensed MIT. It adds 125 tokens to every session and 1,881 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

bbm-plan compared with skills from other repositories

bbm-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bbm-planyihong0618/bilingual_book_makerSkill9.9k7d agoMITA125Claude Code, Codex
intl-expansionalirezarezvani/claude-skillsSkill29kyesterdayMITA27Claude Code
azure-ai-translation-text-pymicrosoft/skillsSkill3.2kyesterdayMITA60Claude Code
chinese-documentationjnMetaCode/superpowers-zhSkill8.5k11d agoMITA62Claude Code
hardenfengshao1227/ccg-workflowSkill6.0k4d agoMITA62Claude Code
edit-sitemicrosoft/power-platform-skillsSkill1.1kyesterdayMITA104Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.1kyesterdayMITA60Claude Code