document-deidentification-pass
Document de-identification pass
Purpose
Return a DRAFT redacted copy of one pasted text or attached document, personal identifiers replaced by consistent placeholder tokens, plus a redaction table of every replacement and a flagged table of passages that may still identify someone. The agent proposes; a named human verifies every row, applies the decisions and releases. The pass never declares a document anonymised, safe to share or compliant.
When to use
Use when the user asks to redact, de-identify, pseudonymise, anonymise or strip the personal data from a document, transcript, email thread, spreadsheet extract or case record before it is shared, published or used as training material, or asks what would need redacting.
Do not use for assessing a planned processing activity, use dpia-draft-pack instead; for what data an incident exposed, use data-incident-impact-brief. Never use it to decide whether a document may be released.
Inputs
- Source: pasted text, an attached document, or one reachable through the agent's configured knowledge sources. If only a name is given, list the matches and hold until the user confirms one; if unreachable, ask for a paste and say so.
- Release purpose (internal, external party, publication, training data). Default: UNKNOWN, flagged; it sets the priority of quasi-identifier rows.
- Redaction scheme. Default: typed, numbered tokens such as [NAME-1], [EMAIL-1], [ID-1], one per distinct person or value, reused throughout. On request: role tokens ([EMPLOYEE-1]) or a single [REDACTED] marker.
- Categories in scope. Default: every category in the reference file is redacted; organisation names, job titles and places are flagged, not redacted.
- Keep list: identifiers the user states must remain. Default: empty; nothing is kept silently.
- Date treatment. Default: person-linked dates become [DATE-n]; document dates are kept and flagged. Alternatives: month and year, or year only.
Reference files in this skill: references/identifier-categories.md, read at step 3 for categories, token prefixes, default treatment, confidence levels and priority by release purpose.