Allocate bookbinding blocks from input.json to presses under the bindery rules, returning press-placement.csv and press-hours.json. Use for today's actual assignments, not a workshop handover.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Bookbinding Press Plan?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-bookbinding-press-plan)
---
name: bookbinding-press-plan
description: Allocate bookbinding blocks from input.json to presses under the bindery rules, returning press-placement.csv and press-hours.json. Use for today's actual assignments, not a workshop handover.
---
# Bindery press assignments
You cannot run commands, scripts or programs. Work by hand in your own reasoning, and do not create helper or scratch files.
Read `input.json`. Start each press's remaining time at its `hours`. Handle the rush cards first, then the rest; in each group take tickets numerically from lowest to highest. Keep the original card order for the eventual report.
For each `blocks` card:
1. If `inkDry` is false, hold as `wet` straight away, even if it is rush or too wide. Reserve nothing.
2. Use `widthCm` plus 2 cm if `interleaved`, otherwise use `widthCm` alone. Span equal to that width fits. If no press is wide enough, hold as `width` and reserve nothing.
3. Use 2 hours for `pva` or 4 for `starch`, plus 1 hour if `interleaved`. Check sufficiently wide presses in ascending span. Pick the first with the whole time remaining; exact time counts. A narrow press with too little time does not block a wider one.
4. If none of the sufficiently wide presses has the time, hold as `time`; leave every press's hours unchanged. Otherwise subtract all the needed hours from the selected press. Never reserve a partial block or spread it over presses.
For example, an interleaved starch block of width 16 cm needs a span of 18 cm or more and all five hours. A press with 18 cm and 5 hours takes the block exactly; a press with 19 cm and 4 hours cannot take it, even partly.
Write exactly these files beside the input, without modifying `input.json`:
- `press-placement.csv`: `ref,press,hours,hold`. List every card in the original order in `blocks`. Show the assigned press and hours for each reservation, with an empty `hold`. For a hold, show an empty press, `0` hours, and `wet`, `width` or `time`.
- `press-hours.json`: an object mapping every press label to its remaining hours as a number, including zero. Check reservations plus remaining hours against the initial allotment of each press.