durchnull/privacy/extend

Claude Code and agent skill by durchnull/privacy

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Extends a project's privacy blocklist by one data type — at the user's request or after a hook or an observation has reported a candidate. Use for "add X to the blocklist", "this should be protected too", or when a privacy notice names a candidate type.

Install

npx vskill@latest install durchnull/privacy/extend

SKILL.md

The same SKILL.md was published earlier as durchnull/privacy/extend.

Extending the blocklist (extend)

Goal: add a data type cleanly to .claude/privacy/config.json — as a catalog type or as a custom entry with its own regex.

⛔ Never run the scripts yourself — guard.py/scan.py are reserved for the user (the CLI refuses LLM sessions, exit 3). Claude only edits the config file and suggests terminal commands.

Procedure

  1. Catalog first: Take the type IDs via Read from ${CLAUDE_PLUGIN_ROOT}/catalog/catalog.json

— does the type already exist? Then just add its ID to enabled (Edit on .claude/privacy/config.json). Done.

  1. Otherwise build a custom entry:

``json { "id": "short_english_slug", "label": "Human-readable label", "regex": "\\bPATTERN\\b", "mode": "block", "placeholder": "last4" } ``

  • placeholder: last4 (placeholder **** + last 4 characters) or

label (full replacement with [<LABEL> REMOVED], the label uppercased).

  • Optionally keywords + window if the pattern alone is too unspecific

(a match only counts near a keyword).

  1. Never write the plaintext into the config. The regex describes the

structure (e.g. H \d{3}-\d{6} HFA), not the concrete value. If the user states a concrete value, derive the structure from it and repeat the value itself only in masked form. If the value has no regex structure (names, individual numbers), recommend a fingerprint: the user runs python3 "${CLAUDE_PLUGIN_ROOT}/scripts/guard.py" fingerprint --label "…" --hint "…" themselves and enters the value concealed — only a salted hash is stored, yet the value is still recognized in any formatting (12/345/67890 as well as 1234567890). Do not pull the value into the chat for this.

  1. Test the regex — done by the user, only with synthetic examples:

Give the user the ready-made command: python3 "${CLAUDE_PLUGIN_ROOT}/scripts/guard.py" try "REGEX" "made-up example" Never suggest real values as test input.

  1. Self-test: Ask the user to run

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/guard.py" test (expected: still PASS).

  1. Offer: check existing files for the new type and clean them up

(skill privacy:audit).

Ongoing suggestions (behavioral rule)

Even without a hook report: if anything in documents, outputs, or user messages looks like an identifier worth protecting and is not covered by any active type (contract, customer, or case numbers, health data, …), proactively suggest adding it — briefly, with a masked example and a regex proposal. The user decides.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/durchnull/privacy/extend/badge)](https://verified-skill.com/skills/durchnull/privacy/extend)

Something wrong with this skill or its page? Tell us.