Use this skill when a user wants weekly chore chart scores or a housemate leaderboard worked out from a log of chores done (who did which chore on which day, with points per chore), written to chore-points.csv. Not for general expense splitting or rota scheduling.
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 Chore Points?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-chore-points-e53751c7)
---
name: chore-points
description: "Use this skill when a user wants weekly chore chart scores or a housemate leaderboard worked out from a log of chores done (who did which chore on which day, with points per chore), written to chore-points.csv. Not for general expense splitting or rota scheduling."
---
# Chore points
Score a shared house's week of logged chores and write a ranked CSV.
## Inputs
`input.json` in the working folder:
- `housemates`: array of names (order matters, see tie-break).
- `chores`: object mapping chore name to integer points.
- `log`: array of `{day, who, chore}` in the order written; `day` is Mon..Sun.
If `input.json` is missing or malformed, stop and tell the user. Do not invent data.
## Scoring rules
Process `log` strictly in array order (not sorted by day).
1. **First claim wins.** Key each entry by (`day`, `chore`). Only the first entry for a key scores. Every later entry with the same key scores 0, whether by the same person (duplicate) or a different person.
2. **Weekend bonus.** A scoring entry earns
`entry_points = chores[chore] + (1 if day is Sat or Sun else 0)`.
Mon-Fri get no bonus. The bonus applies only to entries that score under rule 1.
3. **Total** per housemate = sum of their `entry_points`. Housemates with no scoring entries total 0 and still appear.
Points are whole numbers; no halving, rounding or negatives. A chore worth 0 scores just the weekend bonus.
## Ranking
Sort housemates by total descending. Ties keep the order in which they appear in the `housemates` array (not alphabetical).
## Output
Write `chore-points.csv` beside `input.json`:
- Header line exactly `housemate,points`.
- One line per housemate in `housemates` (all of them, including 0), ranked as above.
- Plain integers, `\n` line endings, no extra blank lines, no rank column.
- Quote a name with `"` only if it contains a comma or quote.
## Steps
1. Read `input.json`.
2. Walk the log in order, keeping a list of seen (day, chore) keys; apply rules 1-2 and write down each scoring entry's points per person.
3. Total per housemate, include zeros.
4. Sort with the tie-break and write the CSV.
5. Re-read the file and check the row count equals the number of housemates.
## Worked example
Chores: hoovering 3, bathroom 4, recycling 1. Housemates: Zara, Milo, Iris. Log:
Mon Milo hoovering; Tue Zara recycling; Tue Iris recycling; Fri Iris bathroom; Sat Zara hoovering.
- Milo: 3. Zara: recycling 1 (Tue, first), hoovering 3+1 (Sat) = 5.
- Iris: Tue recycling is a repeat key, 0; bathroom 4 = 4.
```csv
housemate,points
Zara,5
Iris,4
Milo,3
```