Calculate client time split for billing. Use at 5pm or end of day.
Calculate the split of time across clients for billing purposes.
When to use: At the end of a work session (typically ~5pm) or during /end-day
personal/invoicing/timecard.csv (in content repo)personal/invoicing/scripts/add_time.shThe CSV format is:
date,client,hours,tasks
2026-01-28,acme-corp,4.5,"Reviewed budget, prepared presentation"
2026-01-28,example-org,3.5,"Grid monitoring updates"
Check the date first:
.claude/skills/dates/scripts/date_context.sh
After midnight (before 3am): Ask the user which day they want to record time for - they likely mean yesterday, not today.
Review the day's work using task activity:
tcli activity --since YYYY-MM-DD
Calculate time split based on:
Record the entry using the add_time script:
personal/invoicing/scripts/add_time.sh YYYY-MM-DD client hours "task summary"
Or append directly to CSV (ensure proper quoting for task descriptions with commas).
Verify the entry was recorded correctly:
tail -5 personal/invoicing/timecard.csv
/timecard shows historical data and summaries