Packs / personal-productivity-public
weekly-time-blocks
Turn a task list with estimates and deadlines into a week of calendar time blocks around existing meetings
Install
logicpacks pack use personal-productivity-public/weekly-time-blocksget_pack personal-productivity-public/weekly-time-blocksThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-python - Checks: 2 in
outcome/checks.yaml - Code:
plan.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A week plan (.ics + text) that places tasks into free working hours by deadline then priority, splits long tasks into blocks, keeps a daily buffer, and lists what does not fit.
Verified by: Synthetic week: the deadline-Tuesday task is fully placed by Tuesday, blocks avoid the busy meeting, an oversized task reports leftover hours.
Steps
- List tasks with honest hour estimates.
- Export busy times (or type meetings into busy.csv).
- Run
python3 code/plan.py tasks.csv busy.csv 2026-12-07 --hours 9-17 --buffer 1 --ics out/week.ics. - Import the .ics; re-plan mid-week if things slip.
Edge cases
- Blocks are at least 30 minutes; tiny leftovers merge into the previous block.
- Weekends are skipped unless --days 7.
Don'ts
- Don't fill 100% of the day; keep the buffer.
- Don't push the .ics into a shared calendar without checking.