annotate
Build and verify a PII gold set with HUMAN annotators (first-class). Launch the browser annotator, label spans per the codebook,…
Build a self-contained interactive HTML that lets you SEE de-identification and restoration — original ↔ redacted ↔ rehydrated, with color-coded PII spans and All/None/Selected toggles. Use when the user says "show me what was redacted", "visualize the de-id", "compare original
$ npx -y skills add glebis/claude-skills --skill view --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/viewContext preview
The summary Claude sees to decide when to auto-load this skill.
Build a self-contained interactive HTML that lets you SEE de-identification and restoration — original ↔ redacted ↔ rehydrated, with color-coded PII spans and All/None/Selected toggles. Use when the user says "show me what was redacted", "visualize the de-id", "compare original
name: view description: Build a self-contained interactive HTML that lets you SEE de-identification and restoration — original ↔ redacted ↔ rehydrated, with color-coded PII spans and All/None/Selected toggles. Use when the user says "show me what was redacted", "visualize the de-id", "compare original and redacted", "highlight the PII", "view redaction diff", "see what rehydrate restored", or wants to inspect exactly which spans each type/layer removes. LOCAL only — the HTML embeds REAL values (like a vault artifact): written locally, gitignored, banner-marked private, never shipped or committed.
Produce ONE standalone `.html` that renders a transcript with every PII span highlighted and color-coded by type, and lets you toggle between the original and the redacted views interactively. It reuses the span data from the shared core (`shared/confide_core.py`) — a thin renderer, no new detection logic.
It is therefore a **vault artifact**: same posture as the relationship-graph HTML.
`*.view.html` (and `*.map.json`), and a red **PRIVATE** banner sits at the top. Never share it, never commit it, never ship it.
PII values or redacted-text dumps.
renders offline and can never 404. Default detection layer is `regex` (no network, no models).
python3 skills/view/scripts/view.py ORIGINAL.txt
If a `<name>.map.json` sits next to the input (from **confide:anon**), it is picked up automatically so the view shows exactly that known PII; otherwise PII is detected with the local layers and a fresh reversible map is built in memory.
Options:
It writes `<name>.view.html` and ensures a sibling `.gitignore`.
`<mark class="pii TYPE" data-orig=… data-ph=…>`, **colored by type** (PERSON, DATE, EMAIL, …). Hover a span to see `original ↔ placeholder`.
1. Open the `<name>.view.html` locally in a browser to inspect the de-id. 2. Report the counts summary (types) — never paste PII. 3. Remind the user the file is **private/local** and must not be shared or committed.
The default `regex` layer always works offline. For Natasha (RU NER) or the local LLM layer, run **confide:setup** first; otherwise pass `--layers regex`.
~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…
Residual re-identification RISK CHECK on text you have ALREADY redacted (defensive, dual-use). Use when the user asks to "check…
Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own…