Run ULT-alignment and UST-alignment in parallel for a single chapter. Use when asked to align both ULT and UST or run all alignments for a chapter.
Spawn alignment agents in parallel and wait for them to complete.
If --context <path> is provided, read the context.json file. It contains the authoritative source paths:
sources.ult — the ULT to align (may be a freshly generated file, not Door43 master)sources.ust — the UST to alignsources.hebrew — Hebrew source filePass the ULT and UST paths to the alignment subagents so they align the correct files. Include these in the subagent prompts, e.g.: PSA 35 --ult output/AI-ULT/PSA/PSA-035.usfm
If neither --ult nor --ust is given, run both.
This skill is coordination only — run it as haiku. The alignment subagents require linguistic judgment — spawn each with model: "sonnet".
Before spawning agents, count the verses in the chapter using mcp__workspace-tools__read_usfm_chapter on data/hebrew_bible/XX-BOOK.usfm. Count the number of \v markers in the result.
Spawn agents in parallel:
ult-align subagent (model: "sonnet", skill: ULT-alignment)ust-align subagent (model: "sonnet", skill: UST-alignment)Wait for both to complete. Report results.
Determine the number of batches, then split evenly:
Examples:
Launch all batch subagents in a single message — do not wait between batches:
ult-align-K subagent (model: "sonnet", skill: ULT-alignment) for BOOK CH --verses START-ENDust-align-K subagent (model: "sonnet", skill: UST-alignment) for BOOK CH --verses START-ENDParallel cap: If the chapter has more than 5 batches per type (>90 verses), split into waves of 5 batches each. Run wave 1 (batches 1–5), wait for completion, then run wave 2 (batches 6–N). This keeps total parallel agents manageable.
Wait for all subagents to complete before proceeding.
After all alignment batches complete, spawn a consistency checker to catch cross-batch inconsistencies. The same Hebrew word (same Strong's number) should get the same English alignment across the chapter.
For each type being aligned (ULT and/or UST), spawn a Task subagent (model: "sonnet"):
Task: "Check alignment consistency for BOOK CH (ULT|UST)"
The checker:
x-strong + x-content pairing and which English word(s) it maps toIf running both ULT and UST, spawn both checkers in parallel.
Note: The checker does NOT re-align from scratch — it only patches inconsistencies in the already-generated partial files. Skip this step for chapters with only 2 batches (≤36 verses), where inconsistency risk is low.
After consistency check completes, use mcp__workspace-tools__merge_aligned_usfm to assemble the full chapter:
parts = ordered array of all ULT partial files, output = output/AI-ULT/BOOK/BOOK-CH-aligned.usfmparts = ordered array of all UST partial files, output = output/AI-UST/BOOK/BOOK-CH-aligned.usfmDo NOT use Bash, sub-agents, or manual Read+Write for the merge — use the MCP tool.
output/AI-ULT/<BOOK>/<BOOK>-<CH>-aligned.usfm - ULT with word-level alignments (if --ult or both)output/AI-UST/<BOOK>/<BOOK>-<CH>-aligned.usfm - UST with phrase-level alignments (if --ust or both)Both are ready for insertion into Door43 repos.
/align-all-parallel psa 124
/align-all-parallel lam 4 --ust
/align-all-parallel lam 3 --ult --ust