annotate
Build and verify a PII gold set with HUMAN annotators (first-class). Launch the browser annotator, label spans per the codebook,…
Residual re-identification RISK CHECK on text you have ALREADY redacted (defensive, dual-use). Use when the user asks to "check residual re-id risk", "red-team my redaction", "what can an attacker still infer", "is this safe to share", or assess "re-identification risk" after
$ npx -y skills add glebis/claude-skills --skill red --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/redContext preview
The summary Claude sees to decide when to auto-load this skill.
Residual re-identification RISK CHECK on text you have ALREADY redacted (defensive, dual-use). Use when the user asks to "check residual re-id risk", "red-team my redaction", "what can an attacker still infer", "is this safe to share", or assess "re-identification risk" after
name: red description: >- Residual re-identification RISK CHECK on text you have ALREADY redacted (defensive, dual-use). Use when the user asks to "check residual re-id risk", "red-team my redaction", "what can an attacker still infer", "is this safe to share", or assess "re-identification risk" after anonymizing. Re-runs the CONFIDE detectors on the redacted output to surface surviving identifiers (singling-out), checks multiple files for linkability, and optionally probes a local model for still-inferable attribute CATEGORIES (inference) — mapped to GDPR Art-29. Reports risk categories/counts only, never a re-identification recipe. Pairs with confide:anon (run AFTER redacting).
A **defensive** audit of YOUR OWN already-redacted output. It does not score against ground truth and is not a benchmark. It surfaces, qualitatively, what an attacker could **still** do — mapped to GDPR Art-29: **singling-out**, **linkability**, **inference**.
third-party / non-consented data, **refuse**.
re-identification recipe or guess the hidden values.
**only** on synthetic or explicitly consented data.
ceiling. Always tell the user **human review is still required**.
1. **Singling-out (deterministic, offline — the load-bearing signal):** re-run `detect_regex` (+ `detect_natasha` if available) on the **redacted** text. Anything they still find is a **surviving identifier the redaction missed**. Counts by type. 2. **Linkability (multi-file):** given a folder, compare every file pair for shared surviving quasi-identifiers and flag potentially linkable pairs (count + types only). 3. **Inference (LLM, optional, opt-in):** prompt the local attacker model (`cfg.red_attacker_model`) for the attribute **categories** it could still infer (profession, location type, age band, …). Degrades gracefully if no model. WARN the user it under-reports (floor, not ceiling).
MEDICATION), or linkable pairs exist across files.
# single redacted file (offline, deterministic) python3 skills/red/scripts/red.py path/to/file.green.md # a folder of redacted files (adds linkability) python3 skills/red/scripts/red.py path/to/redacted_dir/ # add the local inference probe — synthetic/consented data ONLY python3 skills/red/scripts/red.py path/to/file.green.md --inference # machine-readable python3 skills/red/scripts/red.py path/to/file.green.md --json
A residual-risk report: per-file surviving-identifier **counts by type**, an overall **risk tier**, the inference **categories** claimed (if probed), the **linkable-pair count**, and the caveat that *absence of a finding ≠ safety; human review still required*. No PII values, no re-identification steps.
~100 skills for Claude Code — meeting pipelines, research, image generation, TDD, publishing, personal analytics, and Claude Code ops. Each skill is a self-contained folder with a SKILL.md; Claude triggers them from natural language.
Build and verify a PII gold set with HUMAN annotators (first-class). Launch the browser annotator, label spans per the codebook,…
De-identify a session transcript (file or folder) by redacting PII LOCALLY before any sharing or cloud use. Produces a redacted…
Run a corpus-scale, STATS-ONLY PII audit over a folder of session transcripts LOCALLY and produce an aggregate report — counts by…
Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own…
Set up, install, and configure CONFIDE local de-identification — installs Python deps (natasha, scrubadub, phonenumbers,…