barbershop-ops
Chair capacity and booking-utilization math for barbershops. Enter chairs, average cut time in minutes, and open hours per day to get daily capacity; then feed a bookings CSV (date, cuts) to see utilization percentage per day, with flags for overbooked, nearly-full, and slow days. Use when deciding whether to add a chair, extend hours, or run a slow-day promotion.
$ skillbank install barbershop-ops@1.0.0 # pins exactly 1.0.0 · README + changelog included
Barbershop Ops
Overview
Most shops guess at capacity. scripts/chair.py does not: chairs × (floor of open-minutes ÷ average cut minutes) gives the daily cut capacity, and with a bookings CSV (date,cuts) it reports utilization per day — flagging overbooked (>100%), nearly-full (≥90%), and slow (<50%) days, plus the average across the period. references/booking-ratios.md covers what healthy utilization looks like and when the numbers justify another chair.
Capacity assumes every chair is staffed the whole day and each cut takes exactly the average. It is a ceiling, not a schedule — no-shows, walk-in gaps, and the barber who takes 50 minutes for a "quick" fade all live below it.
Installation
1. Copy the barbershop-ops/ directory anywhere convenient. 2. Make the script executable (Unix):
chmod +x scripts/chair.py
No pip install needed — standard library only. All data stays local; nothing is uploaded.
Configuration
No config file. The bookings CSV needs exactly this header and shape:
date,cuts
2026-09-21,52
2026-09-22,61
| Column | Required | Description | |--------|----------|--------------------------------------| | date | yes | Day label (any text, must not be blank). | | cuts | yes | Completed cuts that day (whole number, ≥ 0). |
Omit --bookings to get capacity only.
Inputs
chair.py --chairs N --minutes M --hours H [--bookings bookings.csv]
| Argument | Default | Description | |---------------|---------|----------------------------------------------------| | --chairs | — | Number of chairs (required, positive). | | --minutes | — | Average cut time in minutes (required, > 0). | | --hours | — | Open hours per day (required, > 0). | | --bookings | — | CSV with header date,cuts (optional). |
Output: cuts per chair per day, daily capacity, and — with --bookings — a per-day utilization table with flags and the period average.
Worked example
Four chairs, 35-minute average cuts, open 10 hours a day, with a week of bookings in references/sample-bookings.csv:
$ ./scripts/chair.py --chairs 4 --minutes 35 --hours 10 \
--bookings references/sample-bookings.csv
CHAIR CAPACITY
Chairs: 4
Average cut: 35 min
Open hours: 10h
Cuts per chair per day: 17
Daily capacity: 68 cuts
UTILIZATION
Date Cuts Capacity Util %
-----------------------------------------
2026-09-21 52 68 76.5%
2026-09-22 61 68 89.7%
2026-09-23 68 68 100.0% <-- nearly full
2026-09-24 44 68 64.7%
2026-09-25 57 68 83.8%
Average utilization: 82.9% over 5 days
68 cuts a day is the ceiling; the shop ran at 83% of it this week, with Wednesday maxed out. That is a healthy-but-full shop — see references/booking-ratios.md for why 75–85% is the sweet spot and what to do about the 65% Thursday.
Version history
Changelog
1.0.0 — 2026-09-27
- Initial release:
scripts/chair.pychair-capacity calculator (daily cut - Playbook:
references/booking-ratios.md— healthy utilization ranges and - Sample input:
references/sample-bookings.csv.
capacity from chairs, average cut minutes, and open hours; per-day utilization from a bookings CSV with overbooked/nearly-full/slow-day flags and a period average).
when the numbers justify another chair.