Skip to content
Skills Library
Law & compliance · Automation

close-round

/close-round

Close a hiring round and delete candidate personal data (extracted and redacted CVs, scores, rankings, reports, interview kits) while keeping a pseudonymous audit record. Also finds rounds left open too long. Use when a role is filled or cancelled, when the user asks to delete candidate data or apply retention, or to check for overdue rounds.

Licence
MIT
Last repository change
10.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/cleanup.py

What it does and when to use it

Close a hiring round and delete candidate personal data (extracted and redacted CVs, scores, rankings, reports, interview kits) while keeping a pseudonymous audit record. Also finds rounds left open too long. Use when a role is filled or cancelled, when the user asks to delete candidate data or apply retention, or to check for overdue rounds.

Original author description

Close a hiring round and delete candidate personal data (extracted and redacted CVs, scores, rankings, reports, interview kits) while keeping a pseudonymous audit record. Also finds rounds left open too long. Use when a role is filled or cancelled, when the user asks to delete candidate data or apply retention, or to check for overdue rounds.

How it works

  1. Close one round
  2. What remains
  3. Overdue rounds
  4. Rules
Original SKILL.md headings · 49 lines, 470 words
SKILL.md preview
---
name: close-round
description: Close a hiring round and delete candidate personal data (extracted and redacted CVs, scores, rankings, reports, interview kits) while keeping a pseudonymous audit record. Also finds rounds left open too long. Use when a role is filled or cancelled, when the user asks to delete candidate data or apply retention, or to check for overdue rounds.
---

# Close Round

Script: `scripts/cleanup.py` next to this file. Run with `python3 -I`. Paths in this file are relative to this skill's folder (the folder that holds this `SKILL.md`); skills are installed side by side, so `../<other-skill>/` reaches a sibling skill. Shared scripts named without a path (`check_ready.py`, `decisions.py`, `focus.py`, `trace_usage.py`, `workspace.py`) are in `../hiring-workspace/scripts/`; `check_map.py` and `inventory.py` are in `../map-codebase/scripts/`; any other script is in `../<skill>/scripts/` of the skill that owns it.
It deletes only inside the role folder and never follows symlinks.

In a multi-repo workspace the role folder is `<workspace>/roles/<role-slug>`; the sweep takes `<workspace>/roles`.
The workspace's maps and system map hold no candidate data and stay.

## Close one round

1. **Preview.** `python3 -I scripts/cleanup.py close hiring/<role-slug>`
   This prints what will be deleted and kept and deletes nothing (exit code 3).
2. **Ask the user two questions** before deleting, unless they already answered (as in
   [How to ask a question](../hiring-workspace/CHECKPOINTS.md#how-to-ask-a-question): nothing pre-selected,
   write-your-own and skip options; give the facts below in neutral words):
   - Delete the original CVs in `cvs/` too? (`--include-cvs`.) Facts to give: they are personal data; keep them only
     if they live nowhere else and the organisation's policy sets a retention period.
   - Keep the report (`report.md` and `report.html`)? (`--keep-report`.) Facts to give: it names candidates and
     quotes their CVs; keep it only for a documented reason.
   **If either is skipped, delete nothing** and say what is still waiting for an answer.
   Also check that nobody still needs the data, e.g. a candidate who asked for human review or
   for a copy of their data.
3. **Close.** Re-run with the chosen flags and `--yes`. Tell the user what was deleted, in one line.

Deletion cannot be undone. Never pass `--yes` without the user's confirmation in this conversation,
including in scheduled or unattended runs: there, run the preview and report it instead.

## What remains

`brief.md`, `jd.md`, `repo-profile.md`, `rubric.json`, `focus.md` and `decisions.json` (to reuse for the next round), `round.json`
(opened/closed dates), and `audit.json`: rubric
version and hash, each candidate's pseudonymous id, score, gate, confidence and flag codes, the
ranking hash, and what was deleted. No names, file names or CV text.

## Overdue rounds

`python3 -I scripts/cleanup.py sweep hiring --older-than <days>` lists open rounds older than the
retention period. Ask the user for their organisation's retention period rather than assuming one.
The user can set up a scheduled task that runs the sweep preview monthly and reports overdue rounds.
Closing them still needs their confirmation.

## Rules

- This is not legal advice on retention periods. The user's policy and local law decide.
- If the user asks to delete one candidate's data (for example a GDPR erasure request), do it by hand:
  remove that candidate's files from `cvs/`, `extracted/`, `redacted/` and `scores/`, re-run `rank.py`
  and `render_report.py`, and tell the user which files were removed.
Files in this package (2)
  • SKILL.md 4 KB
  • scripts/cleanup.py 8 KB

Versions

The database has no other skills named close-round.

Database snapshot: 13.11.2026 · package version 4562e13b93cb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90esp32-data-retention-policy
    Use when designing, reviewing, debugging or validating data retention policy for ESP32 firmware; apply target-specific constraints, failure analysis and measurable verification before release.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.